[tech] New gear

Michael Deegan michael at ucc.gu.uwa.edu.au
Mon Jan 19 10:04:34 WST 2009


On Mon, Jan 19, 2009 at 02:10:33AM +0900, Adrian Chadd wrote:
> Also, of course, some distributions (hai debian!) don't like you bringing up an
> interface with no IP address, kjust so you can use it as a bridging interface.
> I'd love to know how to tell ifup/ifdown to do this without putting in fake
> IP's into the interface. (hint: 0.0.0.0 doesn't work in all distributions.)

What about something like:

  auto bridge
  iface bridge inet manual
	up ifconfig ethX up
	down ifconfig ethX down ||true

(doing the same using iproute2 is left as an exercise for the reader)

Debian's /etc/network/interfaces is actually quite flexible.

-MD

-- 
-------------------------------------------------------------------------------
Michael Deegan           Hugaholic          http://wibble.darktech.org/gallery/
------------------------- Nyy Tybel Gb Gur Ulcabgbnq! -------------------------



More information about the tech mailing list