Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
From: Grant Taylor <gtaylor@riverviewtech.net>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] 2 NICs Bridge + Router
Date: Thu, 31 May 2007 14:36:18 +0000	[thread overview]
Message-ID: <465EDD62.3000602@riverviewtech.net> (raw)
In-Reply-To: <4D411FB02758FE45915E9724339093F62E4DE2@intranet.scpl.local>

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@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

  parent reply	other threads:[~2007-05-31 14:36 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-28 13:12 [LARTC] 2 NICs Bridge + Router William Bohannan
2007-05-28 18:39 ` Grant Taylor
2007-05-31 12:22 ` William Bohannan
2007-05-31 14:36 ` Grant Taylor [this message]
2007-06-04  9:46 ` William Bohannan
2007-06-04 16:28 ` William Bohannan
2007-06-04 16:53 ` Grant Taylor
2007-06-04 17:25 ` William Bohannan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=465EDD62.3000602@riverviewtech.net \
    --to=gtaylor@riverviewtech.net \
    --cc=lartc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox