Mailing List Archive

[Bug 335] zebra does not get IP of interface after interface name change
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug
report.

http://bugzilla.quagga.net/show_bug.cgi?id=335


paul@dishone.st changed:

What |Removed |Added
----------------------------------------------------------------------------
Priority|Very High |Medium




------- Additional Comments From paul@dishone.st 2007-01-17 14:49 -------
That code wasn't actually intended to cope with renames while the link is up.
The supported way is to rename the interface while it is down, then bring it up.
(this means, if the iface was already UP, you need: DOWN, <rename>, UP).

Should be fixed though, yes.



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
_______________________________________________
Quagga-bugs mailing list
Quagga-bugs@lists.quagga.net
http://lists.quagga.net/mailman/listinfo/quagga-bugs
[Bug 335] zebra does not get IP of interface after interface name change [ In reply to ]
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug
report.

http://bugzilla.quagga.net/show_bug.cgi?id=335





------- Additional Comments From windo@p6drad-teel.net 2007-01-17 14:58 -------
if you look at the commands executed, the interface is in fact, brought down,
renamed and brought back up (form the OS, not inside zebra though).



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
_______________________________________________
Quagga-bugs mailing list
Quagga-bugs@lists.quagga.net
http://lists.quagga.net/mailman/listinfo/quagga-bugs
[Bug 335] zebra does not get IP of interface after interface name change [ In reply to ]
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug
report.

http://bugzilla.quagga.net/show_bug.cgi?id=335





------- Additional Comments From ajschorr@alumni.princeton.edu 2007-01-17 15:28 -------
It looks like the renaming detection logic is working correctly in
rt_netlink.c:set_ifindex.
But the problem is that it just calls if_delete_update on the old interface,
which tears down all the connected addresses on the old interface.
Conceptually, I guess we have 2 choices: either recreate all those connected
addresses on the new interface (i.e. continue with the existing approach
of implementing a rename as a deletion of the old interface and a
creation of a new interface), or try to add more basic support for
renaming an interface. Sticking with the current approach, I guess
we just need to add all the old connected addresses to the new interface.
The problem is that tearing down the old interface removes all this
address info. Would it be OK to add the addresses to the new interface
before tearing down the old interface? Given that the old interface
must be 'down' at that moment (since we don't really support renaming
an interface that is up), perhaps that would be OK?



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
_______________________________________________
Quagga-bugs mailing list
Quagga-bugs@lists.quagga.net
http://lists.quagga.net/mailman/listinfo/quagga-bugs
[Bug 335] zebra does not get IP of interface after interface name change [ In reply to ]
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug
report.

http://bugzilla.quagga.net/show_bug.cgi?id=335





------- Additional Comments From windo@p6drad-teel.net 2007-01-24 11:34 -------
I agree with your line of thought. The interface has to be down to be renamed,
so the addresses should be safe to transfer to the new interface.



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
_______________________________________________
Quagga-bugs mailing list
Quagga-bugs@lists.quagga.net
http://lists.quagga.net/mailman/listinfo/quagga-bugs