After re-creating vrf, the host does not respond to ARP requests
To reproduce, delete all vrf related configuration and create it again
- Aadd vrf, attach the interface to vrf
set interfaces ethernet eth0 address '192.168.122.11/24' set interfaces ethernet eth0 vrf 'foo' set service ssh vrf 'foo' set vrf bind-to-all set vrf name foo protocols static route 0.0.0.0/0 next-hop 192.168.122.1 set vrf name foo table '123'
- Delete all related vrf configuration:
delete interfaces ethernet eth0 vrf delete service ssh vrf foo delete vrf commit
- Create initial configuration again:
set interfaces ethernet eth0 address '192.168.122.11/24' set interfaces ethernet eth0 vrf 'foo' set service ssh vrf 'foo' set vrf bind-to-all set vrf name foo protocols static route 0.0.0.0/0 next-hop 192.168.122.1 set vrf name foo table '123'
At this moment there a no responses from the host
Client site:
$ ssh [email protected] ssh: connect to host 192.168.122.11 port 22: No route to host $ ssh [email protected] ssh: connect to host 192.168.122.11 port 22: No route to host sever@sever:~$ $ ping 192.168.122.11 PING 192.168.122.11 (192.168.122.11) 56(84) bytes of data. ^C --- 192.168.122.11 ping statistics --- 4 packets transmitted, 0 received, 100% packet loss, time 3070ms
VyOS site:
vyos@r11-roll# sudo tcpdump -ni eth0 host 192.168.122.1 tcpdump: verbose output suppressed, use -v[v]... for full protocol decode listening on eth0, link-type EN10MB (Ethernet), snapshot length 262144 bytes 22:01:43.559510 ARP, Request who-has 192.168.122.11 tell 192.168.122.1, length 28 22:01:44.562374 ARP, Request who-has 192.168.122.11 tell 192.168.122.1, length 28 22:01:45.586339 ARP, Request who-has 192.168.122.11 tell 192.168.122.1, length 28 22:01:46.610516 ARP, Request who-has 192.168.122.11 tell 192.168.122.1, length 28 22:01:47.634429 ARP, Request who-has 192.168.122.11 tell 192.168.122.1, length 28 22:01:48.658320 ARP, Request who-has 192.168.122.11 tell 192.168.122.1, length 28
After reboot all works fine again.