Skip to contentSkip to conversation

brctl issues...

DISCUSSION Brian Wolfe 2 participants 3 messages Oct 12, 2004 – Oct 13, 2004

lore
Share & tools
lore
#0 lore raw

Ok, lets see if I can describe this well enough...

when I run brctl addif xen-bro vif1.0 it fails with the following...

vhost1:~# brctl addif xen-br0 vif56.0
can't add vif56.0 to bridge xen-br0: Cannot assign requested address

ifconfig dumps...

vhost1:~# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:50:8D:4F:33:D7  
          inet6 addr: fe80::250:8dff:fe4f:33d7/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2088696 errors:0 dropped:848 overruns:0 frame:0
          TX packets:2179062 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:1703264248 (1.5 GiB)  TX bytes:1955226623 (1.8 GiB)
          Interrupt:23 Base address:0xe400 

eth1 Link encap:Ethernet HWaddr 00:60:97:B6:7D:4A
inet6 addr: fe80::260:97ff:feb6:7d4a/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:5728 errors:0 dropped:0 overruns:0 frame:0 TX packets:2538 errors:0 dropped:0 overruns:0 carrier:0 collisions:3 txqueuelen:1000
RX bytes:1721585 (1.6 MiB) TX bytes:653564 (638.2 KiB) Interrupt:17 Base address:0xd000

lo Link encap:Local Loopback

          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:73036 errors:0 dropped:0 overruns:0 frame:0
          TX packets:73036 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:59921375 (57.1 MiB)  TX bytes:59921375 (57.1 MiB)

vif56.0 Link encap:Ethernet HWaddr 01:00:10:00:01:92
inet6 addr: fe80::300:10ff:fe00:192/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:4 errors:0 dropped:0 overruns:0 frame:0 TX packets:2 errors:0 dropped:3 overruns:0 carrier:0 collisions:0 txqueuelen:0
RX bytes:2360 (2.3 KiB) TX bytes:140 (140.0 b)

vif56.1 Link encap:Ethernet HWaddr 01:00:01:00:01:92
inet6 addr: fe80::300:1ff:fe00:192/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:4 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:5 overruns:0 carrier:0 collisions:0 txqueuelen:0
RX bytes:2360 (2.3 KiB) TX bytes:0 (0.0 b)

xen-br0 Link encap:Ethernet HWaddr 00:50:8D:4F:33:D7

          inet addr:10.11.0.32  Bcast:10.11.255.255  Mask:255.255.0.0
          inet6 addr: fe80::250:8dff:fe4f:33d7/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:253950 errors:0 dropped:0 overruns:0 frame:0
          TX packets:307125 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:41502095 (39.5 MiB)  TX bytes:105782488 (100.8 MiB)

xen-br1 Link encap:Ethernet HWaddr 00:60:97:B6:7D:4A
inet addr:10.0.1.32 Bcast:10.255.255.255 Mask:255.255.254.0 inet6 addr: fe80::200:ff:fe00:0/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:4206 errors:0 dropped:0 overruns:0 frame:0 TX packets:1613 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0
RX bytes:607414 (593.1 KiB) TX bytes:144808 (141.4 KiB)

The funny thing is, a little bit ago it was working just fine. Stock network script wrappered with the following to setup the bridges...

I've rebooted, restored the original scripts, reinstalled the kernel that was working, reinstalled xen from the same debs...

Any ideas why brctl would suddenly be unable to add the vifs to the bridges?

*boggled*

-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl

#1 lore raw
Quoted 1 line · Brian Wolfe

vif56.1 Link encap:Ethernet HWaddr 01:00:01:00:01:92

this is a multicast MAC address, since the LSB of the first octet is set. maybe that's your problem.

HTH,

cm.

Signature · 1 line
** christian mock in vienna, austria -- http://www.tahina.priv.at/~cm/
Quoted 1 line

www.flamingtext.com

I'd never even heard of that site. I wonder what it'd take to convince the owner's goverment that they're terrorists? -- Lionel

-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl

#2 lore raw

Should definitely add this little bit of info to the docs on settin the mac and a link to the standard RFC site(Whatevere that may be) on the net). I can forsee this one biting a lot of newbie people as a tempting thing to change. ;)

Quoted 10 lines · christian mock
Quoted 1 line · Brian Wolfe

vif56.1 Link encap:Ethernet HWaddr 01:00:01:00:01:92

this is a multicast MAC address, since the LSB of the first octet is set. maybe that's your problem.

HTH,

cm.

-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl