[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] domU network doesn't get IP
OK. Now both firewall and SELinux are disabled. I created a domU with MAC AA:00:00:00:00:11. Then I did manual configuration of eth0 as you told. Here is the trace: [root@localhost ~]# ifconfig eth0 Link encap:Ethernet HWaddr AA:00:00:00:00:11 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:895 errors:0 dropped:0 overruns:0 frame:0 TX packets:7 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:58557 (57.1 KiB) TX bytes:2394 (2.3 KiB) 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:8 errors:0 dropped:0 overruns:0 frame:0 TX packets:8 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:560 (560.0 b) TX bytes:560 (560.0 b) [root@localhost ~]# ifconfig eth0 192.168.1.1 netmask 255.255.255.0 [root@localhost ~]# ifconfig eth0 up [root@localhost ~]# ifconfig eth0 Link encap:Ethernet HWaddr AA:00:00:00:00:11 inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:1191 errors:0 dropped:0 overruns:0 frame:0 TX packets:8 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:78311 (76.4 KiB) TX bytes:2436 (2.3 KiB) 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:8 errors:0 dropped:0 overruns:0 frame:0 TX packets:8 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:560 (560.0 b) TX bytes:560 (560.0 b) Even after this I can't see dom0 from domU. My dom0's IP is 24.118.198.46 So when I ping my dom0 from domU, I can't reach it: [root@localhost ~]# ping 24.118.198.46 connect: Network is unreachable When I ping the IP address 192.168.1.1 from dom0, I get [root@orion xen]# ping 192.168.1.1 PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data. From 10.230.64.1 icmp_seq=3 Packet filtered From 10.230.64.1 icmp_seq=6 Packet filtered From 10.230.64.1 icmp_seq=8 Packet filtered --- 192.168.1.1 ping statistics --- 11 packets transmitted, 0 received, +3 errors, 100% packet loss, time 10137ms , pipe 2 Thanks Anand for your suggestions so far. I want to clarify few more thing: In my domain config file, I now set mac address myself, instead of default. So my vif is now: vif = [ 'mac=aa:00:00:00:00:11, bridge=xenbr0' ] What about DHCP option? Should I turn it on/off? I tried it both ways, but that didn't help - my dom0 gets its IP by DHCP from my ISP provider. I don't set nics, because by default it is 1. I also don't set netmask, gateway, hostname in my domain config file. Should I set these variables? Let me know. Thanks, Jayesh
On 1/3/06, Anand <xen.mails@xxxxxxxxx> wrote: Make sure your firewall is disabled. Disable selinux. -- Jayesh _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |