Hi all,
I have a sample list of routing table entries.
I want one IP to act as gateway for a set of
addresses, which in reality is not directly reachable.
Route for that IP itself needs to go through another
gateway, which is directly reachable. That is, I want
the kernel to look up gateway for the so called
gateway(not directly reachable) in the routing table.
For clarity, I'll put the routing table here:
Destination Gateway Genmask Flags
Iface
10.6.128.32 10.6.128.33 255.255.255.224 UG eth0
10.6.15.0 0.0.0.0 255.255.255.0 U eth0
10.6.128.0 10.6.0.115 255.255.128.0 UG eth0
10.6.0.0 10.6.0.115 255.255.0.0 UG eth0
10.6.0.0 0.0.0.0 255.255.0.0 U eth0
0.0.0.0 10.6.0.115 0.0.0.0 UG eth0
The ip of my comp is 10.6.15.43. I want to reach
10.6.128.32 subnet through 10.6.128.33 which is not
directly connected to me. As 10.6.128.33 is not
directly in my reach, I want the kernel to contact
10.6.128.33 itself using 10.6.128.0 entry, ie through
10.6.0.115.
Thanks.
regards,
Y Pradeep Kumar
__________________________________________________________
Yahoo! India Matrimony: Find your partner online. Go to http://yahoo.shaadi.com
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html