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

Re: [Xen-users] bridge interface with (initially) no ports


  • To: Xen User-List <xen-users@xxxxxxxxxxxxxxxxxxx>
  • From: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
  • Date: Sat, 27 Jun 2009 12:49:51 +0700
  • Delivery-date: Fri, 26 Jun 2009 22:50:45 -0700
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

On Sat, Jun 27, 2009 at 9:50 AM, James
Harper<james.harper@xxxxxxxxxxxxxxxx> wrote:
> I use some completely virtual networks inside my DomU's. In Dom0 I want
> to have the following in /etc/network/interfaces:
>
> auto br-wan
> iface br-wan inet static
>  address x.y.z.254
>  netmask 255.255.255.0
>  bridge_maxwait 0
>  bridge_ports none
> up ip addr add 2002:xy:xfe:3::1/64 dev $IFACE
>
> but of course when the br-wan interface comes up, it has no mac address
> because it has no ports yet to inherit a mac address from.

Here's what I get on my Ubuntu
# brctl addbr br-test1
# ip link show br-test1
12: br-test1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN
    link/ether ea:32:77:5d:2d:f7 brd ff:ff:ff:ff:ff:ff

it has a mac address by default.

Even if it doesn't have a mac address, you should be able to assign one
# ip link set br-test1 addr 00:16:3e:00:00:01
# ip link show br-test1
12: br-test1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN
    link/ether 00:16:3e:00:00:01 brd ff:ff:ff:ff:ff:ff

-- 
Fajar

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.