https://github.com/metastable-void/geneveutils
GENEVE networking simplified for GNU/Linux systems.
https://github.com/metastable-void/geneveutils
Last synced: 9 months ago
JSON representation
GENEVE networking simplified for GNU/Linux systems.
- Host: GitHub
- URL: https://github.com/metastable-void/geneveutils
- Owner: metastable-void
- License: gpl-3.0
- Created: 2021-08-15T07:07:47.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-08-15T12:35:00.000Z (almost 5 years ago)
- Last Synced: 2025-08-14T00:02:06.263Z (11 months ago)
- Language: Shell
- Size: 17.6 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# geneveutils
GENEVE networking simplified for GNU/Linux systems.
## Usage
```
./bin/geneveutils pre-up
./bin/geneveutils post-down
./bin/geneveutils restart
```
Clone this repository:
```
# cd /etc/network
# git clone https://github.com/metastable-void/geneveutils.git
```
/etc/network/interfaces.d/geneve-31:
```
auto geneve-31
iface geneve-31 inet static
pre-up /etc/network/geneveutils/bin/geneveutils pre-up /etc/network/geneve/geneve-31.conf
post-down /etc/network/geneveutils/bin/geneveutils post-down /etc/network/geneve/geneve-31.conf
address 10.199.31.1/24
broadcast 10.199.31.255
mtu 1430
```
/etc/network/geneve/geneve-31.conf:
```
# This script is sourced with /bin/sh.
# The interface name of the GENEVE device.
GENEVE_IFNAME=geneve-31
# 4 for IPv4 and 6 for IPv6.
GENEVE_IP_VERSION=4
# The GENEVE ID of the device.
GENEVE_ID=31
# The link device to use.
GENEVE_LINKDEV=eth0
# Remote endpoint (IP address or hostname)
GENEVE_REMOTE=remotemachine.local
```
/etc/cron.d/geneve-31:
```
31 * * * * root /etc/network/geneveutils/bin/geneveutils restart /etc/network/geneve/geneve-31.conf
```
## License
GNU GPL version 3 or any later version.