RE: 2 NICs Bridge + Router

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Grant
Didn't work comes up with cannot create bridge as already exists and
current bridge br0 stops working. Currently using Debian.  Will try the
debian forums to see if someone can help.  Thanks again for the
assistance.

# /etc/network/interfaces
auto lo
iface lo inet loopback

# public ip
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

# private ip
auto br0:1
iface br0:1 inet static
address 10.10.10.254
netmask 255.255.255.0
network 10.10.10.0
broadcast 10.10.10.255

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@xxxxxxxxxxxxxxx
[mailto:lartc-bounces@xxxxxxxxxxxxxxx] On Behalf Of Grant Taylor
Sent: Thursday, May 31, 2007 2:36 PM
To: Mail List - Linux Advanced Routing and Traffic Control
Subject: Re:  2 NICs Bridge + Router

On 05/31/07 07:22, William Bohannan wrote:
> 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.

I'll try.  I don't recognize the format of the file below, but I'll take

a stab at it.

> 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

auto br0:1
iface br0:1 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
> -----------------------------------------

Again this is just a guess and where I would start.  You may have better

luck seeking support through your distribution.



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


[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux