Skip to content

Instantly share code, notes, and snippets.

@rm-you
Created March 1, 2017 21:21
Show Gist options
  • Save rm-you/4b7c9ae2f50a4743360ac2166b5460ac to your computer and use it in GitHub Desktop.
Save rm-you/4b7c9ae2f50a4743360ac2166b5460ac to your computer and use it in GitHub Desktop.
parallels@ubuntu:~$ sudo route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default 10.211.55.1 0.0.0.0 UG 100 0 0 enp0s5
10.211.55.0 * 255.255.255.0 U 100 0 0 enp0s5
link-local * 255.255.0.0 U 1000 0 0 enp0s5
parallels@ubuntu:~$ sudo ip route list
default via 10.211.55.1 dev enp0s5 proto static metric 100
10.211.55.0/24 dev enp0s5 proto kernel scope link src 10.211.55.4 metric 100
169.254.0.0/16 dev enp0s5 scope link metric 1000
parallels@ubuntu:~$ sudo ip link list
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp0s5: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
link/ether 00:1c:42:0c:74:dd brd ff:ff:ff:ff:ff:ff
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment