[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Xen-users] Trouble creating DomU with 2 NICs
07/04/2013 11:23 AM, Alan McKay wrote:
Hey folks,
I created a DomU, installed Linux, and then realized I'd only given it
1 NIC so brought it down to edit the cfg file to give it another NIC.
Originally I just had :
vif = ['']
And so I guess the defaults worked for the 1 NIC. So I changed it to :
vif =
['mac=00:1e:68:8e:31:b8,bridge=xenbr0','mac=00:1e:68:8e:31:b9,bridge=xenbr1']
Where those MAC addresses are from the bridge in dom0, as seen here :
My Dom0 has :
eth0 Link encap:Ethernet HWaddr 00:1e:68:8e:31:b8
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:524414 errors:0 dropped:0 overruns:0 frame:0
TX packets:519320 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:450798894 (450.7 MB) TX bytes:362453554 (362.4 MB)
Interrupt:18 Memory:dffe0000-e0000000
eth1 Link encap:Ethernet HWaddr 00:1e:68:8e:31:b9
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:126552 errors:0 dropped:395 overruns:0 frame:0
TX packets:188670 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:15672743 (15.6 MB) TX bytes:234429457 (234.4 MB)
Interrupt:19 Memory:dffa0000-dffc0000
Your virtual interfaces (vif) have been given the macs of actual
interfaces and is causing a collision. The domU will always lose that
battle.
Change your vif line to use arbitrary macs in the Xen OUI space
(00:16:e3). Doesn't HAVE to be in that space but I think it's a good habit.
vif = [
'mac=00:16:3e:xx:yy:zz,bridge=xenbr0',
'mac=00:16:3e:aa:bb:cc,bridge=xenbr1'
]
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users
|