Size: a a a

2020 February 27

vm

vang makris in Accel-PPP
but I cannot make frr zebra to connect with specific namespace..
источник

vm

vang makris in Accel-PPP
when I enable zebra vrf to namespace it crushes..
источник

AK

Alexander K in Accel-PPP
-n, --vrfwnetns
When Zebra starts with this option, the VRF backend is based on Linux network namespaces. That implies that all network namespaces discovered by ZEBRA will create an associated VRF. The other daemons will operate on the VRF VRF defined by Zebra, as usual.
источник

AK

Alexander K in Accel-PPP
what zebra backend are you using ?
Linux VRF or Linux network namespace
источник

vm

vang makris in Accel-PPP
Linux network namespace
источник

vm

vang makris in Accel-PPP
router1# show vrf
netns-based vrfs
vrf LTE_Mgmt id 1 netns /run/netns/LTE_Mgmt
router1#
источник

vm

vang makris in Accel-PPP
it finds the netns..
источник

AK

Alexander K in Accel-PPP
did you start zebra with "-n" ?
источник

vm

vang makris in Accel-PPP
yes.. -n -M fpm
источник

vm

vang makris in Accel-PPP
I am not sure about the fpm...
источник

AK

Alexander K in Accel-PPP
any logs when it crashes ?
источник

vm

vang makris in Accel-PPP
it seems that zebra is trying to apply routes on the namespace and fails... hence it freezes until the command times out
источник

vm

vang makris in Accel-PPP
for example...
источник

vm

vang makris in Accel-PPP
zebra get routes for the VRF from iBGP..
источник

vm

vang makris in Accel-PPP
router1# show ip route vrf LTE_Mgmt
Codes: K - kernel route, C - connected, S - static, R - RIP,
      O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
      T - Table, v - VNC, V - VNC-Direct, A - Babel, D - SHARP,
      F - PBR, f - OpenFabric,
      > - selected route, * - FIB route, q - queued route, r - rejected route


VRF LTE_Mgmt:
B>r 0.0.0.0/0 [200/0] via 10.0.27.251(vrf default) (recursive), label 755, 00:00:08
 r                     via 10.3.3.129, ens32(vrf default), label 156543/755, 00:00:08
источник

vm

vang makris in Accel-PPP
since 10.3.3.129 is not accesible from the namespace.. it rejects the route from zebra
источник

vm

vang makris in Accel-PPP
ok.. I understand it now...
источник

vm

vang makris in Accel-PPP
since namespace is a different stack , it need a gateway interface..
источник

vm

vang makris in Accel-PPP
it is not using the  connectivity of the default namespace..
источник

vm

vang makris in Accel-PPP
so .. the real question is if accel-ppp can manage vrf with Linux VRF  ?? :D
источник