Ask Ubuntu is a question and answer site for Ubuntu users and developers. 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 need to add an alias ( to my bridged interfaces on my Ubuntu Server.

My /etc/network/interfaces is:

auto br0
iface br0 inet static
        bridge_ports    eth0
        bridge_stp      off
        bridge_maxwait  0
        bridge_fd       0

Any ideas?

share|improve this question

migrated from May 25 '11 at 11:37

This question came from our site for professional and enthusiast programmers.

Add the next lines to your br0 configuration (e.g. after bridge_fd 0):

up /sbin/ip addr add dev br0
down /sbin/ip addr del dev br0

When the interface is brought up, the IP address is added to device br0. Similarly, the address is removed when the interface goes down.

share|improve this answer

Your Answer


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