LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   ppp drops out on homenetwork (https://www.linuxquestions.org/questions/linux-networking-3/ppp-drops-out-on-homenetwork-193914/)

justwantin 06-15-2004 05:03 PM

ppp drops out on homenetwork
 
Can anyone point me in the right direction. I'm trying to sort out a three box network and understand its workings before I switch to adsl. I seem to loose my ppp connection on the server when there is traffic between the server and the other two boxes.

Before you read on, a simple question first, I have gone from a two box network (static IP) to a three box network using a switch (static IP). Does that switch need to be assigned an IP? If so how? Maybe if the answer is yes everything below is redundant.

I've had a small home network setup with one client/workstation and one server/workstation. I used a crossover cable, box to box, and client could intiate dialup connection on server and had printshares from both slack and win2k (dual boot)

This has worked well for 14 months or so but this weekend I loaded slack on a
third box and conected the three together with a switch and straight cables.

I can ping and ssh into any box on the network. However, once I have had network
traffic into my server I loose my internet connection and the capacity to
initiate a dialup connection until I reboot the server.

If I am logged onto the net in the server and start up one of the clients,
ppp0 shuts down. I can restart with ppp-on (once) but then if I ssh the client that
is up I'll loose ppp0 again and this time ppp-on will fail if I try to
re-connect.

For some background here's /etc/hosts listing from the server
127.0.0.1_______________________localhost
192.168.1.1_____________rick.miles.home rick
192.168.1.2_____________leila.miles.home leila
192.168.1.3_____________box.miles.home box

And heres' my /etc/rc.d/rc.inet1

#! /bin/sh
#####################################################
# /etc/rc.d/rc.inet1
# This script is used to bring up the various network interfaces.
# Changed from the original 25/10/03
# The original rc.inet1 is saved here in /etc/rc.d as rc.inet-orig
#####################################################
# LOOPBACK

/sbin/ifconfig lo 127.0.0.1
echo "/sbin/ifconfig lo 127.0.0.1"

/sbin/route add -net 127.0.0.0 netmask 255.0.0.0 lo
echo "/sbin/route add -net 127.0.0.0 netmask 255.0.0.0 lo"

# Bring up network

ifconfig eth0 192.168.1.1 netmask 255.255.255.0 up
echo _"ifconfig eth0 192.168.1.1 netmask 255.255.255.0 up"

route add -net 192.168.1.0 netmask 255.255.255.0 eth0
echo "route add -net 192.168.1.0 netmask 255.255.255.0 eth0"

# End of /etc/rc.d/rc.inet1


All times are GMT -5. The time now is 03:24 AM.