FRRouting / frr

The FRRouting Protocol Suite
https://frrouting.org/
Other
3.33k stars 1.25k forks source link

Using of sub interfaces for vxlan/evpn communication #7057

Closed cmattiuzzi closed 4 years ago

cmattiuzzi commented 4 years ago

Capture bash.txt frr1.txt frr2.txt

I am trying to use vxlan with bgp / evpn: No problem with using vlan. However, as soon as several vlan comes on the same interface, nothing happens anymore, because my bridge is no longer on the interface but on the sub interface.

Is it possible to perform interface trunking on FRR so that 2 vlans can be used on the same link?

pjdruddy commented 4 years ago

Looks like you need the tagging enabled on the alpines

# ALPINE1/2
ip link add link eth0 name eth0.123 type vlan id 123
ip link add link eth0 name eth0.456 type vlan id 456
# ALPINE1
ip addr add 10.0.123.100/24 dev eth0.123
ip addr add 10.0.456.100/24 dev eth0.456
# ALPINE2
ip addr add 10.0.123.101/24 dev eth0.123
ip addr add 10.0.456.101/24 dev eth0.456
qlyoung commented 4 years ago

@polychaeta autoclose in 3 days