Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [shawn@pwnie ~]% netstat -rn
- Kernel IP routing table
- Destination Gateway Genmask Flags MSS Window irtt Iface
- 0.0.0.0 10.7.0.1 0.0.0.0 UG 0 0 0 eth0
- 10.7.0.0 0.0.0.0 255.255.254.0 U 0 0 0 eth0
- 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
- 172.16.36.0 0.0.0.0 255.255.255.0 U 0 0 0 vmnet8
- 192.168.3.0 192.168.3.9 255.255.255.0 UG 0 0 0 tun0
- 192.168.3.9 0.0.0.0 255.255.255.255 UH 0 0 0 tun0
- 192.168.30.0 0.0.0.0 255.255.255.0 U 0 0 0 vmnet1
- [shawn@pwnie ~]% sudo su -
- root@pwnie:~# route add -net 192.168.2.0 netmask 255.255.255.0 gw 192.168.3.6
- SIOCADDRT: No such process
- root@pwnie:~# ping -c 1 192.168.3.6
- PING 192.168.3.6 (192.168.3.6) 56(84) bytes of data.
- 64 bytes from 192.168.3.6: icmp_req=1 ttl=64 time=91.8 ms
- --- 192.168.3.6 ping statistics ---
- 1 packets transmitted, 1 received, 0% packet loss, time 0ms
- rtt min/avg/max/mdev = 91.814/91.814/91.814/0.000 ms
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement