]> git.ipfire.org Git - thirdparty/systemd.git/commit
networkd: add support for vxlan Remote and Local.
authorSusant Sahani <susant@redhat.com>
Fri, 24 Feb 2017 19:01:47 +0000 (00:31 +0530)
committerSusant Sahani <susant@redhat.com>
Fri, 24 Feb 2017 19:01:47 +0000 (00:31 +0530)
commitd35e5d3763bbc04450ac0928a6e1b728ec957c00
treef863bb1a3a3305ec06b276eaf470de584969ee43
parent5564545b4dd4df63934b629f00e9a494f8728a85
networkd: add support for vxlan Remote and Local.

This patch add supports to configure IFLA_VXLAN_LOCAL
and IFLA_VXLAN_GROUP.

The "Group" is renamed to "Remote" which is a multicast address.`

```
Description=vxlan-test
Name=vxlan1
Kind=vxlan

[VXLAN]
Id=33
Local=2001:db8:2f4:4bff:fa71:1a56
Remote=FF02:0:0:0:0:0:1:9
```

output
```
ip -d link show vxlan1
16: vxlan1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1430 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/ether fe:b4:97:03:f8:e5 brd ff:ff:ff:ff:ff:ff promiscuity 0
    vxlan id 33 group ff02::1:9 local 2001:db8:02f4:4bff:fa71:1a56 dev enp0s3 srcport 0 0 dstport 8472 ageing 300 noudpcsum noudp6zerocsumtx noudp6zerocsumrx addrgenmode none numtxqueues 1 numrxqueues 1 gso_max_size 65536 gso_max_segs 65535

```
man/systemd.netdev.xml
src/network/netdev/netdev-gperf.gperf
src/network/netdev/vxlan.c
src/network/netdev/vxlan.h