Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support vxlan unicast configuration #5145

Closed
joejulian opened this issue Jan 24, 2017 · 4 comments
Closed

Support vxlan unicast configuration #5145

joejulian opened this issue Jan 24, 2017 · 4 comments

Comments

@joejulian
Copy link

@joejulian joejulian commented Jan 24, 2017

Submission type

  • Bug report
  • Request for enhancement (RFE)

NOTE: Do not submit anything other than bug reports or RFEs via the issue tracker!

systemd version the issue has been seen with

232

NOTE: Do not submit bug reports about anything but the two most recently released systemd versions upstream!

Used distribution

Arch

Sometimes network providers do not allow multicast communication. In this instance, vxlans need to be configured using multiple unicast endpoints. This is done by appending additional zero MAC entries to the fdb.

Please add support for configuring these in netdev.

@ssahani
Copy link
Contributor

@ssahani ssahani commented Jan 27, 2017

Could you please give a example for it ? Thanks !

@joejulian
Copy link
Author

@joejulian joejulian commented Jan 27, 2017

I would expect to configure it such as:

[VXLAN]
Id=42
Endpoint=10.0.0.1
Endpoint=10.1.0.1
Endpoint=10.2.0.1
ssahani added a commit to ssahani/systemd that referenced this issue Apr 30, 2019
Closes systemd#5145

```
[Match]
Name=vxlan1309

[BridgeFDB]
MACAddress=00:00:00:00:00:00
DestinationAddress=10.0.0.2

[BridgeFDB]
MACAddress=00:00:00:00:00:00
DestinationAddress=10.0.0.4

[BridgeFDB]
MACAddress=00:00:00:00:00:00
DestinationAddress=10.0.0.5

```
@ssahani
Copy link
Contributor

@ssahani ssahani commented Apr 30, 2019

https://joejulian.name/blog/how-to-configure-linux-vxlans-with-multiple-unicast-endpoints/

since it's a bridge fdb I have added to the [BridgeFDB] section also Please see the example conf how to apply to vxlan.

yuwata added a commit to ssahani/systemd that referenced this issue May 3, 2019
Closes systemd#5145.

Example conf:
```
[Match]
Name=vxlan1309

[BridgeFDB]
MACAddress=00:00:00:00:00:00
Destination=10.0.0.2

[BridgeFDB]
MACAddress=00:00:00:00:00:00
Destination=10.0.0.4

[BridgeFDB]
MACAddress=00:00:00:00:00:00
Destination=10.0.0.5
```
@cdown cdown closed this in #12441 May 3, 2019
edevolder added a commit to edevolder/systemd that referenced this issue Jun 26, 2019
Closes systemd#5145.

Example conf:
```
[Match]
Name=vxlan1309

[BridgeFDB]
MACAddress=00:00:00:00:00:00
Destination=10.0.0.2

[BridgeFDB]
MACAddress=00:00:00:00:00:00
Destination=10.0.0.4

[BridgeFDB]
MACAddress=00:00:00:00:00:00
Destination=10.0.0.5
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Linked pull requests

Successfully merging a pull request may close this issue.

4 participants