Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Quagga: Bugs

[Bug 335] zebra does not get IP of interface after interface name change

 

 

Quagga bugs RSS feed   Index | Next | Previous | View Threaded


bugzilla-daemon at allevil

Jan 17, 2007, 6:49 AM

Post #1 of 4 (1360 views)
Permalink
[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 [at] dishone changed:

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




------- Additional Comments From paul [at] dishone 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 [at] lists
http://lists.quagga.net/mailman/listinfo/quagga-bugs


bugzilla-daemon at allevil

Jan 17, 2007, 6:58 AM

Post #2 of 4 (1249 views)
Permalink
[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 [at] p6drad-teel 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 [at] lists
http://lists.quagga.net/mailman/listinfo/quagga-bugs


bugzilla-daemon at allevil

Jan 17, 2007, 7:28 AM

Post #3 of 4 (1246 views)
Permalink
[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 [at] alumni 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 [at] lists
http://lists.quagga.net/mailman/listinfo/quagga-bugs


bugzilla-daemon at allevil

Jan 24, 2007, 3:34 AM

Post #4 of 4 (1247 views)
Permalink
[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 [at] p6drad-teel 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 [at] lists
http://lists.quagga.net/mailman/listinfo/quagga-bugs

Quagga bugs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.