Skip to content

Instantly share code, notes, and snippets.

@unixnut
Created April 16, 2018 00:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save unixnut/db89d5ec71ba814968053539fb0fe622 to your computer and use it in GitHub Desktop.
Save unixnut/db89d5ec71ba814968053539fb0fe622 to your computer and use it in GitHub Desktop.
$ iptool
lo (loopback; up; ID: 1):
127.0.0.1/8 (host)
::1/128 (host)
eth0 (Ethernet; up; ID: 2; MAC addr: 00:xx:xx:xx:yy:yy):
192.168.1.0/24
1d67:bd71:56d9:13f3:5499:25b:cc84:f7e4/64
wlan0 (Ethernet; disabled; ID: 3; MAC addr: 00:xx:xx:xx:yy:yy):
no addresses
tun_foo (tun; up; ID: 123):
10.1.2.3/32 (remote: 10.1.2.2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment