With the newer VPP, since around 18.04, IP table must be created before an 
interface can be set to it.  The default global IP table 0 is an exception 
because it is already present on startup.

The CLI is:
vpp# ip table ?
  ip table                                 ip table [add|del] <table-id>

Regards,
John

-----Original Message-----
From: vpp-dev@lists.fd.io <vpp-dev@lists.fd.io> On Behalf Of Carl Baldwin
Sent: Tuesday, November 26, 2019 7:29 PM
To: vpp-dev@lists.fd.io
Subject: [vpp-dev] Trouble adding loopback to ip table

Hi folks. I'm playing around a bit with vpp for the first time. I'm stuck on 
something and don't know where to go from here...

I'm trying to add a loopback interface to ip table 5. From the 
documentation[1], this table should be created by this command if it does not 
exist. However, what happened seems to contradict this.

    vpp# set int l2 bridge loop0 13 bvi
    loop0
    vpp# set int state loop0 up
    vpp# set int ip table loop0 5
    set interface ip table: no such table 5

I cannot find any command that would explicitly create table 5 for me so that 
this can succeed. Maybe I missed something. Any thoughts on this?

For a little context, at the moment, I'm just going through this vxlan page [2] 
trying to get a better feel for vpp. I installed vpp on Ubuntu bionic according 
to the instructions. apt-cache shows that I have 19.08.1-release from 
packagecloud.io/fdio/release.

I do plan to dive a little bit more into the code. In the meantime, I will try 
to set up a build environment.

Thank you,
Carl

[1] 
https://docs.fd.io/vpp/17.04/clicmd_src_vnet_ip.html#clicmd_set_interface_ip_table
[2] 
https://wiki.fd.io/view/VPP/Using_VPP_as_a_VXLAN_Tunnel_Terminator#BVI_Interface_Creation_and_Setup
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#14709): https://lists.fd.io/g/vpp-dev/message/14709
Mute This Topic: https://lists.fd.io/mt/62081854/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to