Tom Chen
2010-08-25 18:07:44 UTC
Hello,
I just installed a recent version of Solaris Express, snv143. I noticed that somehow, it is difficult to manually setup ip address to a port that is not configured by default.
I used to use "ifconfig" to manually plumb and assign IP addresses, but it does not work on recent version of Solaris Express OS.
I tested on a Sun x86 server with 4 igb ports whose default mother board nic, igb0, has been set to 172.17.138.74. But when I try to setup any other none-default port, I always fail with "ifconfig: could not create address:Operation not supported" error. I encountered same issue with other company's network drivers. So, this is issue of recent version of Solaris Express OS.
It seems to me that the only way to setup IP address is through System->Administration->Network menu. I have not figured out any other easier way.
Can someone tell me how to setup IP address on newer Solaris Express OS?
Tom
# uname -a
SunOS fourier 5.11 snv_143 i86pc i386 i86pc Solaris
***@fourier:~# ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
igb0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 8
inet 172.17.138.74 netmask fffffe00 broadcast 172.17.139.255
ether 0:14:4f:e7:61:20
lo0: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu 8252 index 1
inet6 ::1/128
igb0: flags=20002004841<UP,RUNNING,MULTICAST,DHCP,IPv6> mtu 1500 index 8
inet6 fe80::214:4fff:fee7:6120/10
ether 0:14:4f:e7:61:20
***@fourier:~# ifconfig igb1 plumb 192.168.43.74 up
ifconfig: could not create address:Operation not supported
***@fourier:~# ifconfig qlcnic2 plumb 192.168.44.74 up
ifconfig: could not create address:Operation not supported
***@fourier:~# prtconf -D | grep igb
pci108e,0, instance #0 (driver name: igb)
pci108e,0, instance #1 (driver name: igb)
pci108e,0, instance #2 (driver name: igb)
pci108e,0, instance #3 (driver name: igb)
I just installed a recent version of Solaris Express, snv143. I noticed that somehow, it is difficult to manually setup ip address to a port that is not configured by default.
I used to use "ifconfig" to manually plumb and assign IP addresses, but it does not work on recent version of Solaris Express OS.
I tested on a Sun x86 server with 4 igb ports whose default mother board nic, igb0, has been set to 172.17.138.74. But when I try to setup any other none-default port, I always fail with "ifconfig: could not create address:Operation not supported" error. I encountered same issue with other company's network drivers. So, this is issue of recent version of Solaris Express OS.
It seems to me that the only way to setup IP address is through System->Administration->Network menu. I have not figured out any other easier way.
Can someone tell me how to setup IP address on newer Solaris Express OS?
Tom
# uname -a
SunOS fourier 5.11 snv_143 i86pc i386 i86pc Solaris
***@fourier:~# ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
igb0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 8
inet 172.17.138.74 netmask fffffe00 broadcast 172.17.139.255
ether 0:14:4f:e7:61:20
lo0: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu 8252 index 1
inet6 ::1/128
igb0: flags=20002004841<UP,RUNNING,MULTICAST,DHCP,IPv6> mtu 1500 index 8
inet6 fe80::214:4fff:fee7:6120/10
ether 0:14:4f:e7:61:20
***@fourier:~# ifconfig igb1 plumb 192.168.43.74 up
ifconfig: could not create address:Operation not supported
***@fourier:~# ifconfig qlcnic2 plumb 192.168.44.74 up
ifconfig: could not create address:Operation not supported
***@fourier:~# prtconf -D | grep igb
pci108e,0, instance #0 (driver name: igb)
pci108e,0, instance #1 (driver name: igb)
pci108e,0, instance #2 (driver name: igb)
pci108e,0, instance #3 (driver name: igb)
--
This message posted from opensolaris.org
This message posted from opensolaris.org