[FROG] how to make FRR know about configured netns on a centos system?
Roman Dodin
dodin.roman at gmail.com
Sat Oct 27 15:26:50 EDT 2018
Hi all,
I have a centos7 system with netns pre-created and populated with an
interface:
$ sudo ip netns exec ns-data ip -4 -br a
lo UNKNOWN 127.0.0.1/8
eth1 UP 192.168.1.101/24
Whereas my base routing instance has a management interface:
$ ip -4 -br a
lo UNKNOWN 127.0.0.1/8
eth0 UP 10.0.0.101/24
I want to run vtysh and be able to navigate/configure these VRFs, but I
cant see the ns-data VRF even if I launch vtysh in that namespace.
[centos at pc1 ~]$ sudo vtysh
pc1.nuage.lab# show interface
Interface eth0 is up, line protocol is up
Link ups: 0 last: (never)
Link downs: 0 last: (never)
vrf: Default-IP-Routing-Table
index 2 metric 0 mtu 1500 speed 4294967295
flags: <UP,BROADCAST,RUNNING,MULTICAST>
Type: Ethernet
HWaddr: fa:16:3e:28:67:f8
inet 10.0.0.101/24 broadcast 10.0.0.255
inet6 fe80::f816:3eff:fe28:67f8/64
Interface Type Other
Interface lo is up, line protocol is up
Link ups: 0 last: (never)
Link downs: 0 last: (never)
vrf: Default-IP-Routing-Table
index 1 metric 0 mtu 65536 speed 0
flags: <UP,LOOPBACK,RUNNING>
Type: Loopback
Interface Type Other
pc1.nuage.lab# show vrf
vrf ns-data inactive
If I try to create a VRF with a namespace name mathing my existing netns, I
got this error:
pc1.nuage.lab(config)# vrf ns-data
pc1.nuage.lab(config-vrf)# netns ns-data
% [ZEBRA] Unknown command: netns ns-data
What am I doing wrong here?
--
BR,
Roman Dodin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.frrouting.org/pipermail/frog/attachments/20181027/db0cd423/attachment.html>
More information about the frog
mailing list