Project

General

Profile

Bug #10899

VXVLAN interfaces are not created correctly

Added by Steve Wheeler about 1 month ago. Updated 14 days ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Interfaces
Target version:
Start date:
09/13/2020
Due date:
% Done:

0%

Estimated time:
Affected Version:
2.5.0
Affected Architecture:
All

Description

VXLAN interfaces are created with a VXLANDEV interface when operating in unicast mode resulting in:

vxlan0: cannot initialize interface: can only specify interface with a group address

The interface creation logic does not match other tunnel type interfaces (GRE, GIF) resulting in interfaces being created multiple times and with the wrong number:

Configuring WAN interface...
vtnet0: link state changed to UP
vxlan0: Ethernet address: 58:9c:fc:10:cb:30
vxlan0: link state changed to UP
done.
Configuring VXLAN0 interface...done.
vxlan1: Ethernet address: 58:9c:fc:10:ff:9f
vxlan1: network identifier 12345 already exists in this socket
vxlan1: network identifier 12345 already exists in this socket
Configuring LAN interface...
vtnet1: link state changed to UP
done.
vxlan2: Ethernet address: 58:9c:fc:10:ff:99
vxlan2: link state changed to UP

History

#2 Updated by Jim Pingle about 1 month ago

  • Status changed from New to Pull Request Review

#3 Updated by Steve Wheeler 19 days ago

  • Status changed from Pull Request Review to Feedback

This has been merged as part of https://redmine.pfsense.org/issues/10898

#4 Updated by Steve Wheeler 14 days ago

  • Status changed from Feedback to Resolved

Tested:

2.5.0-DEVELOPMENT (amd64)
built on Sun Oct 11 01:01:59 EDT 2020
FreeBSD 12.2-STABLE

Looks good at boot:

Configuring WAN interface...
vtnet0: link state changed to UP
vxlan0: Ethernet address: 58:9c:fc:10:cb:30
vxlan0: link state changed to UP
vxlan1: Ethernet address: 58:9c:fc:10:ff:9f
vxlan1: link state changed to UP
done.
Configuring LAN interface...
vtnet1: link state changed to UP
done.
vxlan3: Ethernet address: 58:9c:fc:10:ff:f5
vxlan3: link state changed to UP
Configuring VXLAN0 interface...done.
Configuring VXLAN3 interface...done.
Configuring VXLAN4 interface...done.

Also available in: Atom PDF