thanx krishan
The lan side interface is definitly up for we are using it on thelocal
lan..
ifconfig on the first machine (router) gives all the ip's (192.168.3.65 and
203.122.21.204) for which the network card has been configured and there
is actually just one NIC card.
I am also attaching the ifconfig output to this mail.
As far as pinging is concerned i am able to ping from either way .. no
problems.. However pinging some external ip from the second computer
gives the following
[user@testbed user]$ ping 203.122.21.193
PING 203.122.21.193 (203.122.21.193) from 192.168.3.39 : 56(84) bytes of
data.
>From ourserv (192.168.3.65): Redirect Host(New nexthop: 203.122.21.193)
>From ourserv (192.168.3.65): Redirect Host(New nexthop: 203.122.21.193)
>From ourserv (192.168.3.65): Redirect Host(New nexthop: 203.122.21.193)
>From ourserv (192.168.3.65): Redirect Host(New nexthop: 203.122.21.193)
>From ourserv (192.168.3.65): Redirect Host(New nexthop: 203.122.21.193)
--- 203.122.21.193 ping statistics ---
5 packets transmitted, 0 packets received, 100% packet loss
Whats the problem..
Any insight..
Anand Raman
On Thu, Nov 30, 2000 at 08:37:35AM +0530, Krishnan Venkatachalam wrote:
>Anand Raman wrote:
>>
>> hi guys
>> I am faced with a simple netorking problem
>>
>> One of my linux machine (SuSE 6.2) (called ourserv) is connected to the net..
>> The default route has been properly set and shows in the route -n command
>> ourserv:~ # route -n
>> Kernel IP routing table
>> Destination Gateway Genmask Flags Metric Ref Use Iface
>> 203.122.21.192 0.0.0.0 255.255.255.224 U 0 0 0 eth0
>> 192.168.3.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
>> 0.0.0.0 203.122.21.193 0.0.0.0 UG 0 0 0 eth0
>>
>> I am also trying to forward all packets from another linux machine
>> (called testbed) thru this. For this purpose i entered a default route for
>> this other machine too..
>> [root@testbed /root]# route -n
>> Kernel IP routing table
>> Destination Gateway Genmask Flags Metric Ref Use Iface
>> 192.168.3.39 0.0.0.0 255.255.255.255 UH 0 0 0 eth0
>> 192.168.3.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
>> 0.0.0.0 192.168.3.65 0.0.0.0 UG 0 0 0 eth0
>>
>> But things dont seem to be working.. I am not able to ping or connect to any
>> external ip address..
>> What could be the problem.. The first machine has ip_forward option
>> enabled..
>
>
>Your first machine's (gateway) routing table does not show your LAN side
>(192.168.3.(65??) (possibly on eth1 as UH)) as being recognised and up.
>
>Do run an ifconfig and check if the LAN side interface on your gateway
>machine is up and working. Check using ping from gateway to second LAN
>machine and the reverse too.
>
>
>---VK
>
>----------------------------------------------
>LIH is all for free speech. But it was created
>for a purpose. Violations of the rules of
>this list will result in stern action.
eth0 Link encap:Ethernet HWaddr 00:20:18:8F:B9:F9
inet addr:192.168.3.65 Bcast:192.168.3.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1663920 errors:0 dropped:0 overruns:0 frame:0
TX packets:1533705 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
Interrupt:11 Base address:0x7400
eth0:1 Link encap:Ethernet HWaddr 00:20:18:8F:B9:F9
inet addr:203.122.21.204 Bcast:203.122.21.223 Mask:255.255.255.224
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:11 Base address:0x7400
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:3924 Metric:1
RX packets:1832283 errors:0 dropped:0 overruns:0 frame:0
TX packets:1832283 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
----------------------------------------------
An alpha version of a web based tool to manage
your subscription with this mailing list is at
http://lists.linux-india.org/cgi-bin/mj_wwwusr