What are you using to make the modem connection? Is it Diald, or
PPP's demand mode? More pertinent, do you have a dynamic or
static IP address with your ISP? If it's dynamic, you need to set a
value within proc, by this command:
echo 1 > /proc/sys/net/ipv4/ip_dynaddr
so that the first session, the one causing the connection, won't
have its address changed in midstream.
From: [EMAIL PROTECTED]
Date sent: Tue, 1 Jun 1999 12:51:57 -0400 (EDT)
To: [EMAIL PROTECTED]
Subject: [Masq] Strange losses of connection...
>
> Hello,
>
> I'm running RedHat 5.2 with IP masquerading in attempt to provide
> internet access to other computers in our office. As of now we do not
> have our dedicated data line yet so the linux box is using a modem to
> establish a ppp connection. It also has a NIC connecting it to the rest
> of our internal network.
>
> The firewalling & masquerading rules have all been working for me but then
> all of the sudden for no real reason nothing works anymore more.
>
> We are using internal ips of 10.x.x.x
> Also on our network are Novell fileservers and an NT server which acts
> normally as a DHCP server.
>
> The computer I am testing the linux gateway with is set with a static ip.
>
> The client computer seems to work fine with internet access for a while,
> but then, perhaps after a few momements of inactivity, i'll try to do
> something again and nothting will happen. So i attempt to ping an
> externeal ip... that returns "network unreachable" or some other similar
> message. I then check to make sure I can ping the gateway, that works
> fine, I check to see if the gateway can ping the client, that works fine,
> I ping a couple other things with the gateway to test connectivity and all
> is well. Then I try pinging from the client again and things work again?
> It seems that by pining the client from the gateway some connection is
> re-established or something. I'm not quite sure what is going on. If
> anyone has any insight on this I'd greatly appreciate it, or if there is
> any more detailed information I can provide let me konw. Thanks.
>
> Sincerely,
> Josh Estelle
>
>
> _______________________________________________
> Masq maillist - [EMAIL PROTECTED]
> http://tiffany.indyramp.com/mailman/listinfo/masq
> Admin requests can be handled by web (above) or
> [EMAIL PROTECTED]
_______________________________________________
Masq maillist - [EMAIL PROTECTED]
http://tiffany.indyramp.com/mailman/listinfo/masq
Admin requests can be handled by web (above) or [EMAIL PROTECTED]