Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 753524 - vxlan support scritp for configuration through /etc/conf.d/net
Summary: vxlan support scritp for configuration through /etc/conf.d/net
Status: UNCONFIRMED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: netifrc (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: netifrc Team
URL:
Whiteboard:
Keywords: Inclusion
Depends on:
Blocks:
 
Reported: 2020-11-08 00:00 UTC by Nico Baggus
Modified: 2021-07-11 07:43 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
/lib/netifrc/net/vxlan.sh file (vxlan.sh,4.50 KB, text/plain)
2020-11-08 00:03 UTC, Nico Baggus
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nico Baggus 2020-11-08 00:00:33 UTC
This issue presents a script that allows vxlan configuration from /etc/conf.d/net

Reproducible: Always




Config lines for /etc/conf.d/net::


#vxlan support:
#
#
vxlan_vxlan0="vlan100"  # device to link to
group_vxlan0=239.0.0.0    # either use group_IF=(multicast ipv4/ipv6 address) or remote_IF=(ipv4/ipv6 unicast address) 
##remote_vxlan0=1.1.1.1
id_vxlan0=0   # default number from vxlan name
bridge_vx0="vxlan0"
config_vxlan0="null"
config_vx0="192.168.99.1/24 2001:8db::1/64"
rc_net_vxlan0_need="net.vlan10"
rc_net_vx0_need="net.vxlan0"


#
#local_vxlan0="IPADDR" or local_vxlan0=any
#flow_vxlan0="FLOWLABEL"
#srcport_vxlan0="MIN MAX"
#destport_vxlan0=4789
#df_vxlan0=unset
# Dontfragment, default unset, options: set|unset|inherit  from ip content
#ttl_vxlan0=1
# TTL for outgoing, default = 1, lan only traffic
#tos_vxlan0=TOSVALUE
# TOS
#aging_vxlan0="SECONDS"
#  FDB TTL
#maxaddress_vxlan0="NUMBER"  
#  FDB Entries
#options_vxlan0="......"
#Options:
# [no]learning - specifies if unknown source link layer addresses and IP addresses are entered into the VXLAN device forwarding database.
# [no]rsc - specifies if route short circuit is turned on.
# [no]proxy - specifies ARP proxy is turned on.
# [no]l2miss - specifies if netlink LLADDR miss notifications are generated.
# [no]l3miss - specifies if netlink IP ADDR miss notifications are generated.
# [no]udpcsum - specifies if UDP checksum is calculated for transmitted packets over IPv4.
# [no]udp6zerocsumtx - skip UDP checksum calculation for transmitted packets over IPv6.
# [no]udp6zerocsumrx - allow incoming UDP packets over IPv6 with zero checksum field.
# [no]external - specifies whether an external control plane (e.g. ip route encap) or the internal FDB should be used.
# gbp - enables the Group Policy extension (VXLAN-GBP).
# gpe - enables the Generic Protocol extension (VXLAN-GPE). Currently, this is only supported together with the external keyword.
#
Comment 1 Nico Baggus 2020-11-08 00:03:11 UTC
Created attachment 670394 [details]
/lib/netifrc/net/vxlan.sh    file

The driver for /etc/init.d/net.lo
Comment 2 Nico Baggus 2020-11-08 00:03:56 UTC
Not exactly a package, more a script to add to the base network scripting.