[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-users] bridge networking issue from dom0 to the world
Hi, I'm trying to setup xen and have figured out most of my issues. However I'm stuck with a networking issue. From my dom0 I can ping the world and my domU. However I cannot ping anything except the dom0 from inside my domU. dom0 is a clean opensuse 11.4 with XEN 4.1.1 added to it (using the default kernel 2.6.37.6-0.5-xen). domU is ubuntu server 8.04 with all recent updates (and using the kernel above). I've manually setup the xen cfg for my domU (xen-create-tool was not available on SuSE and I could not seem to get virt-manager to do what I wanted - or made sence of it :( ). After starting up domU the dom0 config looks like : # ifconfig br0 Link encap:Ethernet HWaddr <MAC> inet addr:x.y.z.117 Bcast:x.y.z.127 Mask:255.255.255.224 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:1166 errors:0 dropped:0 overruns:0 frame:0 TX packets:733 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:85307 (83.3 Kb) TX bytes:112363 (109.7 Kb) eth0 Link encap:Ethernet HWaddr <MAC> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:1133 errors:0 dropped:0 overruns:0 frame:0 TX packets:828 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:100941 (98.5 Kb) TX bytes:117725 (114.9 Kb) Interrupt:230 Base address:0x8000 vif2.0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1 RX packets:22 errors:0 dropped:0 overruns:0 frame:0 TX packets:41 errors:0 dropped:4 overruns:0 carrier:0 collisions:0 txqueuelen:32 RX bytes:1296 (1.2 Kb) TX bytes:2718 (2.6 Kb) vif2.1 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:43 errors:0 dropped:4 overruns:0 carrier:0 collisions:0 txqueuelen:32 RX bytes:0 (0.0 b) TX bytes:2886 (2.8 Kb) # brctl show bridge name bridge id STP enabled interfaces br0 8000.4061862a1fa4 no eth0 vif2.0 vif2.1 # route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface x.y.z.97 0.0.0.0 255.255.255.255 UH 0 0 0 eth0 x.y.z.96 0.0.0.0 255.255.255.224 U 0 0 0 br0 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo 0.0.0.0 x.y.z.97 0.0.0.0 UG 0 0 0 br0 # cat /etc/sysctl.conf net.ipv4.ip_forward=1 net.ipv4.conf.all.rp_filter=1 net.ipv4.icmp_echo_ignore_broadcasts=1 # cat /etc/xen/xend-config.sxp | grep -v <empty lines and comments> (xend-http-server yes) (xend-unix-server yes) (xend-unix-path /var/lib/xend/xend-socket) (xend-port 8000) (xend-address localhost) (xend-relocation-hosts-allow '^localhost$ ^localhost\\.localdomain$') (network-script 'network-bridge bridge=br0') (vif-script vif-bridge) (dom0-min-mem 512) (enable-dom0-ballooning yes) (total_available_memory 0) (dom0-cpus 0) The dom0 has no iptables rules active. Finally the domU looks like : # route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface x.y.z.96 0.0.0.0 255.255.255.224 U 0 0 0 eth0 0.0.0.0 x.y.z.97 0.0.0.0 UG 100 0 0 eth0 0.0.0.0 x.y.z.117 0.0.0.0 UG 100 0 0 eth0 #ifconfig eth0 Link encap:Ethernet HWaddr 00:16:..... inet addr:x.y.z.125 Bcast:x.y.z.127 Mask:255.255.255.224 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:54 errors:0 dropped:0 overruns:0 frame:0 TX packets:75 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:3644 (3.5 KB) TX bytes:5975 (5.8 KB) Thanks for any pointers or insights you may have. CPH _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |