Results 1 to 3 of 3
Hello,
I am triying to create ip alias for bond interface, i didn t found the clair documentation.
One bond configured, i need create script to create ip alias or ...
- 09-28-2010 #1Just Joined!
- Join Date
- Sep 2010
- Posts
- 3
Create IP Alias for Bond
Hello,
I am triying to create ip alias for bond interface, i didn t found the clair documentation.
One bond configured, i need create script to create ip alias or delete it
i use this command to create
ip address add ${IPALIASPRD}/${NETMASK} broadcast ${BRDCAST} dev bond0 label ${LABEL}
and to delete it i use:
ip address delete ${IPALIASPRD}/${NETMASK} dev bond0
But my problem is i lost the communication with my server, with ping i lost the packet.
Any idea
ThanksLast edited by sou; 09-28-2010 at 08:23 PM.
- 09-29-2010 #2Just Joined!
- Join Date
- Nov 2006
- Posts
- 5
Not sure what you are doing there.
I found it much simpler to just create the alias file in /etc/sysconfig/network-scripts.
I create a file ifcfg-bond0:1
In it is something like this:
DEVICE=bond0:1
BOOTPROTO=none
IPADDR=10.0.0.220
NETMASK=255.255.255.0
BROADCAST=10.0.0.255
NETWORK=10.0.0.0
ONBOOT=yes
TYPE=Ethernet
Then you only need to use the command ifup bond0:1 to bring it up or ifdown bond0:1 to bring it down.
- 09-30-2010 #3Just Joined!
- Join Date
- Sep 2010
- Posts
- 3
I Explain my situation
I have a simple setup of 2 BD servers (with linux SUSE11) where the first server is the primary machine and the second the backup. I use HADR for data replication
Now I NEED a COMMON IP ADDRESS (or Master/unique IP address) for my two system. When the primary machine fails (or shutdown), the backup system will do the job. From the external world, client who connect to my BD will "connect to one address" or virtual IP and won't know if this is the primary system or the backup.
Thanks


Reply With Quote