Re: Bridging
- From: Pascal Hambourg <boite-a-spam@xxxxxxxxxxxxxxx>
- Date: Sat, 05 May 2007 16:32:44 +0200
Hello,
Chris a écrit :
I've a linux box with say, eth0, eth1. This is using PPPoE to connect
to the internet, hence I have a ppp0 interface tied to eth0. Now, my
ISP gives me a 8 address subnet, say, a.b.c.0-7. The linux box is the
router, and is .6, and I'd like to be able IPs .1-.5 for my own hosts,
connected via a switch to eth1.
My first thought was to create a bridge containing ppp0 and eth1,
although I understand that this isn't possible.
I'm afraid there is no straightforward way to bridge together link layer protocols as different as ethernet and PPP.
(Could one bridge, say ppp0 and ppp1?)
Theroetically yes, but AFAIK the bridging code in Linux only works with ethernet.
What is the correct way to achieve this?
Routing. Simple good old plain static routing.
Enable IP forwarding on the box and give eth1 the address a.b.c.6/29. Give each host an address within a.b.c.1-5/29 and default gateway a.b.c.6.
.
- Follow-Ups:
- Re: Bridging
- From: Chris
- Re: Bridging
- References:
- Bridging
- From: Chris
- Bridging
- Prev by Date: Problem with TCP Connection Close
- Next by Date: Re: Bridging
- Previous by thread: Bridging
- Next by thread: Re: Bridging
- Index(es):
Relevant Pages
|