LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-15-2004, 05:03 PM   #1
justwantin
Member
 
Registered: Aug 2003
Location: Melbourne, Australia
Distribution: Slackware, Slackwarearm
Posts: 782

Rep: Reputation: 104Reputation: 104
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to link linux ppp client to windows ppp server? cyz Linux - Networking 2 12-11-2008 05:01 AM
Homenetwork with Wireless Router freshjones Linux - Wireless Networking 9 11-26-2005 05:50 PM
Mandriva wi-fi drops connection... shadowmoses Linux - Wireless Networking 1 08-18-2005 02:03 PM
Looking for man ppp-on and info ppp-on pages. rvijay Linux - General 1 02-26-2005 08:49 PM
want to setup homenetwork getinfo Linux - Networking 4 10-27-2004 05:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration