************ netstat -i ************* Kernel Interface table Iface MTU Met RX-OK RX-ERR RX-DRP RX-OVR TX-OK TX-ERR TX-DRP TX-OVR Flg eth0 1500 0 16122867 0 0 0 15395050 0 0 0 BMRU lo 16436 0 5370725 0 0 0 5370725 0 0 0 LRU wlan0 1500 0 2068464 0 0 0 3524310 0 0 0 BMRU wmaster0 0 0 0 0 0 0 0 0 0 0 RU ************ netstat -rn ( same as route -n ) ************* Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 wlan0 192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 eth0 0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 wlan0 ************ contents of /etc/resolv.conf ************* # Generated by NetworkManager #nameserver 192.168.0.1 nameserver 203.12.160.35 nameserver 203.12.160.36 nameserver 208.67.222.222 nameserver 208.67.220.220 ************ contents of /etc/hosts ************* 127.0.0.1 localhost 127.0.1.1 box 192.168.1.12 frontend # The following lines are desirable for IPv6 capable hosts ::1 localhost ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters ff02::3 ip6-allhosts ************ contents of /etc/network/interfaces ************* auto lo iface lo inet loopback address 127.0.0.1 netmask 255.0.0.0 #auto wlan0 #iface wlan0 inet static #address 192.168.1.10 #netmask 255.255.255.0 #network 192.168.1.0 #broadcast 192.168.1.255 #gateway 192.168.1.1 #route add default gw 192.168.1.1 #wireless-essid linksys #up route add default gw 192.168.1.1 #pre-up wpa_supplicant -B -Dwext -iwlan0 -c/etc/wpa_supplicant.conf #post-down killall -q wpa_supplicant #up route add default gw 192.168.1.1 #netgear router auto eth0 iface eth0 inet static address 192.168.0.10 netmask 255.255.255.0 network 192.168.0.0 broadcast 192.168.0.255 gateway 192.168.0.1 up route add default gw 192.168.0.1 ##linksys router #auto eth0 #iface eth0 inet static #address 192.168.1.14 #netmask 255.255.255.0 #network 192.168.1.0 #broadcast 192.168.1.255 #gateway 192.168.1.1 #iface wlan0 inet static #address 192.168.1.10 #netmask 255.255.255.0 #wireless-essid linksys #gateway 192.168.1.1 #pre-up wpa_supplicant -B -Dwext -iwlan0 -c/etc/wpa_supplicant.conf #post-down killall -q wpa_supplicant #wireless-keymode restricted #wireless-key 7503-9DAA-86A5-BDC8-03A6-8685-46 #pre-up wpa_supplicant -Bw -Dwext -iwlan2 -c/etc/wpa_supplicant.conf #post-down killall -q wpa_supplicant #pre-up wpa_supplicant -Bw -Dwext -iwlan0 -c/etc/wpa_supplicant.conf #post-down killall -q wpa_supplicant ************ dig google.com ************* ; <<>> DiG 9.5.1-P2 <<>> google.com ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 56837 ;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 4, ADDITIONAL: 4 ;; QUESTION SECTION: ;google.com. IN A ;; ANSWER SECTION: google.com. 49 IN A 209.85.171.100 google.com. 49 IN A 74.125.67.100 google.com. 49 IN A 74.125.45.100 ;; AUTHORITY SECTION: google.com. 321163 IN NS ns2.google.com. google.com. 321163 IN NS ns4.google.com. google.com. 321163 IN NS ns1.google.com. google.com. 321163 IN NS ns3.google.com. ;; ADDITIONAL SECTION: ns1.google.com. 322555 IN A 216.239.32.10 ns2.google.com. 322555 IN A 216.239.34.10 ns3.google.com. 322555 IN A 216.239.36.10 ns4.google.com. 322555 IN A 216.239.38.10 ;; Query time: 100 msec ;; SERVER: 203.12.160.35#53(203.12.160.35) ;; WHEN: Tue May 5 22:02:40 2009 ;; MSG SIZE rcvd: 212 ************ host google.com ************* google.com has address 209.85.171.100 google.com has address 74.125.67.100 google.com has address 74.125.45.100 google.com mail is handled by 10 smtp2.google.com. google.com mail is handled by 10 smtp3.google.com. google.com mail is handled by 10 smtp4.google.com. google.com mail is handled by 10 smtp1.google.com. ************ nslookup ************* Server: 203.12.160.35 Address: 203.12.160.35#53 Non-authoritative answer: Name: google.com Address: 209.85.171.100 Name: google.com Address: 74.125.67.100 Name: google.com Address: 74.125.45.100 ************ nslookup using opendns ************* Server: 208.67.222.220 Address: 208.67.222.220#53 Non-authoritative answer: Name: google.com Address: 209.85.171.100 Name: google.com Address: 74.125.67.100 Name: google.com Address: 74.125.45.100