<br><font size=2 color=#000080 face="Arial">Hi,</font>
<br>
<br><font size=2 color=#000080 face="Arial">I am facing issue with secondary
ip addresses in 2.6.14 kernel after setting the proc entry &#8220;promote_secondaries&#8221;
to 1.</font>
<br>
<br><font size=2 color=#000080 face="Arial">Code to set proc entry &#8220;promote_secondaries.</font>
<br>
<br><font size=2 color=#000080 face="Arial">net.ipv4.conf.default.promote_secondaries
= 1</font>
<br>
<br><font size=2 color=#000080 face="Arial">cat /proc/sys/net/ipv4/conf/bond1/promote_secondaries</font>
<br><font size=2 color=#000080 face="Arial">1</font>
<br>
<br><font size=2 color=#000080 face="Arial"><b>Problem statement:- </b></font>
<br><font size=2 color=#000080 face="Arial">Secondary ip addresses become
non functional after deleting the primary ip address. Even self ping to
secondary ip address does not work. </font>
<br><font size=2 color=#000080 face="Arial">I can not see this issue with
secondary ip address in 2.6.27 kernel. </font>
<br>
<br><font size=2 color=#000080 face="Arial"><b>Query: -</b></font>
<br><font size=2 color=#000080 face="Arial">It is a known issue in 2.6.14
kernel? Is there any configuration options that needs to be set for secondary
ip addresses to be functional in 2.6.14? </font>
<br>
<br>
<br><font size=2 color=#000080 face="Courier New"><b>Add IP address on
bond1 interface:- </b></font>
<br>
<br><font size=1 color=#000080 face="Courier New">ip add add 10.1.2.3/24
dev bond1</font>
<br><font size=1 color=#000080 face="Courier New">ip add add 10.1.2.4/24
dev bond1</font>
<br><font size=1 color=#000080 face="Courier New">ip add add 10.1.2.5/24
dev bond1</font>
<br><font size=1 color=#000080 face="Courier New">ip add add 10.1.2.6/24
dev bond1</font>
<br><font size=1 color=#000080 face="Courier New">ip add add 10.1.2.7/24
dev bond1</font>
<br>
<br>
<br><font size=1 color=#000080 face="Courier New">ip add show bond1</font>
<br><font size=1 color=#000080 face="Courier New">12: bond1: &lt;BROADCAST,MULTICAST,MASTER,UP&gt;
mtu 1500 qdisc noqueue</font>
<br><font size=1 color=#000080 face="Courier New">&nbsp; &nbsp; link/ether
00:80:f9:8b:b6:f8 brd ff:ff:ff:ff:ff:ff</font>
<br><font size=1 color=#000080 face="Courier New">&nbsp; &nbsp; inet 172.25.0.3/16
brd 172.25.255.255 scope global bond1</font>
<br><font size=1 color=#000080 face="Courier New">&nbsp; &nbsp; inet 10.1.2.3/24
scope global bond1</font>
<br><font size=1 color=#000080 face="Courier New">&nbsp; &nbsp; inet 10.1.2.4/24
scope global secondary bond1</font>
<br><font size=1 color=#000080 face="Courier New">&nbsp; &nbsp; inet 10.1.2.5/24
scope global secondary bond1</font>
<br><font size=1 color=#000080 face="Courier New">&nbsp; &nbsp; inet 10.1.2.6/24
scope global secondary bond1</font>
<br><font size=1 color=#000080 face="Courier New">&nbsp; &nbsp; inet 10.1.2.7/24
scope global secondary bond1</font>
<br><font size=1 color=#000080 face="Courier New">&nbsp; &nbsp; inet6 fe80::200:ff:fe00:0/64
scope link</font>
<br><font size=1 color=#000080 face="Courier New">&nbsp; &nbsp; &nbsp;
&nbsp;valid_lft forever preferred_lft forever</font>
<br>
<br>
<br><font size=2 color=#000080 face="Courier New"><b>Delete the primary
IP address:</b></font>
<br><font size=1 color=#000080 face="Courier New">&nbsp;ip add delete 10.1.2.3/24
dev bond1</font>
<br><font size=1 color=#000080 face="Courier New">&nbsp;ip add show bond1</font>
<br><font size=1 color=#000080 face="Courier New">12: bond1: &lt;BROADCAST,MULTICAST,MASTER,UP&gt;
mtu 1500 qdisc noqueue</font>
<br><font size=1 color=#000080 face="Courier New">&nbsp; &nbsp; link/ether
00:80:f9:8b:b6:f8 brd ff:ff:ff:ff:ff:ff</font>
<br><font size=1 color=#000080 face="Courier New">&nbsp; &nbsp; inet 172.25.0.3/16
brd 172.25.255.255 scope global bond1</font>
<br><font size=1 color=#000080 face="Courier New">&nbsp; &nbsp; inet 10.1.2.4/24
scope global bond1</font>
<br><font size=1 color=#000080 face="Courier New">&nbsp; &nbsp; inet 10.1.2.5/24
scope global secondary bond1</font>
<br><font size=1 color=#000080 face="Courier New">&nbsp; &nbsp; inet 10.1.2.6/24
scope global secondary bond1</font>
<br><font size=1 color=#000080 face="Courier New">&nbsp; &nbsp; inet 10.1.2.7/24
scope global secondary bond1</font>
<br><font size=1 color=#000080 face="Courier New">&nbsp; &nbsp; inet6 fe80::200:ff:fe00:0/64
scope link</font>
<br><font size=1 color=#000080 face="Courier New">&nbsp; &nbsp; &nbsp;
&nbsp;valid_lft forever preferred_lft forever</font>
<br>
<br><font size=2 color=#000080 face="Courier New"><b>Ping output: </b></font>
<br><font size=1 color=#000080 face="Courier New">ping 10.1.2.4</font>
<br><font size=1 color=#000080 face="Courier New">PING 10.1.2.4 (10.1.2.4)
56(84) bytes of data.</font>
<br><font size=1 color=#000080 face="Courier New"><b>64 bytes from 10.1.2.4:
icmp_seq=1 ttl=64 time=0.033 ms</b></font>
<br><font size=1 color=#000080 face="Courier New"><b>64 bytes from 10.1.2.4:
icmp_seq=2 ttl=64 time=0.026 ms</b></font>
<br>
<br><font size=1 color=#000080 face="Courier New">--- 10.1.2.4 ping statistics
---</font>
<br><font size=1 color=#000080 face="Courier New">2 packets transmitted,
2 received, 0% packet loss, time 1000ms</font>
<br><font size=1 color=#000080 face="Courier New">rtt min/avg/max/mdev
= 0.026/0.029/0.033/0.006 ms</font>
<br>
<br>
<br><font size=1 color=#000080 face="Courier New">Rest of the secondary
ip addresses are not pingable. </font>
<br>
<br>
<br><font size=1 color=#000080 face="Courier New">ping 10.1.2.5</font>
<br><font size=1 color=#000080 face="Courier New">PING 10.1.2.5 (10.1.2.5)
56(84) bytes of data.</font>
<br><font size=1 color=#000080 face="Courier New">From 10.1.2.4 icmp_seq=1
Destination Host Unreachable</font>
<br><font size=1 color=#000080 face="Courier New">From 10.1.2.4 icmp_seq=2
Destination Host Unreachable</font>
<br>
<br><font size=1 color=#000080 face="Courier New">--- 10.1.2.5 ping statistics
---</font>
<br><font size=1 color=#000080 face="Courier New">4 packets transmitted,
0 received, +2 errors, 100% packet loss, time 3000ms</font>
<br><font size=1 color=#000080 face="Courier New">, pipe 2</font>
<br>
<br><font size=1 color=#000080 face="Courier New">ping 10.1.2.6</font>
<br><font size=1 color=#000080 face="Courier New">PING 10.1.2.6 (10.1.2.6)
56(84) bytes of data.</font>
<br><font size=1 color=#000080 face="Courier New">From 10.1.2.4 icmp_seq=1
Destination Host Unreachable</font>
<br><font size=1 color=#000080 face="Courier New">From 10.1.2.4 icmp_seq=2
Destination Host Unreachable</font>
<br><font size=1 color=#000080 face="Courier New">From 10.1.2.4 icmp_seq=3
Destination Host Unreachable</font>
<br>
<br><font size=1 color=#000080 face="Courier New">--- 10.1.2.6 ping statistics
---</font>
<br><font size=1 color=#000080 face="Courier New">4 packets transmitted,
0 received, +3 errors, 100% packet loss, time 3002ms</font>
<br><font size=1 color=#000080 face="Courier New">, pipe 3</font>
<br>
<br>
<br><font size=1 color=#000080 face="Courier New">ping 10.1.2.7</font>
<br><font size=1 color=#000080 face="Courier New">PING 10.1.2.7 (10.1.2.7)
56(84) bytes of data.</font>
<br><font size=1 color=#000080 face="Courier New"><b>From 10.1.2.4 icmp_seq=1
Destination Host Unreachable</b></font>
<br><font size=1 color=#000080 face="Courier New"><b>From 10.1.2.4 icmp_seq=2
Destination Host Unreachable</b></font>
<br><font size=1 color=#000080 face="Courier New">From 10.1.2.4 icmp_seq=3
Destination Host Unreachable</font>
<br><font size=1 color=#000080 face="Courier New">From 10.1.2.4 icmp_seq=4
Destination Host Unreachable</font>
<br>
<br><font size=1 color=#000080 face="Courier New">--- 10.1.2.7 ping statistics
---</font>
<br><font size=1 color=#000080 face="Courier New">5 packets transmitted,
0 received, +4 errors, 100% packet loss, time 3999ms</font>
<br><font size=1 color=#000080 face="Courier New">, pipe 4</font>
<br>
<br><font size=2 color=#000080 face="Arial">Thanks and Regards,</font>
<br><font size=2 color=#000080 face="Arial">Harshada Senad</font><pre style="white-space:normal">=====-----=====-----=====<br>Notice: The information contained in this e-mail<br>message and/or attachments to it may contain <br>confidential or privileged information. If you are <br>not the intended recipient, any dissemination, use, <br>review, distribution, printing or copying of the <br>information contained in this e-mail message <br>and/or attachments to it are strictly prohibited. If <br>you have received this communication in error, <br>please notify us by reply e-mail or telephone and <br>immediately and permanently delete the message <br>and any attachments. Thank you<br><br><br></pre>