🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: aus.computers.linux
Article #56395

Ethernet Interface and PPP

#56395
From: Josh
Date: Tue, 04 Mar 1997 00:00
52 lines
2239 bytes
Hi, I really need some help here :)

I have a BNC ethernet at home, with three machines on it. Each machine
occupies one IP address in my class C subnet. One machine on the
network runs Linux, and it has two devices, a PPP device (once a
dialup connection is established) and an ethernet card. Let one think
that the ethernet card has an IP of 203.55.55.4 and the dialup once
established has an IP of 203.55.55.1.

Now, I want all the other machines on the network (203.55.55.2 and
203.55.55.3) to be able to talk to the rest of the internet via the
PPP connection, 203.55.55.1.

So far I can only make the Linux box talk to the internet, and the
Linux box talk to the other machines, but I can't get the other
machines to talk to the internet.

Network Diag:

+--+	     +--+		+--+
|    |   --------   |   |     -------    |    |  > > > > > > INTERNET
+--+ 	     +--+	            +--+

  3                2                  1,4       PPP

The 3 stands for 203.55.55.3, 2 for 203.55.55.2 and 1,4 for
203.55.55.1 and 203.55.55.4 (1 is the PPP link's IP and 4 is the
ethernet cards IP)

My routing table looks like this:

Destination:		Gateway:      	Dev:

203.32.32.1 		      *		ppp0
203.32.32.1		      *		ppp0
localnet			      * 		eth0
default			203.32.32.1	ppp0

203.32.32.1 is the machine at the other end of the PPP link. I am not
sure why my network isn't talking correctly, but if anyone has any
ideas, they would be GREATLY appreciated :)  If you have any troubles
understanding this stuff, please respond on this thread.

I am using DIP to establish the PPP connection, which in turn loads up
pppd, and sets the defaultroute with that double route string (the two
entries for 203.32.32.1) I am not sure why it does this, but if anyone
has ANY ideas, they would be muchly welcome :)

Thanks all,

Josh
Technical Details
Message-ID: <331c8d54.10238661@news.labyrinth.net.au>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 102983,d13fc619c9fa905a,start
X-Google-Attributes: gid102983,public
From: farside@labyrinth.net.au (Josh )
Subject: Ethernet Interface and PPP
Date: 1997/03/04
Message-ID: <331c8d54.10238661@news.labyrinth.net.au>
X-Deja-AN: 223118583
Organization: Labyrinth Connections Pty Ltd
Newsgroups: aus.computers.linux