- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to remove the virtual IP from the LAN ?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-06-2004 09:17 PM
тАО12-06-2004 09:17 PM
I have used "#ifconfig lan1:1 10.1.1.14" added a virtual IP to the LAN. I activated the virtual IP then working OK.
How to remove the virtual IP from the LAN by command ?
I have try "#route delete 10.1.1.14" but can't remove its.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-06-2004 09:25 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-06-2004 09:26 PM
тАО12-06-2004 09:26 PM
Re: How to remove the virtual IP from the LAN ?
reboot? ;-)
or "ifconfig lan1:1 down" will at least disable it.
regards,
Thierry.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-06-2004 09:27 PM
тАО12-06-2004 09:27 PM
Re: How to remove the virtual IP from the LAN ?
edit /etc/rc.config.d/netconf
Remove or comment all the lines that correspond to
INTERFACE_NAME[X]="lan1"
Do a :
# /sbin/init.d/net stop
# /sbin/init.d/net start
Stf ;-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-06-2004 09:52 PM
тАО12-06-2004 09:52 PM
Re: How to remove the virtual IP from the LAN ?
I used ifconfig to add-in the IP bind it to lan1.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-06-2004 10:11 PM
тАО12-06-2004 10:11 PM
Re: How to remove the virtual IP from the LAN ?
man ifconfig in it's unplumb option says:
" Tear down the Streams plumbing for
a primary interface name. (See
the Interface Naming subsection
given below.) Secondary interface
does not require "plumbing". A
secondary IPv4 interface can be
removed by assigning an IP address
of 0.0.0.0 to it. Remove a
secondary IPv6 interface by
assigning an IP address of :: to
it. "
And in the next para:
"To disable communication through a specific IP address on an
autoconfigured secondary interface, that secondary interface should be
marked down, not removed or overwritten with a different IP address.
If that interface is removed or overwritten, the host will reconfigure
another secondary interface with the same IP address when it receives
the next router advertisement. Alternatively, the router can be
configured to stop advertising the prefix that corresponds to the
offending IP address."
So the two possible ways of doing it is:
#ifconfig lan0:2 down
OR
#ifconfig lan0:2 0.0.0.0
Hope that clarifies.
Regards,