[SuSE Linux] routing problem when using diald
I set up a Linux boxen at work as a intranet-http/smb/internet-gateway server. I am using diald and ip-masquerading to provide internet access to the rest of the office (class C ethernet network). Linux box: 192.168.1.5 (this is eth0) my windoze box: 192.168.1.1 other boxes: 192.168.1.x The problem I am having is that if diald is running the server responds to all incoming packets by establishing a ppp link -- and does not complete any request until a ppp link is up even if the packet destination is the Linux box (eth0). For example: If I ping the Linux box it will not respond to the ping until a ppp connection to our isp has been established.-- then it will respond. If I try to access one of the web pages on the server it likewise will not send the requested file until a ppp link has been made. If I kill diald then I don't have any routing problems, the server responds to pings, smb name resolution, and httpd requests instantly. Please help so that I don't have to resort to using a win95 box as the dial-on-demand gateway again. Thank you for your help. Here is some system info that might be of help: Results of "route -n" when diald is not running: Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 25 eth0 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 13 lo Results of "route -n" when diald is running and ppp is down: Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 0.0.0.0 255.255.255.255 UH 2000 0 0 sl0 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 17 eth0 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 9 lo 0.0.0.0 0.0.0.0 0.0.0.0 UG 2000 0 0 sl0 Results of "route -n" when diald is running and ppp is up: Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 204.203.235.208 0.0.0.0 255.255.255.255 UH 500 0 0 ppp0 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 19 eth0 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 10 lo 0.0.0.0 0.0.0.0 0.0.0.0 U 500 0 7 ppp0 These are my diald options: mode ppp defaultroute reroute modem proxyarp device /dev/ttyS2 speed 115200 crtscts lock dynamic fifo /etc/diald.fifo connect "chat -f /etc/ppp/chatscript" local 192.168.0.1 remote 0.0.0.0 # <-- Is this why there are two entries in route table for ppp0? connect-timeout 35 retry-count 10 redial-timeout 1 This is the result of "ipfwadm -F -l -n": IP firewall forward rules, default policy: deny type prot source destination ports acc/m all 192.168.1.0/24 0.0.0.0/0 n/a please send email responces to bmessin@3-cities.com or sysop@hfginvest.com Thank you again for your assistance. -- Ben Messinger Linux user #79,342 (Better late than never!) - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
participants (1)
-
bmessin@3-cities.com