Re: [Hampshire] Routing traffic

Top Page

Reply to this message
Author: Simon Capstick
Date:  
To: Hampshire LUG Discussion List
Subject: Re: [Hampshire] Routing traffic
Simon Huggins wrote:
> On Wed, Oct 24, 2007 at 10:35:36AM +0100, Simon Capstick wrote:
>> auto mybridge
>> iface mybridge inet dhcp
>> pre-up ifconfig eth0 down
> [..]
>
> Actually in Debian it's mostly already configured for you and I think
> all you need is:
>
> auto mybridge
> iface mybridge inet dhcp
>     bridge_ports eth0 eth1

>
> And it does the rest.
>
> See /usr/share/doc/bridge-utils/README.Debian.gz for details on the rest
> of the syntax.
>
> Simon.
>


Thanks for pointing that out Simon. That makes it trivial to implement,
good old Debian :-)

So /etc/network/interfaces for John should now be...

auto lo
iface lo inet loopback

auto mybridge
iface mybridge inet dhcp
bridge-ports eth0 eth1


Rather simple after all - thanks to everyone who helped me help John ;-)

Simon