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=413
Summary: Removing an IP address does not remove associated route
Product: Quagga
Version: 0.99.9
Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Medium
Component: ospfd
AssignedTo: maintainers@quagga.net
ReportedBy: quagga@linuxace.com
The simple act of:
int lo
ip address 1.1.1.1/32
then removing same
int lo
no ip address 1.1.1.1/32
will NOT remove the associated route from the zebra routing table (although it
does remove it from the kernel).
Debug from adding IP address to lo:
2007/10/10 17:23:36 ZEBRA: netlink_talk: netlink-cmd type RTM_NEWADDR(20), seq=6
2007/10/10 17:23:36 ZEBRA: netlink_parse_info: netlink-cmd ACK:
type=RTM_NEWADDR(20), seq=6, pid=0
2007/10/10 17:23:36 ZEBRA: MESSAGE: ZEBRA_INTERFACE_ADDRESS_ADD 1.1.1.1/32 on lo
2007/10/10 17:23:36 OSPF: Zebra rcvd: router id update 1.1.1.1/32
2007/10/10 17:23:36 OSPF: Router-ID[OLD:X.X.91.64]: Update
2007/10/10 17:23:36 OSPF: Router-ID[NEW:X.X.91.64]: Update
2007/10/10 17:23:36 ZEBRA: rib_add_ipv4: calling rib_addnode (0x800733b8,
0x80076028)
2007/10/10 17:23:36 OSPF: Zebra: interface lo address add 1.1.1.1/32
2007/10/10 17:23:36 ZEBRA: rib_link: 1.1.1.1/32: rn 0x800733b8, rib 0x80076028
2007/10/10 17:23:36 ZEBRA: netlink_parse_info: netlink-listen type
RTM_NEWADDR(20), seq=6, pid=4294963196
2007/10/10 17:23:36 ZEBRA: netlink_parse_info: netlink-cmd packet comes from
netlink-listen
2007/10/10 17:23:36 ZEBRA: netlink_parse_info: netlink-listen type
RTM_NEWROUTE(24), seq=0, pid=0
2007/10/10 17:23:36 ZEBRA: RTM_NEWROUTE ipv4 multicast proto kernel
2007/10/10 17:23:36 ZEBRA: rib_process: 1.1.1.1/32: Adding route, select 0x80076028
2007/10/10 17:23:36 ZEBRA: rib_process: 0.0.0.0/0: Updating existing route,
select 0x80073170, fib 0x80073170
2007/10/10 17:23:36 OSPF: Redistribute[connected]: 1.1.1.1/32 external info created.
2007/10/10 17:23:36 OSPF: LSA[Type5]: Originate AS-external-LSA instance
2007/10/10 17:23:36 ZEBRA: rib_process: 127.0.0.0/8: Updating existing route,
select 0x80072e18, fib 0x80072e18
2007/10/10 17:23:36 OSPF: LSA[Refresh]: lsa 1.1.1.1 with age 0 added to index 153
2007/10/10 17:23:36 ZEBRA: rib_process: 169.254.0.0/16: Updating existing route,
select 0x800730e8, fib 0x800730e8
2007/10/10 17:23:36 OSPF: LSA[Refresh:1.1.1.1]: ospf_refresher_register_lsa():
setting refresh_list on lsa 0x800767f8 (slod 153)
2007/10/10 17:23:36 OSPF: LSA[Type5,id(1.1.1.1),ar(X.X.91.64)]: Install
AS-external-LSA
2007/10/10 17:23:36 ZEBRA: rib_process: X.X.91.0/24: Updating existing route,
select 0x80072ba8, fib 0x80072ba8
2007/10/10 17:23:36 OSPF: LSA[Type5:1.1.1.1]: Originate AS-external-LSA 0x800767f8
2007/10/10 17:23:36 OSPF: LSA Header
2007/10/10 17:23:36 OSPF: LS age 0
2007/10/10 17:23:36 OSPF: Options 2 (*|-|-|-|-|-|E|*)
2007/10/10 17:23:36 OSPF: LS type 5 (AS-external-LSA)
2007/10/10 17:23:36 OSPF: Link State ID 1.1.1.1
2007/10/10 17:23:36 OSPF: Advertising Router X.X.91.64
2007/10/10 17:23:36 OSPF: LS sequence number 0x80000001
2007/10/10 17:23:36 OSPF: LS checksum 0x5888
2007/10/10 17:23:36 OSPF: length 36
Verify route exists:
localhost.localdomain# sh ip ro 1.1.1.1
Routing entry for 1.1.1.1/32
Known via "connected", distance 0, metric 1, best
* directly connected, lo
Then delete ip address:
2007/10/10 17:24:03 ZEBRA: netlink_talk: netlink-cmd type RTM_DELADDR(21), seq=7
2007/10/10 17:24:03 ZEBRA: netlink_parse_info: netlink-cmd ACK:
type=RTM_DELADDR(21), seq=7, pid=0
2007/10/10 17:24:03 ZEBRA: netlink_parse_info: netlink-listen type
RTM_DELADDR(21), seq=7, pid=4294963196
2007/10/10 17:24:03 ZEBRA: netlink_parse_info: netlink-cmd packet comes from
netlink-listen
2007/10/10 17:24:03 ZEBRA: netlink_parse_info: netlink-listen type
RTM_DELROUTE(25), seq=0, pid=0
2007/10/10 17:24:03 ZEBRA: RTM_DELROUTE ipv4 multicast proto kernel
Route still exists:
localhost.localdomain# sh ip ro 1.1.1.1
Routing entry for 1.1.1.1/32
Known via "connected", distance 0, metric 1, best
* directly connected, lo
It takes an ospf and zebra restart to make the route disappear.
------- 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
comments should be made in the comments box of this bug
report.
http://bugzilla.quagga.net/show_bug.cgi?id=413
Summary: Removing an IP address does not remove associated route
Product: Quagga
Version: 0.99.9
Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Medium
Component: ospfd
AssignedTo: maintainers@quagga.net
ReportedBy: quagga@linuxace.com
The simple act of:
int lo
ip address 1.1.1.1/32
then removing same
int lo
no ip address 1.1.1.1/32
will NOT remove the associated route from the zebra routing table (although it
does remove it from the kernel).
Debug from adding IP address to lo:
2007/10/10 17:23:36 ZEBRA: netlink_talk: netlink-cmd type RTM_NEWADDR(20), seq=6
2007/10/10 17:23:36 ZEBRA: netlink_parse_info: netlink-cmd ACK:
type=RTM_NEWADDR(20), seq=6, pid=0
2007/10/10 17:23:36 ZEBRA: MESSAGE: ZEBRA_INTERFACE_ADDRESS_ADD 1.1.1.1/32 on lo
2007/10/10 17:23:36 OSPF: Zebra rcvd: router id update 1.1.1.1/32
2007/10/10 17:23:36 OSPF: Router-ID[OLD:X.X.91.64]: Update
2007/10/10 17:23:36 OSPF: Router-ID[NEW:X.X.91.64]: Update
2007/10/10 17:23:36 ZEBRA: rib_add_ipv4: calling rib_addnode (0x800733b8,
0x80076028)
2007/10/10 17:23:36 OSPF: Zebra: interface lo address add 1.1.1.1/32
2007/10/10 17:23:36 ZEBRA: rib_link: 1.1.1.1/32: rn 0x800733b8, rib 0x80076028
2007/10/10 17:23:36 ZEBRA: netlink_parse_info: netlink-listen type
RTM_NEWADDR(20), seq=6, pid=4294963196
2007/10/10 17:23:36 ZEBRA: netlink_parse_info: netlink-cmd packet comes from
netlink-listen
2007/10/10 17:23:36 ZEBRA: netlink_parse_info: netlink-listen type
RTM_NEWROUTE(24), seq=0, pid=0
2007/10/10 17:23:36 ZEBRA: RTM_NEWROUTE ipv4 multicast proto kernel
2007/10/10 17:23:36 ZEBRA: rib_process: 1.1.1.1/32: Adding route, select 0x80076028
2007/10/10 17:23:36 ZEBRA: rib_process: 0.0.0.0/0: Updating existing route,
select 0x80073170, fib 0x80073170
2007/10/10 17:23:36 OSPF: Redistribute[connected]: 1.1.1.1/32 external info created.
2007/10/10 17:23:36 OSPF: LSA[Type5]: Originate AS-external-LSA instance
2007/10/10 17:23:36 ZEBRA: rib_process: 127.0.0.0/8: Updating existing route,
select 0x80072e18, fib 0x80072e18
2007/10/10 17:23:36 OSPF: LSA[Refresh]: lsa 1.1.1.1 with age 0 added to index 153
2007/10/10 17:23:36 ZEBRA: rib_process: 169.254.0.0/16: Updating existing route,
select 0x800730e8, fib 0x800730e8
2007/10/10 17:23:36 OSPF: LSA[Refresh:1.1.1.1]: ospf_refresher_register_lsa():
setting refresh_list on lsa 0x800767f8 (slod 153)
2007/10/10 17:23:36 OSPF: LSA[Type5,id(1.1.1.1),ar(X.X.91.64)]: Install
AS-external-LSA
2007/10/10 17:23:36 ZEBRA: rib_process: X.X.91.0/24: Updating existing route,
select 0x80072ba8, fib 0x80072ba8
2007/10/10 17:23:36 OSPF: LSA[Type5:1.1.1.1]: Originate AS-external-LSA 0x800767f8
2007/10/10 17:23:36 OSPF: LSA Header
2007/10/10 17:23:36 OSPF: LS age 0
2007/10/10 17:23:36 OSPF: Options 2 (*|-|-|-|-|-|E|*)
2007/10/10 17:23:36 OSPF: LS type 5 (AS-external-LSA)
2007/10/10 17:23:36 OSPF: Link State ID 1.1.1.1
2007/10/10 17:23:36 OSPF: Advertising Router X.X.91.64
2007/10/10 17:23:36 OSPF: LS sequence number 0x80000001
2007/10/10 17:23:36 OSPF: LS checksum 0x5888
2007/10/10 17:23:36 OSPF: length 36
Verify route exists:
localhost.localdomain# sh ip ro 1.1.1.1
Routing entry for 1.1.1.1/32
Known via "connected", distance 0, metric 1, best
* directly connected, lo
Then delete ip address:
2007/10/10 17:24:03 ZEBRA: netlink_talk: netlink-cmd type RTM_DELADDR(21), seq=7
2007/10/10 17:24:03 ZEBRA: netlink_parse_info: netlink-cmd ACK:
type=RTM_DELADDR(21), seq=7, pid=0
2007/10/10 17:24:03 ZEBRA: netlink_parse_info: netlink-listen type
RTM_DELADDR(21), seq=7, pid=4294963196
2007/10/10 17:24:03 ZEBRA: netlink_parse_info: netlink-cmd packet comes from
netlink-listen
2007/10/10 17:24:03 ZEBRA: netlink_parse_info: netlink-listen type
RTM_DELROUTE(25), seq=0, pid=0
2007/10/10 17:24:03 ZEBRA: RTM_DELROUTE ipv4 multicast proto kernel
Route still exists:
localhost.localdomain# sh ip ro 1.1.1.1
Routing entry for 1.1.1.1/32
Known via "connected", distance 0, metric 1, best
* directly connected, lo
It takes an ospf and zebra restart to make the route disappear.
------- 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