分类:
2010-03-23 15:45:49
1) 配置eeprom
2) 修改网卡配置文件
[root@vxvm56 /]#>more /etc/hostname.e1000g1
192.168.1.1 netmask + broadcast + group AA up
[root@vxvm56 /]#>more /etc/hostname.e1000g2
group AA up
3) reboot
测试
[root@vxvm56 /]#dladm show-dev
e1000g0 link: up speed: 1000 Mbps duplex: full
e1000g1 link: up speed: 100 Mbps duplex: full
e1000g2 link: up speed: 100 Mbps duplex: half
e1000g3 link: unknown speed: 0 Mbps duplex: half
[root@vxvm56 /]#>cat ifconfig_e1000g1_up.log
lo0: flags=2001000849
inet 127.0.0.1 netmask ff000000
e1000g0: flags=1000843
inet 10.198.91.56 netmask fffff800 broadcast 10.198.95.255
ether 0:4:23:d2:b:da
e1000g1: flags=1000843
inet 192.168.1.1 netmask ffffff00 broadcast 192.168.1.255
groupname AA
ether 0:4:23:d2:b:db
e1000g2: flags=1000843
inet 0.0.0.0 netmask ff000000 broadcast 0.255.255.255
groupname AA
ether 0:14:22:15:ba:ba
断开e1000g1
[root@vxvm56 /]#>more ifconfig_e1000g1_down.log
e1000g0 link: up speed: 1000 Mbps duplex: full
e1000g1 link: down speed: 0 Mbps duplex: half
e1000g2 link: up speed: 100 Mbps duplex: half
e1000g3 link: unknown speed: 0 Mbps duplex: half
lo0: flags=2001000849
inet 127.0.0.1 netmask ff000000
e1000g0: flags=1000843
inet 10.198.91.56 netmask fffff800 broadcast 10.198.95.255
ether 0:4:23:d2:b:da
e1000g1: flags=19000802
inet 0.0.0.0 netmask 0
groupname AA
ether 0:4:23:d2:b:db
e1000g2: flags=1000843
inet 0.0.0.0 netmask ff000000 broadcast 0.255.255.255
groupname AA
ether 0:14:22:15:ba:ba
e1000g2:1: flags=1000843
inet 192.168.1.1 netmask ffffff00 broadcast 192.168.1.255
重新接上e1000g1
[root@vxvm56 /]#> ifconfig –a
lo0: flags=2001000849
inet 127.0.0.1 netmask ff000000
e1000g0: flags=1000843
inet 10.198.91.56 netmask fffff800 broadcast 10.198.95.255
ether 0:4:23:d2:b:da
e1000g1: flags=1000843
inet 192.168.1.1 netmask ffffff00 broadcast 192.168.1.255
groupname AA
ether 0:4:23:d2:b:db
e1000g2: flags=1000843
inet 0.0.0.0 netmask ff000000 broadcast 0.255.255.255
groupname AA
ether 0:14:22:15:ba:ba