Discussion Locked

Routing Problem

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
Can anyone help me that how to assign default route to dial-in users in order to have Internet access, though LAN users have Internet access? Everytime I connect my dial-in user through Windows 95/98 to my Linux RedHat 7.1 Server already hooked up to Internet, there is a message "not replacing existing default route".

5 replies

by pahosler

I think you will find that your problem is in diald, or whatever you are using to answer a modem ring. Somewhere in the answerers configuration file it is trying to switch the default route to ppp0 instead of eth0 and you definitely don't want it to do that. This should be a simple fix once you find the config file.

Hope this helps.
Paul

by schannachie

Hi,

The modem works like a net card, and as I see, may be your routing troble is that the modem does not know wich is de "gateway". So to check out the correct routes use de route command (man route :for more help). If you have to correct routes you can use the same command so you modify the kernel routing table, or edit the route.conf file at the /etc directory. Also it is a good idea to check out the auxiliary routing files like resolv.conf, and hosts.equiv, at the same directory.

Hope it helps

This discussion is closed to new replies.