LARTC
[Top] [All Lists]

RE: [LARTC] 2 NICs Bridge + Router

To: "Grant Taylor" <gtaylor@riverviewtech.net>, "Mail List - Linux Advanced Routing and Traffic Control" <lartc@mailman.ds9a.nl>
Subject: RE: [LARTC] 2 NICs Bridge + Router
From: "William Bohannan" <WBohannan@spidersat.com.gh>
Date: Thu, 31 May 2007 20:22:06 +0800
Delivered-to: sp-com-lists@consult.net
Delivered-to: lartc-list@securepoint.com
Delivered-to: lartc@outpost.ds9a.nl
In-reply-to: <465B21D1.5080300@riverviewtech.net>
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>
References: <4D411FB02758FE45915E9724339093F62E4DE2@intranet.scpl.local> <465B21D1.5080300@riverviewtech.net>
Sender: lartc-bounces@mailman.ds9a.nl
Thread-index: AcehV8r3IrGQSUniSaGH4svF+8iiowCJeX7Q
Thread-topic: [LARTC] 2 NICs Bridge + Router
Thanks Grant, I am very new to combining NATing and Brigdge.  Please can
you possibly give an example on how to add the virtual interface.

Current /etc/networking/interfaces looks like this:
---------------------------------------
auto lo
iface lo inet loopback

auto br0
iface br0 inet static
address xxx.xxx.xxx.xxx
netmask 255.255.255.128
network xxx.xxx.xxx.xxx
broadcast xxx.xxx.xxx.xxx
gateway xxx.xxx.xxx.xxx

pre-up /sbin/ip link set eth0 up
pre-up /sbin/ip link set eth1 up
pre-up /usr/sbin/brctl addbr br0
pre-up /usr/sbin/brctl addif br0 eth0
pre-up /usr/sbin/brctl addif br0 eth1
-----------------------------------------

Kind Regards
William Bohannan


-----Original Message-----
From: lartc-bounces@mailman.ds9a.nl
[mailto:lartc-bounces@mailman.ds9a.nl] On Behalf Of Grant Taylor
Sent: Monday, May 28, 2007 6:39 PM
To: Mail List - Linux Advanced Routing and Traffic Control
Subject: Re: [LARTC] 2 NICs Bridge + Router

On 5/28/2007 8:12 AM, William Bohannan wrote:
> Hi wondering if anyone can help. I have two NICs on a debian sarge
based 
> system and current running as a bridge (br0) which consists of eth0
and 
> eth1.  Is it possible to add a virtual interface to the eth1 so I can 
> also do NAT on the box as well?  I have tried many times and keep
coming 
> up with errors.

Why not add virtual aliased interfaces to the br0 interface?  Do your 
NATing there.



Grant. . . .
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

<Prev in Thread] Current Thread [Next in Thread>