I am on SLES9 based system running Xen-unstable. I created a DomU based off of my SLES9 base system. I made the appropriate changes to the network configuration but I am unable to get eth0 working. I have tried both DHCP and static IPs. I have listed the output of "ifconfig -a" and "cat /proc/interrupts" on Dom0 below. I have left out eth1,2,3 because they are not wired. When I try to bring up the eth0 interface using DHCP on DomU I get a message saying "Unable to obtain IP address...backgrounding". When I try to do a static config, the interface comes up but I am not able to ping out. The network connectivity in Dom0 works fine. Could you please tell me what I am doing wrong? Thanks Aravindh Puthiyaparambil eth0 Link encap:Ethernet HWaddr 00:04:23:91:39:3E inet addr:192.62.182.107 Bcast:192.62.182.255 Mask:255.255.255.0 UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1 RX packets:99421 errors:0 dropped:0 overruns:0 frame:0 TX packets:360016 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:9040758 (8.6 Mb) TX bytes:224376300 (213.9 Mb) Base address:0x1100 Memory:fbc40000-fbc60000 eth4 Link encap:Ethernet HWaddr 00:04:23:87:88:73 inet addr:192.62.182.115 Bcast:192.62.182.255 Mask:255.255.255.0 UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1 RX packets:163412 errors:0 dropped:0 overruns:0 frame:0 TX packets:3485 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:13252166 (12.6 Mb) TX bytes:223684 (218.4 Kb) Base address:0x1480 Memory:fc100000-fc120000 eth5 Link encap:Ethernet HWaddr 08:00:0B:26:00:18 inet addr:192.62.182.150 Bcast:192.62.182.255 Mask:255.255.255.0 UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1 RX packets:148472 errors:402 dropped:0 overruns:0 frame:402 TX packets:3416 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:11840668 (11.2 Mb) TX bytes:144038 (140.6 Kb) lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:847725 errors:0 dropped:0 overruns:0 frame:0 TX packets:847725 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:203144814 (193.7 Mb) TX bytes:203144814 (193.7 Mb) vif8.0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:31 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:7526 (7.3 Kb) TX bytes:0 (0.0 b) xen-br0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF inet addr:192.62.182.107 Bcast:192.62.182.255 Mask:255.255.255.255 BROADCAST MULTICAST MTU:1500 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) xen-d:~ # cat /proc/interrupts CPU0 1: 84 Phys-irq i8042 12: 561 Phys-irq i8042 15: 142 Phys-irq ide1 17: 394780 Phys-irq aic7xxx 18: 30 Phys-irq aic7xxx 20: 393971 Phys-irq eth0 25: 174754 Phys-irq eth4 26: 177434 Phys-irq eth5 256: 97 Dynamic-irq ctrl-if 257: 25146221 Dynamic-irq timer 258: 0 Dynamic-irq console 259: 0 Dynamic-irq net-be-dbg 260: 71000 Dynamic-irq blkif-backend 261: 1159 Dynamic-irq vif8.0 NMI: 0 ERR: 0 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> I am on SLES9 based system running Xen-unstable. I created a DomU based > off of my SLES9 base system. I made the appropriate changes to the > network configuration but I am unable to get eth0 working. I have tried > both DHCP and static IPs. I have listed the output of "ifconfig -a" and > "cat /proc/interrupts" on Dom0 below. I have left out eth1,2,3 because > they are not wired. > When I try to bring up the eth0 interface using DHCP on DomU I get a > message saying "Unable to obtain IP address...backgrounding". When I try > to do a static config, the interface comes up but I am not able to ping > out. > The network connectivity in Dom0 works fine. Could you please tell me > what I am doing wrong? > > Thanks > Aravindh PuthiyaparambilDear Aravindh 1) Do you have a DHCP server running in your network? 2) Sometimes, DHCP servers do not serve an ip address range, instead they just respond if the mac address is in its list of fixed addresses. May be your DHCP server (if there is one) is configured that way... 3) From inside domU, if you issue a "ifconfig eth0", what comes up? -- Bye, Fernando Maciel Souto Maior fernando@araujo.com.br http://www.araujo.com.br +55+31 3270-5886 LPIC/1 # 31908 AVISO------------------------------------------------------------- Esta mensagem pode conter informacao confidencial ou privilegiada. Se voce nao for o destinatario ou a pessoa autorizada a receber esta mensagem, nao pode usar, copiar ou divulgar as informacoes nela contidas ou tomar qualquer acao baseada nessas informacoes. Se voce recebeu esta mensagem por engano, favor avisar o remetente imediatamente, respondendo o e-mail e em seguida apagando-o. Obrigado pela cooperacao. DISCLAIMER-------------------------------------------------------- This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose or take any action based on any information herein. If you have received this message in error, please advise the sender immediately by replying to this e-mail and delete this message. Thank you for your cooperation. ------------------------------------------------------------------ This email was sent using SquirrelMail - http://squirrelmail.org _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Puthiyaparambil, Aravindh
2005-Apr-05 20:33 UTC
Re: [Xen-users] Network on DomU not working
Fernando, Yes I have DHCP running on my network. Dom0 gets its IPs using DHCP. The DHCP server is not configure to in the way you described. We have VMware running in the same lab without any problems. Here is my ifconfig output with DHCP eth0 Link encap:Ethernet HWaddr AA:00:00:2A:AB:81 UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:6 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 b) TX bytes:3540 (3.4 Kb) lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:11 errors:0 dropped:0 overruns:0 frame:0 TX packets:11 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:1206 (1.1 Kb) TX bytes:1206 (1.1 Kb) Aravindh> I am on SLES9 based system running Xen-unstable. I created a DomUbased> off of my SLES9 base system. I made the appropriate changes to the > network configuration but I am unable to get eth0 working. I havetried> both DHCP and static IPs. I have listed the output of "ifconfig -a"and> "cat /proc/interrupts" on Dom0 below. I have left out eth1,2,3 because > they are not wired. > When I try to bring up the eth0 interface using DHCP on DomU I get a > message saying "Unable to obtain IP address...backgrounding". When Itry> to do a static config, the interface comes up but I am not able toping> out. > The network connectivity in Dom0 works fine. Could you please tell me > what I am doing wrong? > > Thanks > Aravindh PuthiyaparambilDear Aravindh 1) Do you have a DHCP server running in your network? 2) Sometimes, DHCP servers do not serve an ip address range, instead they just respond if the mac address is in its list of fixed addresses. May be your DHCP server (if there is one) is configured that way... 3) From inside domU, if you issue a "ifconfig eth0", what comes up? -- Bye, Fernando Maciel Souto Maior fernando@xxxxxxxxxxxxx http://www.araujo.com.br +55+31 3270-5886 LPIC/1 # 31908 AVISO------------------------------------------------------------- Esta mensagem pode conter informacao confidencial ou privilegiada. Se voce nao for o destinatario ou a pessoa autorizada a receber esta mensagem, nao pode usar, copiar ou divulgar as informacoes nela contidas ou tomar qualquer acao baseada nessas informacoes. Se voce recebeu esta mensagem por engano, favor avisar o remetente imediatamente, respondendo o e-mail e em seguida apagando-o. Obrigado pela cooperacao. DISCLAIMER-------------------------------------------------------- This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose or take any action based on any information herein. If you have received this message in error, please advise the sender immediately by replying to this e-mail and delete this message. Thank you for your cooperation. ------------------------------------------------------------------ This email was sent using SquirrelMail - http://squirrelmail.org _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> Fernando, > > Yes I have DHCP running on my network. Dom0 gets its IPs using DHCP. The > DHCP server is not configure to in the way you described. We have VMware > running in the same lab without any problems. > > Here is my ifconfig output with DHCP > eth0 Link encap:Ethernet HWaddr AA:00:00:2A:AB:81Okay, now try looking at the DHCP traffic in your network. Just install tcpdump into the Xen hostess machine, issue a command like: # tcpdump -i xen-br0 -n port 67 And boot your domU. It will try to get an ip addr from the net, you should be able to see traffic flowin.. check for the mac address (HWaddr) above. Also verify if the mac above is not duplicated.. -- Bye, Fernando Maciel Souto Maior fernando@araujo.com.br http://www.araujo.com.br +55+31 3270-5886 LPIC/1 # 31908 AVISO------------------------------------------------------------- Esta mensagem pode conter informacao confidencial ou privilegiada. Se voce nao for o destinatario ou a pessoa autorizada a receber esta mensagem, nao pode usar, copiar ou divulgar as informacoes nela contidas ou tomar qualquer acao baseada nessas informacoes. Se voce recebeu esta mensagem por engano, favor avisar o remetente imediatamente, respondendo o e-mail e em seguida apagando-o. Obrigado pela cooperacao. DISCLAIMER-------------------------------------------------------- This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose or take any action based on any information herein. If you have received this message in error, please advise the sender immediately by replying to this e-mail and delete this message. Thank you for your cooperation. ------------------------------------------------------------------ This email was sent using SquirrelMail - http://squirrelmail.org _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users