Giter Site home page Giter Site logo

ipcronstar's Introduction

IPcronstar*

A simple method of adding/removing IPv4 and IPv6 addresses without modifying interface configuration file or network scripts on Linux systems. This is particulaly helpful for cloud servers that benefit from network helper functions that would otherwise have to be disabled for static IP configuration. Takes any number of IPv4 or IPv6 addresses.

Requires Python >= 3.1.

Tested on:

  • Debian 10
  • Debian 9
  • Debian 8
  • Ubuntu 20.04
  • Ubuntu 19.04
  • Ubuntu 18.04

Usage:

ipcronstar [-a|-r|-A|-R|--restore] [address/24] [address/64] [address/56] ...
    
-a, -r      add or remove IP addresses
-A, -R      permanently add or remove IP addresses (persists reboots)
--restore   restore IP addresses from configuration file

# Example:
sudo ipcronstar -a 2400:8901:e001::c0ca:1eaf/64 192.168.170.227/17 2400:8901:e001::dead:beef/64
sudo ipcronstar -A 72.14.180.202/24 2400:8901:e001:110::60/64 2400:8901:e001:110::100/128

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.