- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- how to config NICs with only one IP or even no 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-28-2003 12:38 AM
06-28-2003 12:38 AM
I wonder how to configure that.
thanks in advance
frederick van targero
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2003 12:57 AM
06-28-2003 12:57 AM
SolutionYour question seems confusing to me.
Normally, two NICs cannot be configured the same IP.
There is only one case where this is permitted : when using the "bonding" driver.
Bonding is used to create an aggregate between 2 or several NICs. This adds the following properties : failover, load balancing and bandwidth increase.
To configure bonding, stop the network, then edit the following configuration files :
/etc/sysconfig/network-scripts/ifcfg-eth0 :
DEVICE=eth0
USERCTL=no
ONBOOT=yes
MASTER=bond0
SLAVE=yes
BOOTPROTO=none
/etc/sysconfig/network-scripts/ifcfg-eth1 :
DEVICE=eth1
USERCTL=no
ONBOOT=yes
BOOTPROTO=none
SLAVE=yes
MASTER=bond0
/etc/sysconfig/network-scripts/ifcfg-bond0 :
DEVICE=bond0
USERCTL=no
ONBOOT=yes
BOOTPROTO=none
IPADDR=...
NETMASK=...
NETWORK=...
BROADCAST=...
GATEWAY=...
/etc/modules.conf :
alias bond0 bonding
Restart the network, then type "/sbin/ifconfig -a". You will find that both eth0 and eth1 have the same IP address.
Good luck.
Kodjo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2003 01:07 AM
06-28-2003 01:07 AM
Re: how to config NICs with only one IP or even no IP
yeah, what I seem some guys config the linux as "transparent mode", it is bonding done? however, I noticed they never need to restart the system?
regards,
Frederick van targero
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2003 01:48 AM
06-28-2003 01:48 AM
Re: how to config NICs with only one IP or even no IP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2003 05:18 AM
06-28-2003 05:18 AM
Re: how to config NICs with only one IP or even no IP
For restart the network you don't need to
do restart to the computer all you need
is to restart the NIC you do it by:
ifdown eth0
change what you want in configuration
ifup eth0
And you have the changes without restart.
Caesar