Link to home
Start Free TrialLog in
Avatar of lionmaster
lionmaster

asked on

Making the server route all non-local IP-requests to a ISDN-routers

I've got a Red Hat 5.2 server running the standard kernel. I also have a DNS on it. I want it to route all IP-requestst that are not for our network segment to go to a ISDN-router (a 3COM OfficeConnect 511) which would call our ISP and make  an internet connection. I've got also a default route to a gateway (the router) configured.

I've tried anything I could figure out and read about all the HOWTO's on the networking (I think). I'm desperate.
Avatar of alexbik
alexbik

What exactly is your problem? Is your default route not working?
Could you show us the output of route -n ?
Please let us know what the IP address is your router has on your network.

Alex.
ASKER CERTIFIED SOLUTION
Avatar of harrys
harrys

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of lionmaster

ASKER

Whenever I configure a W95 with as DNS the Linux server and Gateway the router it whatever I do, it does not find the way out. Now, I know it is supposed to find a DNS for translation (I don't know where to put the ISP's DNS's in the DNS) but when I use the IP-address directly it doesn't work either.

Route -n:
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
192.168.221.0   0.0.0.0         255.255.255.0   U      1500 0          0 eth0
127.0.0.0       0.0.0.0         255.0.0.0       U      3584 0          0 lo
0.0.0.0         192.168.221.42  0.0.0.0         UG     1500 0          0 eth0

The subnet is 192.168.221.0 .
The router has IP 192.168.221.42 (not very much according to standards) Does it have to be 1?