Giter VIP home page Giter VIP logo

iproute2-cheatsheet's Introduction

Task-centered iproute2 manual

The ip command from the iproute2 package is now the Linux network management tool. Not only it combines the functionality of the old ifconfig, vconfig etc. commands, it also supports networking features that old commands never supported and still don't support, such as multiple addresses on the same interface, network namespaces, policy-based routing and so on.

One problem with the iproute2 package though is that its man pages offer only very brief descriptions of its options and don't provide any examples, so they are only good as reminders for experienced users. Many people keep using ifconfig not just out of habit, but also because they may not even know what they are missing out.

The problem was historically solved by community-maintained documentation such as http://policyrouting.org/iproute2-toc.html and https://www.lartc.org/howto/ Most of those documents have not been actively expanded since early or mid 2000's though, and do not cover any new features. They are also under non-free licenses that make them very hard to fork and maintain in case the original maintainers lose interest in maintaining them.

This document aims to provide a comprehensive, easy to use, and free an open source guide to iproute2 where network admins can quickly look up how to solve a particular problem with the ip command, for example add/remove an address, create a routing table, create a network namespace and so on.

Originally it was named "iproute2 cheatsheet", but was renamed to "Task-centered iproute2 manual" due to vastly increased size and scope.

Primary location and mirroring

The original and primary location of the document is https://baturin.org/docs/iproute2/

The page is bundled with all the JS and CSS it needs, so it's easy to mirror. If you decide to mirror it, please make sure to update it automatically from git to avoid creating outdated copies.

Repository structure

This page is preprocessed with soupault website generator to create a static ToC with section links that doesn't rely on JS.

The page wrapping is in templates/main.html and the content is in site/index.html. For ease of mirroring, a preprocessed copy is kept in build/index.html.

If you want to setup a self-updating mirror, fetch the build/index.html page.

Contributing

Patches are always welcome. If you want to fix a typo, improve grammar or wording, or document a previously undocumented feature, please open a pull request or email me a patch (use git format-patch please).

The document is licensed under CC-BY-SA.

iproute2-cheatsheet's People

Contributors

dmbaturin avatar stappersg avatar alex-eri avatar haishanh avatar axilleas avatar umbs avatar fgtham avatar fauxm avatar smstong avatar klyr avatar nhandler avatar pichuang avatar trickv avatar wzyboy avatar depereo avatar elico avatar thoastbrot avatar

Watchers

James Cloos 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.