Did you try man route ??
I did. You must have seen the link I attached (proof of an attempt to do my home-work). I would not have asked if I understood how to execute the solution given there.
Please do your home work well before posting on list. Here for your ignorance am pasting output directly from "man route"
You are making unnecessary presumptions. I might not know a lot about routing tables, but I dont like being addressed like this. .
route add -net 192.57.66.0 netmask 255.255.255.0 gw ipx4
[root@Sunflower ~]# route add -net 192.168.0.0 netmask 255.255.255.0 gw ipx4 ipx4: Host name lookup failure [root@Sunflower ~]#
Thats what I get.
This command adds the net "192.57.66.x" to be gatewayed through the former route to the SLIP interface."
I read this line. I dont know what is SLIP. Would this enable the packets to return successfully to the 192.168.0.x network? They are able to reach the 172.16.16.x network from 192.168.0.x but enable to return back.
What does he do if he reboots the server or restarts the network service?
Fortunately I know how to do this. One has to make an entry into one of the start-up scripts in /etc/init.d/... or /etc/rc.d... I dont remember the exact file, but I think I will be able to do it.
Cheers, Debarshi
On 8/2/06, Debarshi 'Rishi' Ray debarshi.ray@gmail.com wrote:
Fortunately I know how to do this. One has to make an entry into one of the start-up scripts in /etc/init.d/... or /etc/rc.d... I dont remember the exact file, but I think I will be able to do it.
That would take care of the reboots. But what would you do if you only restart the network service? Try to get the solution from google. If you don't get it, let us know and we would be glad to help. :-)
Regards, NMK.
Debarshi,
[root@Sunflower ~]# route add -net 192.168.0.0 netmask 255.255.255.0 gw ipx4 ipx4: Host name lookup failure [root@Sunflower ~]#
If your DNS doesnt know how to resolve ipx4 to an IP you shall get Host name lookup failures.
Try replacting ipx4 with IP on your external Interface.
Thanks & Regards, Mitul Limbani, Founder & CEO, Enterux Solutions, The Enterprise Linux Company (TM), www.enterux.com
n 8/2/06, Debarshi 'Rishi' Ray debarshi.ray@gmail.com wrote:
route add -net 192.57.66.0 netmask 255.255.255.0 gw ipx4
Does this work (example):
route add -net 224.0.0.0 netmask 240.0.0.0 dev eth0
Shamelessly picked out of man route ;-)
Regards, Siddhesh