Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a Linux network Bonding interface for two Ethernet interfaces (eth0 and eth1)

$ cat /etc/sysconfig/network-scripts/ifcfg-bond0   

How i can add another IPADDR to this bonding Interface ?

share|improve this question

What you want is called an Interface Alias.

Based on the files you mention, I think you're on Fedora, Red Hat or similar.

Their Interface Configuration Files Reference Guide suggest you want a new file called /etc/sysconfig/network-scripts/ifcfg-bond0:0 containing


I assume you also need the other entries, e.g.

share|improve this answer
Thank Mikel for your help i am using Ret Hat shall i add only these two lines you mentioned in the new file ??? – bob Jul 25 '12 at 14:27
I'm guessing you also want to specify NETMASK and GATEWAY. And the docs say DHCP is not supported, so you may need BOOTPROTO too. – Mikel Jul 25 '12 at 14:29
Do i need to restart anything after creating this file ? – bob Jul 25 '12 at 14:30
I'd try ifup bond0:0 first. If that doesn't work, try /etc/init.d/network restart. – Mikel Jul 25 '12 at 14:32
thanks for your help and support – bob Jul 25 '12 at 14:34

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.