- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Virtual IP
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
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
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
06-26-2008 07:45 PM
06-26-2008 07:45 PM
Virtual IP
I am planning to add virtual IP on our production server. Just to be sure my procedure will not affect the current production, can anyone provide me the "correct and safe" procedure in adding and deleting virtual IP on Linux?
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2008 07:52 PM
06-26-2008 07:52 PM
Re: Virtual IP
If so, then you can use:
ifconfig eth0:1
ifconfig eth0:1 192.168.0.1 255.255.255.0
To disable the interface
ifconfig eth0:1 down
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2008 08:45 PM
06-26-2008 08:45 PM
Re: Virtual IP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2008 11:04 PM
06-26-2008 11:04 PM
Re: Virtual IP
DEVICE=eth0:0 (or whatever you want)
BOOTPROTO=none
ONBOOT=yes
IPADDR=x.x.x.x (your ip address)
NETMASK=x.x.x.x (your net mask)
now this is permanent. then enter the command
#ifup eth0:0
#ping <0 ip="" address="">
or if you wanna make sure you can rebbot the server.
it will not take any effect to any other service.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2008 11:34 PM
06-26-2008 11:34 PM
Re: Virtual IP
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2008 12:26 AM
06-27-2008 12:26 AM
Re: Virtual IP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2008 12:55 AM
06-27-2008 12:55 AM
Re: Virtual IP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2008 12:56 AM
06-27-2008 12:56 AM