Project

General

Profile

Actions

Bug #10899

closed

VXVLAN interfaces are not created correctly

Added by Steve Wheeler over 4 years ago. Updated about 4 years ago.

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

0%

Estimated time:
Plus Target Version:
Release Notes:
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
Actions #2

Updated by Jim Pingle over 4 years ago

  • Status changed from New to Pull Request Review
Actions #3

Updated by Steve Wheeler about 4 years ago

  • Status changed from Pull Request Review to Feedback

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

Actions #4

Updated by Steve Wheeler about 4 years 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.

Actions

Also available in: Atom PDF