Skip to content

Instantly share code, notes, and snippets.

@mw44118
Created April 24, 2015 21:45
Show Gist options
  • Save mw44118/fd0785fc567f14e5255a to your computer and use it in GitHub Desktop.
Save mw44118/fd0785fc567f14e5255a to your computer and use it in GitHub Desktop.
route stuff
$ netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 wlan0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 wlan0
192.168.10.0 0.0.0.0 255.255.255.0 U 0 0 0 eth3
@mw44118
Copy link
Author

mw44118 commented Apr 24, 2015

$ cat /etc/network/interfaces
iface eth3 inet static
address 192.168.10.0
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment