/* HINT: Search archives @ http://www.indyramp.com/masq/ before posting! 
/* ALSO: Don't quote this header. It makes you look lame :-) */


>This is what my routing table looks like on my Linux only box with ips
>on the internal network only after a fresh boot:
>
>[sd@sparky sd]$ netstat -rn
>Kernel IP routing table
>Destination     Gateway         Genmask         Flags   MSS Window  irtt
>Iface
1 >24.163.164.1    192.168.173.1   255.255.255.255 UGH       0 0          0
  >eth0
2 >192.168.173.6   192.168.173.1   255.255.255.255 UGH       0 0          0
  >eth0
3 >192.168.173.6   0.0.0.0         255.255.255.255 UH        0 0          0
  >eth0
4 >192.168.173.0   0.0.0.0         255.255.255.0   U         0 0          0
  >eth0
5 >127.0.0.0       0.0.0.0         255.0.0.0       U         0 0          0
  >lo
6 >0.0.0.0         192.168.173.1   0.0.0.0         UG        0 0          0
  >eth0

This is a mess!

Line 6 says that the IP address 24.163.164.1 is on eth0 which is accessable
via 192.168.173.1.  This is impossible to do.  At minimum, you would have
to do IP Aliasing on eth0 to put two IPs on it but it isn't recommended.

Line 2 says that IP 192.168.173.3 is on eth0 and its default gw is 
192.168.178.1.  This is probably a host but isn't required.

Line 3 says the 192.168.178.6 IP is on eth0.  Again, a unnecessary host
route.

Line 4 says that 192.168.178.0 network is on eth0.  Good.

Line 5 says that 127.0.0.0 is on the lo0 interface.  Good.

Line 6 says that the default route OUT is on eth0 with an IP of  192.168.173.1.
 
This is probably good buy using the WRONG interface.  You really
need another interface line eth1, ppp0, etc.


>[sd@sparky sd]$ ping citilink.com
>PING citilink.com (209.98.8.9) from 192.168.173.6 : 56(84) bytes of
>data.
>>From 192.168.173.1: Redirect Host(New nexthop:
>nic-163-c164-001.mn.mediaone.net (24.163.164.1))
>64 bytes from foshay.citilink.com (209.98.8.9): icmp_seq=0 ttl=236
>time=142.7 ms

This is happening because your routing is HOSED.  Explain to me
your IP addresses, interface names (eth0, eth1, ppp0, etc), and 
I can help you fix this.  What distro is this?


--David
.----------------------------------------------------------------------------.
|  David A. Ranch - Linux/Networking/PC hardware         [EMAIL PROTECTED]  |
!----                                                                    ----!
`----- For more detailed info, see http://www.ecst.csuchico.edu/~dranch -----'

_______________________________________________
Masq maillist  -  [EMAIL PROTECTED]
Admin requests can be handled at http://www.indyramp.com/masq-list/ -- 
THIS INCLUDES UNSUBSCRIBING!
or email to [EMAIL PROTECTED]

PLEASE read the HOWTO and search the archives before posting.
You can start your search at http://www.indyramp.com/masq/
Please keep general linux/unix/pc/internet questions off the list.

Reply via email to