Neither bridged interface nor private IP interfaces created

Per http://jpetazzo.github.io/2013/10/16/co … e-network/">http://jpetazzo.github.io/2013/10/16/configure-docker-bridge-network/ I am trying to set up br0, as well as the private IP for the node.

/etc/network/interfaces:

iface eth0:0 inet static
  address 192.168.xxx.yyy
  netmask 255.255.128.0

auto br0
iface br0 inet static
  address 10.1.1.1
  netmask 255.255.255.0
  bridge_ports dummy0
  bridge_stp off
  bridge_fd 0

Neithersudo /etc/init.d/networking restart nor rebooting server shows either interface in ifconfig output.

3 Replies

Can you show your entire /etc/network/interfaces file?

Keep in mind that if you configure private networking on eth0:0, you should also configure eth0's primary IP address statically.

Keep in mind that on some distros (Ubuntu sticks out in my mind) the output of ifconfig just doesn't show aliases like eth0:0

  • Les

@akerl:

Keep in mind that on some distros (Ubuntu sticks out in my mind) the output of ifconfig just doesn't show aliases like eth0:0

  • Les

It's always worked for me on Ubuntu Desktop and Server.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct