[1911] in linux-net channel archive

home help back first fref pref prev next nref lref last post

Problem with Linux/PPP route to the internet

daemon@ATHENA.MIT.EDU (Craig Malton)
Tue Feb 13 16:27:06 1996

Date: 	Tue, 13 Feb 1996 13:01:05 -0400 (AST)
From: Craig Malton <cmalton@asa.ca>
To: linux-net@vger.rutgers.edu
In-Reply-To: <Pine.LNX.3.91.960212000650.857A-100000@picayune.crgazette.com>

Hello,
	We are running Linux 1.2.13 with ppp 2.1.2b on our Ethernet 
network.  I have no problem running the connection and everything, the 
problem happens when the connection to the internet drops.  Today my ISP 
was doing some upgrades and they shut down their machines for 3 hours.  
During that 3 hours no one could use the internal network.  I have ip 
forwarding configured into the kernel and I am running routed on the Linux 
machine as well.

All the Windows machine have TCP/IP set up with a default gateway of 
199.126.206.1 and a broadcast address of 255.255.255.0, as well as their 
own IP addresses.

The problem is that when the PPP connection is down, no one can telnet or 
ftp into our other servers.  As I understand it (which probably isn't 
right, so please correct me), the packets are being sent to the Linux 
machine, but the linux machine seems to be choking on what to do then.  
When the PPP connection is up it works no problem.  

Does anyone know of a way around this?  Should I have a routed.conf file 
or be including some sort of switch when starting up the routed?

Thanks for your help

Craig

P.S I have not subscribed to this mailing list yet, so if you could 
please e-mail me be directly.  I should be subscribed by Thursday Feb 15th.




My dial-up script looks like this

 
echo atz > /dev/cua3
echo atz > /dev/cua3
/etc/ppp/fix-cua cua3
stty 38400 -tostop
stty hup < /dev/cua3
setserial /dev/cua3 spd_vhi
sleep 10
echo 'AT&C1&D2&D3' > /dev/cua3
/usr/lib/ppp/pppd connect '/usr/lib/ppp/chat -v "" ATDT******* CONNECT "" 
"ogin:"  "******"  "word:"  "*****"' /dev/cua3 38400 debug crtscts modem 
defaultroute XXX.XXX.XXX.XXX:YYY.YYY.YYY.YYY

My rc.inet1 file sets up these routes

/sbin/ifconfig lo 127.0.0.1
/sbin/route add -net 127.0.0.0
 
# IF YOU HAVE AN ETHERNET CONNECTION, use these lines below to configure the 
# eth0 interface. If you're only using loopback or SLIP, don't include the
# rest of the lines in this file.
 
# Edit for your setup.
IPADDR="199.126.206.1"  # REPLACE with YOUR IP address!
NETMASK="255.255.255.0" # REPLACE with YOUR netmask!
NETWORK="199.126.206.0" # REPLACE with YOUR network address!
BROADCAST="199.126.206.255"     # REPLACE with YOUR broadcast address, if you


I run routed like this
/usr/sbin/routed




home help back first fref pref prev next nref lref last post