Created
April 24, 2015 21:45
-
-
Save mw44118/fd0785fc567f14e5255a to your computer and use it in GitHub Desktop.
route stuff
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
$ 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