JavaScript is required to for searching.
Omitir Vínculos de navegación
Salir de la Vista de impresión
Conexión de sistemas mediante la configuración de redes fijas en Oracle Solaris 11.1     Oracle Solaris 11.1 Information Library (Español)
search filter icon
search icon

Información del documento

Prefacio

1.  Descripción general de la configuración de red fija

2.  Configuración de un sistema para la red

3.  Cómo trabajar con enlaces de datos

4.  Trabajo con interfaces IP

5.  Configuración de redes inalámbricas en equipos portátiles que ejecutan Oracle Solaris

A.  Mapa de comparación: comandos ifconfig e ipadm

B.  Mapa de comparación: comandos ndd y ipadm

Índice

Apéndice B

Mapa de comparación: comandos ndd y ipadm

El comando ipadm ha reemplazado el comando ndd para la personalización de los valores ajustables o parámetros de red. Aunque el comando ndd aún funciona en Oracle Solaris 11, el comando ipadm es la herramienta preferida para la personalización de los parámetros de red. Sin embargo, algunas opciones de ndd no tienen subcomandos ipadm equivalentes. En la siguiente tabla se muestran las opciones de comando seleccionadas del comando ndd y sus equivalentes en el comando ipadm.


Nota - En esta tabla no se ofrece una lista completa de las opciones de ipadm. Para obtener una lista completa, consulte la página del comando man ipadm(1M).


Tabla B-1 Asignación de sintaxis entre los comandos ndd e ipadm: recuperación de propiedades

Comando ndd
Comando ipadm
bash-3.2# ndd -get /dev/ip ?
ip_def_ttl         (read and write)
ip6_def_hops       (read and write)
ip_forward_directed_broadcasts
                   (read and write)
ip_forwarding      (read and write)
...
...

bash-3.2# ndd -get /dev/ip \
ip_def_ttl
100
bash-3.2# ndd -get /dev/ip \
ip6_def_hops
255
bash-3.2# ndd -get /dev/tcp ?
tcp_cwnd_max       (read and write)
tcp_strong_iss     (read and write)
tcp_time_wait_interval
                   (read and write)
tcp_tstamp_always  (read and write)
tcp_tstamp_if_wscale
                   (read and write)
...
...

bash-3.2# ndd -get /dev/tcp ecn
1

bash-3.2# ndd -get /dev/tcp sack
2
bash-3.2# ipadm show-prop ip
PROTO PROPERTY     PERM   CURRENT  PERSISTENT   DEFAULT   POSSIBLE
ipv4  forwarding   rw     off      --           off       on,off
ipv4  ttl          rw     255      --           255       1-255
ipv6  forwarding   rw     off      --           off       on,off
ipv6  hoplimit     rw     255      --           255       1-255
...


bash-3.2# ipadm show-prop -p ttl,hoplimit ip
PROTO PROPERTY   PERM   CURRENT   PERSISTENT   DEFAULT   POSSIBLE
ipv4  ttl        rw     255       --           255       1-255
ipv6  hoplimit   rw     255       --           255       1-255

bash-3.2# ipadm show-prop tcp
PROTO PROPERTY        PERM CURRENT PERSISTENT DEFAULT    POSSIBLE
tcp   ecn             rw   passive --         passive    never,passive,
                                                         active
tcp   extra_          rw   2049    2049,4045  2049,4045  1-65535
      priv_ports
tcp   largest_        rw   65535   --         65535      1024-65535
      anon_port
tcp   recv_           rw   128000  --         128000     2048-1073741824
      maxbuf
tcp   sack            rw   active  --         active     never,passive,
                                                         active
tcp   send_           rw   49152   --         49152      4096-1073741824
      maxbuf
tcp   smallest_       rw   32768   --         32768      1024-65535
      anon_port
tcp   smallest_       rw   1024    --         1024       1024-32768
      nonpriv_port
...
...
...
bash-3.2# ipadm show-prop -p ecn,sack tcp
PROTO PROPERTY PERM CURRENT PERSISTENT DEFAULT  POSSIBLE
tcp   ecn      rw   passive --         passive  never,passive,active
tcp   sack     rw   active  --         active   never,passive,active

Tabla B-2 Asignación de sintaxis entre los comandos ndd e ipadm: establecimiento de propiedades

Comando ndd
Comando ipadm
bash-3.2# ndd -set /dev/ip \
ip_def_ttl
64
bash-3.2# ndd -get /dev/ip \
ip_def_ttl
64
bash-3.2# ipadm set-prop -p ttl=64 ipv4
bash-3.2# ipadm show-prop -p ttl ip
PROTO PROPERTY FAMILY PERM VALUE DEFAULT POSSIBLE
ip    ttl      inet   rw   64    255     1-255
PROTO   PROPERTY   PERM   CURRENT   PERSISTENT   DEFAULT   POSSIBLE
ipv4    ttl        rw     64        64           255       1-255
bash-3.2# ipadm reset-prop -p ttl ip
bash-3.2# ipadm show-prop -p ttl ip
PROTO   PROPERTY   PERM   CURRENT   PERSISTENT   DEFAULT   POSSIBLE
ipv4    ttl        rw     255       255          255       1-255