Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to configure openvpn in bridging configuration. First step of doing this requires creating bridge interface (br0), bridging together physical ethernet interface (eth0) and logical tap0 interface. This can be done with simple script but I want to use less popular approach, configuring bridge interface entirely via /etc/network/interfaces file (on Debian linux).

So I have removed all eth0 definitions form /etc/network/interfaces and replaced if with following br0 definition:

auto br0
iface br0 inet static
pre-up  openvpn --mktun --dev tap0
bridge_ports eth0 tap0
post-down openvpn --rmtun --dev tap0

This works as I expected, but there is only one problem: interface eth0 is part of bridge interface br0 AND it also receive it's own IP address from my DHCP server (located on same LAN where eth0 is connected).

My questions is: how to stop eth0 interface from obtaining it's own IP address? (It should only be part of br0 bridge).

share|improve this question
up vote 1 down vote accepted

Add the line iface eth0 inet manual to the /etc/network/interfaces file. This will tell network manager to ignore the eth0 file.

(Edited to include missing "inet".)

share|improve this answer
Thank you, it helped! (but line should be "iface eth0 inet manual" :-) – user71061 Mar 12 '11 at 15:39

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.