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". 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.)

ip addr list

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

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

ip route list

displays the route table.

default via 192.168.1.1
169.240.0.0/16 dev docker0

(192.168.1.1 is my router)

to see all route tables:
$ ip route list table all

change your MAC address

good for cafes with time limits (little devil face)

$ ip link set wlan0 down
$ ip link set eth0 address
  3c:a9:f4:d1: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

pretty colourful output!

--brief

show a summary