Configurando e trocando IP na platafoma Solaris
Dica publicada em Linux / Introdução
Configurando e trocando IP na platafoma Solaris
Listar todas as interfaces configuradas:
# ifconfig -a
Configure a interface no sistema operacional:
# ifconfig [interface] [ip] netmask [mascara em decimal] broadcast + up
Caso deseje apenas alterar o IP de alguma interface existente, siga os seguintes passos:
1. Baixe a interface:
# ifconfig [interface] down
2. Descarregue a interface do sistema operacional:
# ifconfig [interface] unplumb
3. Carregue a interface do sistema operacional:
# ifconfig [interface] plumb
4. Configure a interface no sistema operacional:
# ifconfig [interface] [ip] netmask [mascara em decimal] broadcast + up
# ifconfig -a
Configure a interface no sistema operacional:
# ifconfig [interface] [ip] netmask [mascara em decimal] broadcast + up
Caso deseje apenas alterar o IP de alguma interface existente, siga os seguintes passos:
1. Baixe a interface:
# ifconfig [interface] down
2. Descarregue a interface do sistema operacional:
# ifconfig [interface] unplumb
3. Carregue a interface do sistema operacional:
# ifconfig [interface] plumb
4. Configure a interface no sistema operacional:
# ifconfig [interface] [ip] netmask [mascara em decimal] broadcast + up