List all Solaris NICs

From Brandonhutchinson.com

Revision as of 17:30, 30 October 2007 by Hutch (Talk | contribs)
(diff) ←Older revision | Current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search

On a Solaris system, it is possible that there are more network interfaces than are currently available ("plumbed"). By plumbing all network interfaces, you will make these interfaces available for use.

# ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
        inet 127.0.0.1 netmask ff000000 
fjgi161000: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
        inet 10.216.80.19 netmask fffff000 broadcast 10.216.95.255
        ether 0:0:e:25:29:cf 
fjgi325000: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
        inet 10.216.0.76 netmask fffff000 broadcast 10.216.15.255
        ether 0:0:e:25:29:cf 
fjgi825000: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 4
        inet 10.216.16.21 netmask fffff000 broadcast 10.216.31.255
        ether 0:0:e:25:29:cf 
# ifconfig -a plumb
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
        inet 127.0.0.1 netmask ff000000 
fjgi0: flags=1000842<BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 6
        inet 0.0.0.0 netmask 0 
        ether 0:0:e:25:29:cf 
fjgi161000: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
        inet 10.216.80.19 netmask fffff000 broadcast 10.216.95.255
        ether 0:0:e:25:29:cf 
fjgi325000: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
        inet 10.216.0.76 netmask fffff000 broadcast 10.216.15.255
        ether 0:0:e:25:29:cf 
fjgi825000: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 4
        inet 10.216.16.21 netmask fffff000 broadcast 10.216.31.255
        ether 0:0:e:25:29:cf 
hme0: flags=1000802<BROADCAST,MULTICAST,IPv4> mtu 1500 index 5
        inet 0.0.0.0 netmask 0 
        ether 0:0:e:25:29:cf 

Notice how fjgi0 and hme0 were added to the list of interfaces above.

Personal tools