Giter VIP home page Giter VIP logo

iproute2-cheatsheet's Introduction

I'm a maintainer of VyOS, an IT generalist, and a functional programming enthusiast.

My biggest side project at this time is soupault: an unconventional, UNIX-way static site generator that can manipulate HTML element trees rather than just generate HTML from templates. You can pipe the content of <pre> or <code> tags through a syntax highlighter of your choice, render KaTeX statically, and more.

Work in progress, needs your contributions:

You can also follow me on Mastodon: @[email protected].

iproute2-cheatsheet's People

Contributors

alex-eri avatar axilleas avatar commonism avatar depereo avatar dmbaturin avatar elico avatar fauxm avatar fgtham avatar haishanh avatar klyr avatar kroy-the-rabbit avatar nhandler avatar pichuang avatar smstong avatar stappersg avatar stepnem avatar thoastbrot avatar trickv avatar umbs avatar wzyboy avatar yrro avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

iproute2-cheatsheet's Issues

Can you add examples on ``ip xfrm``?

There are few results googling ip xfrm. Can you provide some examples and explanations on it?

I find an example using ip xfrm to create an ipsec tunel, but without any further explanation on the commands.

deleting tuntap requires mode

Thanks for a really helpful resource.
On my system
Linux nickb-Precision-M20 4.10.0-38-generic #42~16.04.1-Ubuntu SMP Tue Oct 10 16:30:51 UTC 2017 i686 i686 i686 GNU/Linux

ip tuntap del dev tap0
does not work it's actually
ip tuntap del dev tap0 mode tap

SSL certificate expired

lets encrypt ssl certificate appears to have expired on Thursday, June 7, 2018 at 11:04:09 AM

Please update?

New -br (brief) formatting option

Newer versions of iproute2 have the -br[ief] command line switch. This should be used as the first switch immediately after the command.

Some examples:

[nick@alarmpi-2 ~]$ ip -br addr show
lo               UNKNOWN        127.0.0.1/8 ::1/128 
eth0             UP             192.0.2.1/24 2001:db8:200:84:ba27:ebff:fe68:5f03/64 fe80::ba27:ebff:fe68:5f03/64 
[nick@alarmpi-2 ~]$ ip -br  -4 addr show
lo               UNKNOWN        127.0.0.1/8 
eth0             UP             192.0.2.1/24 
[nick@alarmpi-2 ~]$ ip -br link show
lo               UNKNOWN        00:00:00:00:00:00  
eth0             UP             b8:27:eb:68:5f:03  

Makes a big improvement to the formatting for these commands in particular! I'm not sure whether this should be documented in it's own section or added to the respective sections I have used in the above examples.

sysctl conf cheats

Info about useful like net.ipv4.conf.all.ignore_routes_with_linkdown=1 needed

Typo - is: "runnel" should be: "tunnel"

Hi,
Found a typo, patch below.
(The cheat sheet is great!)

--- index.html.orig   2015-06-10 11:13:29.777972729 +0200
+++ index.html  2015-06-10 11:13:43.770972479 +0200
@@ -780,7 +780,7 @@
           <h4>Create an IPIP tunnel</h4>
           <pre>ip tunnel add ${interface name} mode ipip local ${local endpoint address} remote ${remote endpoint address}</pre>
           <span>Examples:</span>
-          <pre>ip runnel add tun0 mode ipip local 192.0.2.1 remote 198.51.100.3</pre>
+          <pre>ip tunnel add tun0 mode ipip local 192.0.2.1 remote 198.51.100.3</pre>
           <pre>ip link set dev tun0 up</pre>
           <pre>ip address add 10.0.0.1/30 dev tun0</pre>
         </div>

link states like dead

alpine-virt:~# ip r
default proto static metric 9  via 192.168.122.1 dev eth0 weight 1 dead linkdown 
...

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.