Hello again, As it would have it, the routing is OK. The (a) problem was with my DSL router, not knowing the existence of the internally routed Xen network. A static link on the router did the trick. As for the MacOS X 10.4.5 computers not responding to ping? who knows.
The vifname= problem/bug persists though. The interface works fine, there is just no sign of it in xentop. I wonder if shorewall can specify interfaces my MAC address?
Nevertheless, for any other gentooists out there who may be interested, these are the Xen configs I used. USE & CFLAGS are on my previous post.
Dom0: - grub (with manual kernel compilation, no initrd, root on normal partition) default 1 timeout 15
title=Gentoo Linux (2.6.15-gentoo-r1) [Genkernel] root (hd0,0) kernel /kernel-genkernel-x86-2.6.15-gentoo-r1 root=/dev/ram0 init=/linuxrc real_root=/dev/sda2 dolvm2 initrd /initramfs-genkernel-x86-2.6.15-gentoo-r1
title=Gentoo Xen 3 (9029-r2) Linux (2.6.12-xen-r3) root(hd0,0) kernel /xen.gz dom0_mem=131072 physdev_dom0_hide=(00:04.0)(00:04.1)(00:06.0)(02:02.0) ro loopback.nloopbacks=1 module /vmlinuz-2.6.12.6-xen0 udev dolvm2 root=/dev/sda2 ro
# /etc/conf.d/net modules=( "iproute2" ) config_eth0=( "10.1.0.254/16" ) routes_eth0=( "default via eth0" )
# -*- mode: python; -*- #/ etc/xen/auto/DomU2
kernel = "/etc/xen/vmlinuz-2.6.12.6-xenU" memory = 384 name = "DomU" vcpus = 4 vif = [ 'ip=10.9.0.1,mac=00:16:3e:00:0a:11' ] disk = [ 'phy:vg/domu2,hda1,w','phy:vg/domu2-swp,hda2,w' ] root = "/dev/hda1 ro" extra = "3"
DomU:
#/etc/conf.d/net modules=( "iproute2" ) config_eth0=( "10.9.0.1/32" )
routes_eth0=( "10.1.0.0/16 dev eth0" "default via 10.1.0.253" )
On 01/04/2006, at 2:07 AM, Piers Dawson-Damer wrote: With a configured DomU on a seperate subnet to Dom0's eth0, with vif ['ip=10.9.0.1'] and with Dom0's default route set to dev eth0 DomU can ping Dom0 on 10.1.0.254/16, but cannot ping real host 10.1.0.253/16 (DSL masq. router) on the same physical/logical network. Nor two other MacOS X hosts, but get this, it can ping yet another host 10.1.0.239/16 on the physical/logical network. That host, has under some Dom0/DomU configuration permutation of hours gone, connected via ssh to DomU.
...
I also note that if vif [ 'vifname=vifabc.0' ] is specified, there is no Net0 RX:.... displayed within xentop
vif = [ 'ip=10.9.0.1' ] xentop - 00:40:47 Xen 3.0.1 2 domains: 1 running, 1 blocked, 0 paused, 0 crashed, 0 dying, 0 shutdown Mem: 2096640k total, 552644k used, 1543996k free CPUs: 4 @ 3189MHz NAME STATE CPU(sec) CPU(%) MEM(k) MEM(%) MAXMEM(k) MAXMEM(%) VCPUS NETS NETTX(k) NETRX(k) SSID Domain-0 -----r 33 0.1 131196 6.3 no limit n/a 4 8 0 0 0 Net0 RX: 0bytes 0pkts 0err 0drop TX: 0bytes 0pkts 0err 0drop Net1 RX: 0bytes 0pkts 0err 0drop TX: 0bytes 0pkts 0err 0drop Net2 RX: 0bytes 0pkts 0err 0drop TX: 0bytes 0pkts 0err 0drop Net3 RX: 0bytes 0pkts 0err 0drop TX: 0bytes 0pkts 0err 0drop Net4 RX: 0bytes 0pkts 0err 0drop TX: 0bytes 0pkts 0err 0drop Net5 RX: 0bytes 0pkts 0err 0drop TX: 0bytes 0pkts 0err 0drop Net6 RX: 0bytes 0pkts 0err 0drop TX: 0bytes 0pkts 0err 0drop Net7 RX: 0bytes 0pkts 0err 0drop TX: 0bytes 0pkts 0err 0drop DomU --b--- 11 0.0 393160 18.8 393216 18.8 4 1 0 0 0 Net0 RX: 126bytes 3pkts 0err 0drop TX: 42bytes 1pkts 0err 0drop
vif = [ 'ip=10.9.0.1,vifname=vif-eu.0' ] xentop - 00:44:11 Xen 3.0.1 2 domains: 1 running, 1 blocked, 0 paused, 0 crashed, 0 dying, 0 shutdown Mem: 2096640k total, 552668k used, 1543972k free CPUs: 4 @ 3189MHz NAME STATE CPU(sec) CPU(%) MEM(k) MEM(%) MAXMEM(k) MAXMEM(%) VCPUS NETS NETTX(k) NETRX(k) SSID Domain-0 -----r 38 0.1 131196 6.3 no limit n/a 4 8 0 0 0 Net0 RX: 0bytes 0pkts 0err 0drop TX: 0bytes 0pkts 0err 0drop Net1 RX: 0bytes 0pkts 0err 0drop TX: 0bytes 0pkts 0err 0drop Net2 RX: 0bytes 0pkts 0err 0drop TX: 0bytes 0pkts 0err 0drop Net3 RX: 0bytes 0pkts 0err 0drop TX: 0bytes 0pkts 0err 0drop Net4 RX: 0bytes 0pkts 0err 0drop TX: 0bytes 0pkts 0err 0drop Net5 RX: 0bytes 0pkts 0err 0drop TX: 0bytes 0pkts 0err 0drop Net6 RX: 0bytes 0pkts 0err 0drop TX: 0bytes 0pkts 0err 0drop Net7 RX: 0bytes 0pkts 0err 0drop TX: 0bytes 0pkts 0err 0drop DomU --b--- 11 0.0 393184 18.8 393216 18.8 4 0 0 0 0
|