Open lucasalvatore opened 4 years ago
Decoded the netlink message and it looks OK I think. Censored your IP.
I will try and test on my box later.
(nl_decode_new) sworley@alfred ~/D/c/eng> python decoder.py pyroute2.netlink.rtnl.rtmsg.rtmsg sent.bin
50:00:00:00:18:00:01:05:b4:00:00:00:ba:e5:cc:e9:02:20:00:00:fe:ba:00:01:00:00:00:00:08:00:01:00:93:4b:c8:62:08:00:06:00:14:00:00:00:24:00:09:00:10:00:00:00:08:00:00:00:08:00:05:00:0a:58:63:00:10:00:00:00:09:00:00:00:08:00:05:00:0a:58:63:02:64:00:00:00:02:00:00:00:b4:00:00:00:ba:e5:cc:e9:ea:ff:ff:ff:50:00:00:00:18:00:
01:05:b4:00:00:00:ba:e5:cc:e9:02:20:00:00:fe:ba:00:01:00:00:00:00:08:00:01:00:93:4b:c8:62:08:00:06:00:14:00:00:00:24:00:09:00:10:00:00:00:08:00:00:00:08:00:05:00:0a:58:63:00:10:00:00:00:09:00:00:00:08:00:05:00:0a:58:63:02
{'attrs': [('RTA_DST', '[NOT POSTING YOUR IP HERE]'),
('RTA_PRIORITY', 20),
('RTA_MULTIPATH', [{'flags': 0, 'hops': 0, 'oif': 8, 'attrs': [('RTA_GATEWAY', '10.88.99.0')]}, {'flags': 0, 'hops': 0, 'oif': 9, 'attrs': [('RTA_GATEWAY', '10.88.99.2')]}])],
'dst_len': 32,
'family': 2,
'flags': 0,
'header': {'flags': 1281,
'length': 80,
'pid': 3922519482,
'sequence_number': 180,
'type': 24},
'proto': 186,
'scope': 0,
'src_len': 0,
'table': 254,
'tos': 0,
'type': 1}
........................................
64:00:00:00:02:00:00:00:b4:00:00:00:ba:e5:cc:e9:ea:ff:ff:ff:50:00:00:00:18:00:01:05:b4:00:00:00:ba:e5:cc:e9:02:20:00:00:fe:ba:00:01:00:00:00:00:08:00:01:00:93:4b:c8:62:08:00:06:00:14:00:00:00:24:00:09:00:10:00:00:00:08:00:00:00:08:00:05:00:0a:58:63:00:10:00:00:00:09:00:00:00:08:00:05:00:0a:58:63:02
{'attrs': [('RTA_UNSPEC', None)],
'dst_len': 255,
'family': 234,
'flags': 83951640,
'header': {'flags': 0,
'length': 100,
'pid': 3922519482,
'sequence_number': 180,
'type': 2},
'proto': 0,
'scope': 0,
'src_len': 255,
'table': 80,
'tos': 255,
'type': 0}
........................................
(nl_decode_new) sworley@alfred ~/D/c/eng>
Describe the bug BGP routes received from upstream peer are not installed into the kernel. Routes exist in the BGP table, but nothing in the kernel / nht. bgpd.log shows logs such as:
Versions
Ubuntu 16.04.6 LTS Kernel 4.14.95
[x] Did you check if this is a duplicate issue? Seems like similar issues reported in #4471 & #2713 [x ] Did you test it on the latest FRRouting/frr master branch?
To Reproduce Steps to reproduce the behavior: 1) Setup BGP peering 2) Advertise routes from neighbor 3) Check if they are installed
Expected behavior Routes are installed into the FIB
Additional context Some additional logging / config:
Logs with debugging: