Code Monkey home page Code Monkey logo

geneveutils's Introduction

geneveutils

GENEVE networking simplified for GNU/Linux systems.

Usage

./bin/geneveutils pre-up <geneve interface config>

./bin/geneveutils post-down <geneve interface config>

./bin/geneveutils restart <geneve interface config>

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.

geneveutils's People

Contributors

metastable-void avatar

Stargazers

yt44kiry avatar Satsuki Akiba avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.