Ok so going through this a little bit more has gotten me to the point of why are my routes not seen?
- router’s 65009 config
- show ip route 192.168.103.1
- show ip bgp neighbor 192.168.101.2 routes
- show ip bgp neighbor 192.168.100.2 advertised-routes
- show version
protocols {
bgp 65009 {
address-family {
ipv4-unicast {
redistribute {
connected {
}
}
}
}
neighbor 192.168.100.2 {
address-family {
ipv4-unicast {
attribute-unchanged {
}
nexthop-self {
}
soft-reconfiguration {
inbound
}
}
}
capability {
dynamic
}
remote-as 65008
update-source eth0
}
neighbor 192.168.101.2 {
address-family {
ipv4-unicast {
attribute-unchanged {
as-path
}
nexthop-self {
}
soft-reconfiguration {
inbound
}
}
}
capability {
dynamic
}
remote-as 65010
update-source eth1
}
parameters {
router-id 10.10.10.60
}
}
}
show ip route 192.168.102.2
Routing entry for 192.168.102.2/32
Known via “bgp”, distance 20, metric 0, best
Last update 07:46:33 ago
- 192.168.101.2, via eth1, weight 1
vyos@vyos:/var/log$ show ip bgp neighbors 192.168.101.2 routes
BGP table version is 3, local router ID is 10.10.10.60, vrf id 0
Default local pref 100, local AS 65009
Status codes: s suppressed, d damped, h history, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop’s vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
*> 192.168.102.2/32 192.168.101.2 0 65010 i
Displayed 1 routes and 3 total paths
vyos@vyos:/var/log$ show ip bgp neighbors 192.168.101.2 routes
BGP table version is 3, local router ID is 10.10.10.60, vrf id 0
Default local pref 100, local AS 65009
Status codes: s suppressed, d damped, h history, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop’s vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
*> 192.168.102.2/32 192.168.101.2 0 65010 i
Displayed 1 routes and 3 total paths
vyos@vyos:/var/log$ show ip bgp neighbor 192.168.100.2 advertised-routes
BGP table version is 3, local router ID is 10.10.10.60, vrf id 0
Default local pref 100, local AS 65009
Status codes: s suppressed, d damped, h history, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop’s vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
*> 192.168.100.0/30 0.0.0.0 0 32768 ?
*> 192.168.101.0/30 0.0.0.0 0 32768 ?
*> 192.168.102.2/32 192.168.101.2 0 65010 i
Total number of prefixes 3
vyos@vyos:/var/log$ show version
Version: VyOS 1.4-rolling-202101140417
Release Train: sagitta
Built by: autobuild@vyos.net
Built on: Thu 14 Jan 2021 04:17 UTC
Build UUID: 29fa3022-d820-438c-81d6-8dfdc50eeec9
Build Commit ID: ae2279e30b1222
Architecture: x86_64
Boot via: installed image
System type: KVM guest
Hardware vendor: Red Hat
Hardware model: KVM
Hardware S/N:
Hardware UUID: f756ec88-8c28-43bc-99a9-d5b808a0e0dd
Copyright: VyOS maintainers and contributors
Ok so after seeing the advertised routes i need to explain that 192.168.100.2 is a iosxr9kv and 192.168.101.2 is BIRD
BIRD is trying to annouce its loopback all the way to the iosxr9kv
On 192.168.100.2 i’m getting this error
RP/0/RP0/CPU0:Feb 11 21:51:54.057 UTC: bgp[1078]: %ROUTING-BGP-3-MALFORM_UPDATE : Malformed UPDATE message received from neighbor 192.168.100.1 (VRF: default) - message length 49 bytes, error flags 0x00000200, action taken “TreatAsWdr”. Error details: “Error 0x00000200, Field “Attr-data”, Attribute 2 (Flags 0x40, Length 6), Data [5002000602010000fdf2]”. NLRIs: [IPv4 Unicast] 192.168.102.2/32
I guess I’m confused at what attribute is missing in VYOS to accept that peering.
And I guess looking back in 2015 someone had this same problem.
Thoughts?
Thanks again.