[NTLUG:Discuss] can not ping itself.
m m
llliiilll at hotmail.com
Wed May 2 14:56:19 CDT 2001
>From: MadHat <madhat at unspecific.com>
>>
>>>>What is the result of "route" ?
>>>Kernel IP routing table
>>>Destination Gateway Genmask Flags Metric Ref Use
>>>Iface
>>>192.168.1.0 192.168.1.1 255.255.255.0 U 0 0 0
>>>eth1
>>>0.0.0.0 65.10.71.194 0.0.0.0 UG 0 0 0
>>>eth0
>>>127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0
>>>lo
>>>
>>>(65.10.71.194 is assigned ip, 65.1071.129 is gateway ip assigned by
>>>@home)
>>
>>
>>I have always seen entries more like this (using your IPs)
>>
>>Kernel IP routing table
>>Destination Gateway Genmask Flags Metric Ref Use
>>Iface
>>0.0.0.0 65.10.71.129 0.0.0.0 UG 0 0 0
>>eth0
>>65.10.71.194 0.0.0.0 255.255.255.255 UH 0 0 0
>>eth0
>>65.10.71.0 0.0.0.0 255.255.255.0 U 0 0 0
>>eth0
>>127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
>
>sorry, forgot to explain what the difference... what you have is an entry
>for the default route to be your IP, not the gataway IP as it should
do you mean that I should have a line like
0.0.0.0 65.10.71.129 0.0.0.0 UG 0 0 0 eth0
instead of
0.0.0.0 65.10.71.194 0.0.0.0 UG 0 0 0 eth0
(see the different of 129 and 194, 194 is assigned ip, 129 is assigned gw)
>be. Also, you don't have a local route to your own IP.
ok, I guess this is my problem/question.
how do I know (or check) if the ipforward is enabled?
>
>What distro are you using?
RH 6.2
I would check that your GATEWAY setting
>is
>pointed to the gateway and not your own IP. But usually if that is the
>case, you can ONLY ping yourself.... but it is worth checking.
>
>
>
>--
>MadHat at unspecific.com
>
>_______________________________________________
>http://www.ntlug.org/mailman/listinfo/discuss
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
More information about the Discuss
mailing list