[LARTC] 2 NICs Bridge + Router
Grant Taylor
gtaylor at riverviewtech.net
Thu May 31 16:36:18 CEST 2007
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. . . .
More information about the LARTC
mailing list