Hi there,
I'm wondering if someone could point out what I'm doing wrong
here? all my routes are being added to the system main table and
not my VRF.
I could swear I had this working 100% (I took my config and added
vrf "vrf0" to each protocol), i then regenerated my config file
using my software, rebooted and its not worked since. I can't seem
to find what I broke.
Here is my interfaces... the t0p0 and t0p1 are ip6gretap's,
dummy0 is just a loopback dummy interface. All are slave to vrf0.
lgtm.
4: dummy0:
<BROADCAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc noqueue
master vrf0 state UNKNOWN mode DEFAULT group default qlen 1000
link/ether fe:dc:20:04:15:27 brd ff:ff:ff:ff:ff:ff
5: vrf0: <NOARP,MASTER,UP,LOWER_UP> mtu 65575 qdisc
noqueue state UP mode DEFAULT group default qlen 1000
link/ether 8a:8e:21:3d:c4:c9 brd ff:ff:ff:ff:ff:ff
8: t0p0@e0p0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1430
qdisc fq_codel master vrf0 state UNKNOWN mode DEFAULT group
default qlen 1000
link/ether b2:da:ee:78:04:1f brd ff:ff:ff:ff:ff:ff
9: t0p1@e0p0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1430
qdisc fq_codel master vrf0 state UNKNOWN mode DEFAULT group
default qlen 1000
link/ether fa:61:19:72:65:d8 brd ff:ff:ff:ff:ff:ff
the output from ip
rule is this... lgtm.
1000: from all lookup [l3mdev-table]
The routes within the VRF look like this, lgtm ... ip route show vrf vrf0
X/30 dev t0p0 proto kernel
scope link src A
Y/30 dev t0p1 proto kernel scope link src B
Z/27 dev dummy0 proto kernel scope link src C
My main routing table looks like this... lgtm, I don't even have
the interfaces or anything configured for them in the main table
outside the VRF.
default via 169.254.1.1 dev e0p0 proto
static metric 1000
169.254.1.1 dev e0p0 proto kernel scope link src D metric 256
E dev e0p0 proto kernel
metric 256 pref medium
F via fe80::1 dev e0p0 proto static metric 300 pref medium
G via fe80::1 dev e0p0 proto static metric 300 pref medium
fe80::/64 dev e0p0 proto kernel metric 256 pref medium
default via fe80::1 dev e0p0 proto static metric 1000 pref
medium
My bird config is below ... I made sure to add vrf "vrf0" to all protocols. I searched the mailing list and I can't see what I did wrong here.
OSPF comes up fine, I can ping inside the VRF fine, but all my
routes are being added to the main system table.
I cut out the filters, they're not doing anything interesting. Despite BGP being mentioned in the config below, I don't have it configured atm.
# Kernel Table
Kind Regards
Nigel