Skip to content

Instantly share code, notes, and snippets.

@andrewroth
Created September 7, 2010 18:57
Show Gist options
  • Save andrewroth/568854 to your computer and use it in GitHub Desktop.
Save andrewroth/568854 to your computer and use it in GitHub Desktop.
Script started on Tue Sep 7 16:51:12 2010
andrew2-openpandora:~$ route add           sudo route add df efault g  w 192.168.1z .1
andrew2-openpandora:~$ ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
From 192.168.1.149 icmp_seq=1 Destination Host Unreachable
From 192.168.1.149 icmp_seq=2 Destination Host Unreachable
From 192.168.1.149 icmp_seq=3 Destination Host Unreachable
^C
--- 192.168.1.1 ping statistics ---
5 packets transmitted, 0 received, +3 errors, 100% packet loss, time 4056ms
, pipe 3
andrew2-openpandora:~$ ping 206.190.60.37
PING 206.190.60.37 (206.190.60.37) 56(84) bytes of data.
From 192.168.1.149 icmp_seq=1 Destination Host Unreachable
From 192.168.1.149 icmp_seq=2 Destination Host Unreachable
From 192.168.1.149 icmp_seq=3 Destination Host Unreachable
From 192.168.1.149 icmp_seq=4 Destination Host Unreachable
From 192.168.1.149 icmp_seq=5 Destination Host Unreachable
From 192.168.1.149 icmp_seq=6 Destination Host Unreachable
From 192.168.1.149 icmp_seq=7 Destination Host Unreachable
From 192.168.1.149 icmp_seq=8 Destination Host Unreachable
From 192.168.1.149 icmp_seq=9 Destination Host Unreachable
^C
--- 206.190.60.37 ping statistics ---
10 packets transmitted, 0 received, +9 errors, 100% packet loss, time 9106ms
, pipe 3
andrew2-openpandora:~$ route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 2 0 0 wlan0
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 wlan0
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 wlan0
andrew2-openpandora:~$ route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 * 255.255.255.0 U 2 0 0 wlan0
^C
andrew2-openpandora:~$ exit
exit
Script done on Tue Sep 7 16:55:46 2010
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment