Created
July 11, 2012 20:37
-
-
Save mayhem/3093209 to your computer and use it in GitHub Desktop.
This file contains 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
root@totoro:~# /sbin/ifconfig eth0 10.1.3.1 netmask 255.255.255.0 broadcast 10.1.3.255 | |
root@totoro:~# route | |
Kernel IP routing table | |
Destination Gateway Genmask Flags Metric Ref Use Iface | |
10.1.1.0 * 255.255.255.0 U 0 0 0 eth1 | |
10.1.3.0 * 255.255.255.0 U 0 0 0 eth0 | |
default gateway.localdo 0.0.0.0 UG 100 0 0 eth1 | |
root@baron:~# /sbin/ifconfig eth0 10.1.3.2 netmask 255.255.255.0 broadcast 10.1.3.255 | |
root@baron:~# route | |
Kernel IP routing table | |
Destination Gateway Genmask Flags Metric Ref Use Iface | |
10.1.1.0 * 255.255.255.0 U 0 0 0 eth1 | |
10.1.3.0 * 255.255.255.0 U 0 0 0 eth0 | |
default gateway.localdo 0.0.0.0 UG 100 0 0 eth1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment