I'm working on configuring multiple VRFs on Ubuntu Server 16.10 and having trouble using ping to validate the configuration. I've been using https://www.kernel.org/doc/Documentation/networking/vrf.txt for reference.

My configuration is:

Server: eth0.20 - - GW

Router: port1(VLAN20) -

From the router, I can ping the server address at The arp entry on the router for the server is correct and tcpdump on the server confirms pings are hitting eth0.20.

However, the server can't ping It does have an ARP entry for the router interface which makes me think this is an issue with how I'm using being. Below is the ping and resulting output.

ping -I red
ping: Warning: source address might be selected on device other than red
ping: sendmsg: Network is unreachable

ping -I eth0.20
ping ( from eth0.20: 56(86) bytes of data.
ping: sendmsg: Network is unreachable

Any assistance is much appreciated!

  • 1
    Since this iformation is missing on your question, have you assigned vlan id 20 to your eth0.20 interface? vconfig add eth0 5 and then cat /proc/net/vlan/eth0.20 to double check vlan information... If you didn't assign vlan id, it will assume that is just an ordinary virtual interface. – user34720 Feb 24 '17 at 11:46
  • I'm creating the VLAN in the /etc/network/interfaces file to be persistent. I did confirm that /proc/net/vlan/eth0.20 contains VID: 20. – user2081470 Feb 24 '17 at 18:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.