Page MenuHomeVyOS Platform

VPP add configuration for teib entries
Open, NormalPublicFEATURE REQUEST

Description

Summary

VPP add configuration for teib entries.
VPP TEIB (Tunnel Egress Interface Binding) Entries is used to associate tunnel interfaces with next-hop IP addresses. This is particularly useful in L3 GRE (Generic Routing Encapsulation) tunnels or other tunneling mechanisms where packets must be forwarded based on a specific next-hop. It is used in the point-to-multipoint mode.

Use case

Configure point-to-multipoint tunnel mode.

Additional information

VyOS PMP config:

set interfaces ethernet eth0 address '192.0.2.1/28'
set protocols ospf area 0 network '192.0.2.0/28'
set protocols ospf parameters router-id '10.0.0.1'
set system host-name 'vpp-left'
set vpp interfaces gre gre1 description 'PMP'
set vpp interfaces gre gre1 kernel-interface 'vpptun1'
set vpp interfaces gre gre1 mode 'point-to-multipoint'
set vpp interfaces gre gre1 remote '0.0.0.0'
set vpp interfaces gre gre1 source-address '192.0.2.1'
set vpp interfaces gre gre1 tunnel-type 'l3'
set vpp kernel-interfaces vpptun1 address '10.0.1.1/24'
set vpp settings interface eth0 driver 'dpdk'
set vpp settings unix poll-sleep-usec '100'

It is similar like HUB, so other peers can communicate in the same L3 tunnel network (in this case, 10.0.0.0/24)
Required missed configuration:

sudo vppctl create teib gre1 peer 10.0.1.2 nh 192.0.2.2
sudo vppctl create teib gre1 peer 10.0.1.3 nh 192.0.2.3
sudo vppctl create teib gre1 peer 10.0.1.4 nh 203.0.113.1

peers external IPs 192.0.2.2/192.0.2.3/203.0.113.1
tunnels peers IPs 10.0.0.2/10.0.0.3/10.0.0.4

TEIB could be added for GRE or IPIP tunnel.

Details

Version
-
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Feature (new functionality)
Story points
5

Related Objects

StatusSubtypeAssignedTask
OpenFEATURE REQUESTNone
OpenFEATURE REQUESTNone

Event Timeline

Viacheslav triaged this task as Normal priority.