Skip to Content
Navigation:

A stick figure smiling

Here's a preview from my zine, Bite Size Networking!! If you want to see more comics like this, sign up for my saturday comics newsletter or browse more comics!

Image of a comic. To read the full HTML alt text, click "read the transcript".

browse more comics! get the zine!
read the transcript!

ip

(Linux only)

lets you view + change network configuration.

ip OBJECT COMMAND

(OBJECT = addr, link neigh, etc)
(COMMAND = add, show, delete, etc)

Here are some ways to use it!

ip addr list

shows ip addresses your devices. Look for something like this:

2: eth0:
   link/ether 3c:97... 
   inet 192.168.1.170/24

ip route list

displays the route table.

default via 192.168.1.1 (my router)
169.240.0.0/16 dev docker
...

to see all route tables: ip route list table all

change your MAC address

good for cafés with time limits (devil face emoji)

$ ip link set wlan0 down 
$ ip link set eth0 address 
3ca9f4d1:00:32
$ ip link set wlan0 up 
$ service network-manager 
restart 

(or whatever you use)

network devices! (like eth0)

ip neigh

view/edit the ARP table

ip xfrm

is for IPsec

ip route get IP

what route will packets with $IP take?

--color

(the letters of “color” are in various rainbow colours)
pretty colourful output!

-- brief

show a summary

Saturday Morning Comics!

Want another comic like this in your email every Saturday? Sign up here!

I'll send you one of my favourite comics from my archives every Saturday.
© Julia Evans 2024 | All rights reserved (see the FAQ for notes about licensing)