新安装的solaris 系统,发现只有环回网卡:
#ifconfig -a
lo0: flags=2001000849mtu 9232 index 1
inet 127.0.0.1 netmask ff000000
通过dladm 查看网卡:
#dladm show-dev
e1000g0 link: up speed: 1000 Mbps duplex: full
e1000g0 link: up speed: 1000 Mbps duplex: full
激活网卡并配置IP:
#ifconfig e1000g0 plumb up
#ifconfig e1000g1 plumb up
#ifconfig e1000g0 192.168.20.204 netmask 255.255.255.0
停掉网卡:
#ifconfig e1000g0 unplumb down
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/26715932/viewspace-730919/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/26715932/viewspace-730919/