LARTC
[Top] [All Lists]

[LARTC] Bridge and Router on the same device

To: lartc@mailman.ds9a.nl
Subject: [LARTC] Bridge and Router on the same device
From: "Net Cerebrum" <netcerebrum@gmail.com>
Date: Mon, 13 Nov 2006 11:31:50 +0530
Delivered-to: sp-com-lists@consult.net
Delivered-to: lartc-list@securepoint.com
Delivered-to: lartc@outpost.ds9a.nl
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=KV4T8tnkrTx2rXpYG/WWHE8w6bG+WwfEdi/zzft8IGxS3brQBIcHfXQpLjTmy3uwwISmvB6Uur+Lh+SECXCgLS+tuGdaUgPorIvnFtSvsPrDfuvPES2OHAAHu7+QSbMZaZ6AylXT5v9UCszs22BpZuodPZ1guOIujmgbc5Am1gs=
List-archive: <http://mailman.ds9a.nl/pipermail/lartc>
List-help: <mailto:lartc-request@mailman.ds9a.nl?subject=help>
List-id: "Mailinglist of the Linux Advanced Routing &amp; Traffic Control project" <lartc.mailman.ds9a.nl>
List-post: <mailto:lartc@mailman.ds9a.nl>
List-subscribe: <http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc>, <mailto:lartc-request@mailman.ds9a.nl?subject=subscribe>
List-unsubscribe: <http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc>, <mailto:lartc-request@mailman.ds9a.nl?subject=unsubscribe>
Sender: lartc-bounces@mailman.ds9a.nl
I want to configure a device with three network interfaces where two of them would bridge two segments of the LAN subnet and the third one would be connected to the WAN link.

eth0 - 10.10.10.2/24 to be connected to the internet gateway having IP 10.10.10.1/24 (also the default gateway for the device)
eth1 and eth2 bridged as br0 with IP address 172.16.100.1 connected to different segments of the subnet 172.16.100.0/24.


                               WAN (10.10.10.1)
                                         |
                                         |
                                eth0 (10.10.10.2)



-----eth1                                                        eth2------
LAN (172.16.100.0/24)                                LAN (172.16.100.0/24)


I plan to configure the Bridge IP ( 172.16.100.1) as the default gateway for the LAN and also regulate the traffic between the two bridged interfaces (eth1 and eth2) using a user space tool. Further since the traffic meant for internet would pass through eth0, there would be a need to regulate the traffic between eth1 and eth0 and also eth2 and eth0.

Is the above arrangement feasible ? Would it be possible to define static routes on this device itself involving hosts reachable through either of the interfaces.

Thank you in advance.



_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
<Prev in Thread] Current Thread [Next in Thread>