sadm.magnus.pp.ru Заметки крошки-админа

18 April 2008

Добавляем логический интерфейс (alias) в Solaris 10

Filed under: Компьютеры и интернет — Tags: , — Magnus @ 16:03
# ifconfig -au4
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
        inet 127.0.0.1 netmask ff000000
e1000g0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
        inet 192.168.0.10 netmask ffffff00 broadcast 192.168.0.255
        ether 0:4:23:e1:22:34
# cat /etc/hostname.e1000g0:1
192.168.0.11
# svcadm restart network/physical
# ifconfig -au4
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
        inet 127.0.0.1 netmask ff000000
e1000g0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
        inet 192.168.0.10 netmask ffffff00 broadcast 192.168.0.255
        ether 0:0:4:23:e1:22:34
e1000g0:1: flags=201000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
        inet 192.168.0.11 netmask ffffff00 broadcast 192.168.0.255
# ifconfig e1000g0:1 down unplumb
# ifconfig -a4
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
        inet 127.0.0.1 netmask ff000000
e1000g0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
        inet 192.168.0.10 netmask ffffff00 broadcast 192.168.0.255
        ether 0:0:4:23:e1:22:34

No Comments

No comments yet.

RSS feed for comments on this post.

Sorry, the comment form is closed at this time.

Powered by WordPress