[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] Dom0-Domu Communication
Thank you for your quick answer, So, I manage to force a mac inside my dom1. Heres my config: # cat /etc/xen/dom1 kernel = "/boot/vmlinuz-2.6.32.25-xen" #CHANGE IT TO YOUR VMLINUZ
ramdisk = "/boot/initrd.img-2.6.32.25-xen" #CHANGE IT TO YOUR INITRD memory = 512 name = "dom1" vif = ['mac=00:16:3e:63:29:ab,bridge=xenbr0'] #vif = ['bridge=xenbr0'] #disk = ['file:/xen/domains/dom1/diskimage.img,xvda1,w','file:/xen/domains/dom1/swapimage.img,xvda2,w'] disk = ['phy:/dev/lvm-vol/dom1,xvda1,w','phy:/dev/lvm-vol/dom1swp,xvda2,w']
#DHCP - remove the ip, gateway and netmask lines, and include:# dhcp = "dhcp" #ip = "ip add" #gateway = "ip add" #netmask = "255.255.0.0"
dhcp = "dhcp" root = "/dev/xvda1 ro" serial= "/dev/hvc0" extra = '4' > >
>
ifconfig inside dom0: # ifconfig eth0 Link encap:Ethernet HWaddr 70:5a:b6:94:b8:65 inet addr:16.127.73.174 Bcast:16.255.255.255 Mask:255.0.0.0
inet6 addr: fec0::f:725a:b6ff:fe94:b865/64 Scope:Site inet6 addr: 2002:107f:493a:f:725a:b6ff:fe94:b865/64 Scope:Global inet6 addr: fe80::725a:b6ff:fe94:b865/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:5348 errors:0 dropped:0 overruns:0 frame:0 TX packets:1144 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0 RX bytes:936544 (936.5 KB) TX bytes:204687 (204.6 KB) 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:120 errors:0 dropped:0 overruns:0 frame:0 TX packets:120 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0 RX bytes:10272 (10.2 KB) TX bytes:10272 (10.2 KB) peth0 Link encap:Ethernet HWaddr 70:5a:b6:94:b8:65 inet addr:16.127.73.175 Bcast:16.127.75.255 Mask:255.255.252.0
inet6 addr: fe80::725a:b6ff:fe94:b865/64 Scope:Link UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1 RX packets:5944 errors:0 dropped:0 overruns:0 frame:0
TX packets:1304 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:100 RX bytes:1059860 (1.0 MB) TX bytes:215651 (215.6 KB) Memory:d7400000-d7420000
vif1.0 Link encap:Ethernet HWaddr fe:ff:ff:ff:ff:ff inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:4275 errors:0 dropped:6 overruns:0 carrier:0 collisions:0 txqueuelen:32 RX bytes:0 (0.0 B) TX bytes:351516 (351.5 KB)
ifconfig inside dom1: root@xen-hypervisor:~# ifconfig eth0 Link encap:Ethernet HWaddr 00:16:3e:63:29:ab inet addr:16.127.73.171 Bcast:16.127.75.255 Mask:255.255.252.0
inet6 addr: fec0::f:216:3eff:fe63:29ab/64 Scope:Site inet6 addr: 2002:107f:493a:f:216:3eff:fe63:29ab/64 Scope:Global inet6 addr: fe80::216:3eff:fe63:29ab/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:7457 errors:0 dropped:0 overruns:0 frame:0 TX packets:19 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000 RX bytes:525254 (525.2 KB) TX bytes:2295 (2.2 KB) Interrupt:245 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:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) I dont have any peth0 or vif inside dom1s ifconfig. So now maybe the connection to dom1 inside dom0 is wrong(vif1.0 Link encap:Ethernet HWaddr fe:ff:ff:ff:ff:ff )
And I am having the same mac on peth0 and eth0 .. where do I configure it .. inside xend-config.sxp ? Thank you again
2010/11/22 Digimer <linux@xxxxxxxxxxx>
-- David Cemin mobile: +55 51 93523097 home: +55 51 32763785 email: davidcemin@xxxxxxxxx _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |