Hi,

We have 3 interfaces. First two belong to different VRFs and the third one
is a global interface (GigabitEthernet0/6/0).
How we can configure VPP so that the packets received through any of the
first two interfaces will be sent to the global interface
(GigabitEthernet0/6/0).

The default GW is 10.100.4.11, and we tried adding it to the tables but
nothing worked. Specifically, if we do
"vppctl ip *route* add 10.100.4.0/24 table 1 via GigabitEthernet0/6/0"
the packets are forwarded but *without the Ethernet header.*

Any help is appreciated. Our config is below.

Thanks,
Michael.

*Interfaces config:*

vppctl set interface ip table GigabitEthernet0/5/0 1
vppctl set int ip address GigabitEthernet0/5/0 10.100.3.11/24
vppctl set int state GigabitEthernet0/5/0 up

vppctl set interface ip table GigabitEthernet0/4/0 2
vppctl set int ip address GigabitEthernet0/4/0 10.100.1.11/24
vppctl set int state GigabitEthernet0/4/0 up

vppctl set int ip address GigabitEthernet0/6/0 10.100.4.11/24
vppctl set int state GigabitEthernet0/6/0 up


*FIB:*

Table 0, fib_index 0, flow hash: src dst sport dport proto
     Destination         Packets          Bytes         Adjacency
10.100.4.0/24                      0               0 weight 1, index 3
                                                      10.100.4.11/24
10.100.4.11/32                     0               0 weight 1, index 4
                                                      10.100.4.11/24

Table 1, fib_index 1, flow hash: src dst sport dport proto
     Destination         Packets          Bytes         Adjacency
10.100.3.0/24                      0               0 weight 1, index 5
                                                      10.100.3.11/24
10.100.3.11/32                     0               0 weight 1, index 6
                                                      10.100.3.11/24

Table 2, fib_index 2, flow hash: src dst sport dport proto
     Destination         Packets          Bytes         Adjacency
10.100.1.0/24                      0               0 weight 1, index 7
                                                      10.100.1.11/24
10.100.1.11/32                     0               0 weight 1, index 8
                                                      10.100.1.11/24

*IP addresses:*
GigabitEthernet0/4/0 (up):
  10.100.1.11/24 table 2
GigabitEthernet0/5/0 (up):
  10.100.3.11/24 table 1
GigabitEthernet0/6/0 (up):
  10.100.4.11/24
local0 (dn):
_______________________________________________
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

Reply via email to