[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

[LI] Routing problems/Adding routes



Hi

I have a dual homed host and I want to define some routes

I need to define 2 routes on my gateway
a) for a network
b) for a specific host
both have to be directed towards the same gateway

I did the following

# 192.168.0.22 is the ISDN router
# for the network
$ route add -net 212.29.11.0  gw  192.168.0.22
# This worked and I have a route now available in the routing table,
# and traceroute works fine. and reaches the router

# when I did
$ route add 193.28.102.117 gw 192.168.0.22
# This also worked(=the route added) but , when I do traceroute I see
$ traceroute to 193.28.102.117 (193.28.102.117), 30 hops max, 40 byte
packets
1  * * *
2  * * *
.....        i.e it does not get to 192,168.0.22 :-((

The  Kernel IP routing table is as below:
which seems fine to me, could it be that I have done something wrong in the
gateway ? or the routing itself is faulty

Destination     Gateway         Genmask         Flags   MSS Window  irtt
Iface
193.28.102.117  192.168.0.22    255.255.255.255 UGH     576 0  0 eth1
212.29.11.0     192.168.0.22    255.255.255.0   UG      576 0      0 eth1
..... plus other entries

Vishal

- --------------------------------------------------------------------
For more information on Linux in India visit http://www.linux-india.org/
The Linux India mailing list does not accept postings in HTML format.

------------------------------