Giter VIP home page Giter VIP logo

lelastic's Introduction

lelastic

what is lelastic

lelastic is a elastic IP client designed to make the use of elastic IPs as easy as possible it does not need any configuration dependencies or advanced bgp skills

caveats

  • this tool is completely optional and any bgp client/daemon of your choice will do the job.
  • the sole purpose of this tool is to get you up and running as fast and easy as possible
  • it does not support any fancy or advanced bgp trickery

how it works

a few assumptions are made by this tool:

  • your elastic IP needs to be configured on "lo" interface
  • for ipv4 you need to configure the IP as a /32 tied to the loopback interface
  • for ipv6 you can use any IP out of your /64 or /56 and of any subnet size as a loopback IP. if you want to announce your subnet as a /56 you need to toggle the flag -send56 otherwise it will default to announcing a /64

install:

version=v0.0.3
curl -LO https://github.com/linode/lelastic/releases/download/$version/lelastic.gz
gunzip lelastic.gz
chmod 755 lelastic
mv lelastic /usr/local/bin/

usage:

Usage of ./lelastic:
  -dcid int
        dcid for your DC
  -logjson
        set log format to json
  -loglevel string
        set log level: trace, debug, info or warn (default "info")
  -primary
        advertise as primary
  -secondary
        advertise as secondary
  -send56
        Advertise ipv6 as /56 subnet (defaults to /64)

example:

  • to annnounce the linode as primary simply run
./lelastic -dcid 10 -primary
  • to annnounce the linode as secondary simply run
./lelastic -dcid 10 -secondary
  • to annnounce the IPv6 on your loopback as a /56 subnet
./lelastic -dcid 10 -primary -send56

lelastic's People

Contributors

coling avatar tobymitico 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.