LARTC
[Top] [All Lists]

[LARTC] Brouting on two NICS + 1 virtual NIC

To: <lartc@mailman.ds9a.nl>
Subject: [LARTC] Brouting on two NICS + 1 virtual NIC
From: "William Bohannan" <WBohannan@spidersat.com.gh>
Date: Wed, 16 May 2007 00:21:31 +0800
Delivered-to: sp-com-lists@consult.net
Delivered-to: lartc-list@securepoint.com
Delivered-to: lartc@outpost.ds9a.nl
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
Thread-index: AceXDRkYRBN0cdInT4O/aFdm9BDrGA==
Thread-topic: Brouting on two NICS + 1 virtual NIC
Currently have a bridge working, would now like to add a third virtual
nic so the machine can do nat as well to local users, however after a
crazy amount of ready cant seem to get my head around it.  Please help.
Have a working bridge below (etc/network/interfaces and eth0 is the
internet side interface so a virtual interface like eth1:0 would be nice
:)

auto lo
iface lo inet loopback
auto br0
iface br0 inet static
        address 193.220.59.77
        netmask 255.255.255.128
        network 193.220.59.0
        broadcast 193.220.59.127
        gateway 193.220.59.126

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 

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

<Prev in Thread] Current Thread [Next in Thread>
  • [LARTC] Brouting on two NICS + 1 virtual NIC, William Bohannan <=