Hi, I am able to boot Xen Domain 0 on Linux 2.6.11.10-Xen0 kernel. The installation is perfect. But while booting Xen-DomainU [Linux 2.6.11.10-XenU] I recieve these messages and after booting into the unprevileged domain, I am unable to ping Domain 0. The reverse is also not possible. Running local start scripts. Starting basic firewall: modprobe: could not parse modules.dep iptables v1.2.11: can''t initialize iptables table `filter'': iptables who? (do you need to insmod?) Perhaps iptables or your kernel needs to be upgraded. failed Setting up interface eth0: done Setting up interface eth0: done Setting default route: route: SIOC[ADD|DEL]RT: Network is unreachable failed ---------------------------- This is my Domain U configuration. [root@tux06 xenfs]# cat /etc/xen/tintin kernel = "/boot/vmlinuz-2.6.11.10-xenU" memory = 128 name = "tintin" nics = 1 vif = [''bridge=xen-br0''] netmask="255.255.255.192" gateway="172.21.31.129" ip="172.21.31.171" hostname="tintin" root = "/dev/hda5 ro" disk = [''file:/mnt/xenfs/tintin,hda5,w''] --------------------- And this is my Domain 0 network configuration: [root@tux06 xenfs]# ifconfig -a eth0 Link encap:Ethernet HWaddr 00:11:11:01:2B:EC inet addr:172.21.31.186 Bcast:172.21.31.191 Mask:255.255.255.192 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:78373 errors:0 dropped:0 overruns:0 frame:0 TX packets:19866 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:6487121 (6.1 Mb) TX bytes:4065555 (3.8 Mb) Base address:0xdf40 Memory:fcfe0000-fd000000 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:2788 errors:0 dropped:0 overruns:0 frame:0 TX packets:2788 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:232027 (226.5 Kb) TX bytes:232027 (226.5 Kb) xen-br0 Link encap:Ethernet HWaddr 00:11:11:01:2B:EC inet addr:172.21.31.186 Bcast:172.21.31.191 Mask:255.255.255.255 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:67828 errors:0 dropped:0 overruns:0 frame:0 TX packets:13477 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:4381514 (4.1 Mb) TX bytes:1281048 (1.2 Mb) Please help. ~$ubh _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi, could you make a ifconfig -a on the Xen-DomainU and send the output please ? I''ve read somewhere (can''t remember where) a similar problem where network interface was not started on boot. Boris Subhabrata Bhattacharya wrote:>Hi, > >I am able to boot Xen Domain 0 on Linux 2.6.11.10-Xen0 kernel. The >installation is perfect. > >But while booting Xen-DomainU [Linux 2.6.11.10-XenU] I recieve these >messages and after booting into the unprevileged domain, I am unable >to ping Domain 0. The reverse is also not possible. > >Running local start scripts. >Starting basic firewall: modprobe: could not parse modules.dep > >iptables v1.2.11: can''t initialize iptables table `filter'': iptables >who? (do you need to insmod?) >Perhaps iptables or your kernel needs to be upgraded. > failed >Setting up interface eth0: done >Setting up interface eth0: done >Setting default route: route: SIOC[ADD|DEL]RT: Network is unreachable > failed >---------------------------- > > >This is my Domain U configuration. > >[root@tux06 xenfs]# cat /etc/xen/tintin >kernel = "/boot/vmlinuz-2.6.11.10-xenU" >memory = 128 >name = "tintin" > >nics = 1 >vif = [''bridge=xen-br0''] >netmask="255.255.255.192" >gateway="172.21.31.129" >ip="172.21.31.171" >hostname="tintin" > >root = "/dev/hda5 ro" >disk = [''file:/mnt/xenfs/tintin,hda5,w''] >--------------------- >And this is my Domain 0 network configuration: > >[root@tux06 xenfs]# ifconfig -a >eth0 Link encap:Ethernet HWaddr 00:11:11:01:2B:EC > inet addr:172.21.31.186 Bcast:172.21.31.191 Mask:255.255.255.192 > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:78373 errors:0 dropped:0 overruns:0 frame:0 > TX packets:19866 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:1000 > RX bytes:6487121 (6.1 Mb) TX bytes:4065555 (3.8 Mb) > Base address:0xdf40 Memory:fcfe0000-fd000000 > > >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:2788 errors:0 dropped:0 overruns:0 frame:0 > TX packets:2788 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:0 > RX bytes:232027 (226.5 Kb) TX bytes:232027 (226.5 Kb) > > >xen-br0 Link encap:Ethernet HWaddr 00:11:11:01:2B:EC > inet addr:172.21.31.186 Bcast:172.21.31.191 Mask:255.255.255.255 > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:67828 errors:0 dropped:0 overruns:0 frame:0 > TX packets:13477 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:0 > RX bytes:4381514 (4.1 Mb) TX bytes:1281048 (1.2 Mb) > >Please help. >~$ubh > >_______________________________________________ >Xen-users mailing list >Xen-users@lists.xensource.com >http://lists.xensource.com/xen-users > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Subhabrata Bhattacharya
2005-Jul-22 03:23 UTC
Re: [Xen-users] Unable to communicate with Dom0
hi, Thanks all of your suugestions.I figured out the problem with iptables. Although I had iptables compiled as kernel objects, still I was facing the problem.I added the virtual interfaces with the bridge which wasn''t added by default.And then a small command did all the magic. $iptables -A FORWARD -m physdev --physdev-in eth0 --physdev-out eth0 -j ACCEPT ---- ~$ubh _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users