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

Re: bridging eth1 to eth0

On Fri, Dec 29, 2006 at 11:04:01PM +0100, Sven Arvidsson wrote:
> On Fri, 2006-12-29 at 16:42 -0500, Matt Price wrote:
> > for stupid reasons I need to install via netboot on a compaq tablet
> > (hoping this will work, it's my last shot!).  I have an ubuntu desktop
> > with two ethernet cards, eth0 & eth1, and have set up dhcp & tftp on
> > eth1 as documented in various places on the web, e.g. here:
> > 
> > http://www.debian-administration.org/articles/478
> > 
> > 
> > this works fine to a point.  I have the ubuntu edgy netboot images
> > in /var/lib/tftpboot, my tablet starts up with pxe, finding the images,
> > and is ready to install but cannot find the broader internet 0-- it
> > doesn't seem to see past the eth1 subnet.  So, probably a simple
> > question:  how  do I enable the eth1 traffic to bridge across to eth0
> > and thus access the whole internet?  I guess it has something to do with
> > ip forwarding or ip masquarading or one of those very scary and arcane
> > pieces of dark magic.


> Bridging is done using the tools from the bridge-utils package, and
> isn't very hard to do, but unless I have misunderstood something, all
> you want is to turn on ip forwarding?
> echo 1 > /proc/sys/net/ipv4/ip_forward
> There might be a more permanent and Debian friendly way to do this, but
> it'll work in a pinch.

you can modify /etc/network/options. its very self-explanatory.


Attachment: signature.asc
Description: Digital signature

Reply to: