-
Website
http://www.tech-recipes.com/ -
Original page
http://www.tech-recipes.com/rx/139/remove-a-virtual-interface-in-solaris/ -
Subscribe
All Comments -
Community
-
Top Commenters
-
davak
83 comments · 1 points
-
Web Design
3 comments · 1 points
-
danishbacker
9 comments · 1 points
-
flexinfo
11 comments · 1 points
-
Tonychelle
4 comments · 1 points
-
-
Popular Threads
-
Facebook: How To Get Only Status Updates on Your FB Home Page
1 week ago · 4 comments
-
Firefox: Enable Case Sensitive Searches When Using Find (Ctrl+F)
5 days ago · 1 comment
-
Windows 7: How To Disable Live Preview for Taskbar Thumbnails
2 weeks ago · 2 comments
-
Gmail: How to block a sender from your inbox
3 weeks ago · 3 comments
-
Our first iPhone game GreenThumb available in the App Store
3 weeks ago · 2 comments
-
Facebook: How To Get Only Status Updates on Your FB Home Page
so it would be wise to just bring it down instead of unplumbing.
To delete a logical interface, simply name the interface
specifying an address of 0, after ensuring that the inter-
face has been marked as "down". For example, the command:
ifconfig le0:1 0 down
will delete the logical interface le0:1.
The previous comment is correct that unplumbing a logical interface in Solaris will unplumb the physical interface, as plumbing is a "physical" matter.
ifconfig <physical_interface> removeif <logical_address>
for eg.:
$ ifconfig -a
lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
bge0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
inet 1.2.31.216 netmask fffff800 broadcast 1.2.31.255
bge0:1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
inet 1.2.31.24 netmask fffff800 broadcast 1.2.31.255
# ifconfig bge0 removeif 1.2.31.26
$ ifconfig -a
lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
bge0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
inet 1.2.31.216 netmask fffff800 broadcast 1.2.31.255