Hello All, Having read these posts over and over again I find myself in the same position as many with DomU routing. Trying to keep the configuration as simple (default) as possible, I have tried what feels like every permutation of configuration.
When domU starts up, xend runs (within dom0) vif-route which: 1. copies the ip address from eth0 to vif<id#>.0 (with a 32 bit subnet mask 255.255.255.255) 2. brings up vif<id#>.0 (which seams to be on a different subnet, but there really are no subnets with 32 bit masks) 3. adds host static route for domU's ip address specified in domU config file, pointing at interface (which relies on proxyarp) So, is proxyARP essential for routing with point-to-point 32 bit mask links, or only Xen routing?
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. This leads me to think the problem must be within Dom0's routing/forwarding/ARPing.
So DomU routing table is; DomU# route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface loopback localhost 255.0.0.0 UG 0 0 0 lo default * 0.0.0.0 U 0 0 0 eth0
Dom0# route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 10.9.0.1 * 255.255.255.255 UH 0 0 0 vif6.0 10.1.0.0 * 255.255.0.0 U 0 0 0 eth0 default 10.1.0.253 0.0.0.0 UG 0 0 0 eth0
Seams fine. As I can ping real host 10.1.0.239/16, does this mean the routing is OK?
If so, is it an ARP blip? Dom0# arp Address HWtype HWaddress Flags Mask Iface 10.1.0.253 ether 00:05:5D:9F:87:0E C eth0 10.9.0.1 ether 00:16:3E:28:B6:BD C vif6.0 Dom0.someip.net ether 00:16:CB:85:35:4E C eth0 10.1.0.239 ether 00:B0:D0:AD:A3:E4 C eth0
DomU# arp Address HWtype HWaddress Flags Mask Iface 10.1.0.254 ether FE:FF:FF:FF:FF:FF C eth0 203.0.178.191 ether FE:FF:FF:FF:FF:FF C eth0 10.1.0.239 ether FE:FF:FF:FF:FF:FF C eth0 10.1.0.253 ether FE:FF:FF:FF:FF:FF C eth0
I tried deleting both arp entries, then pinging, but they re-appear. Firewalling? I have Shorewall installed, but not enabled, nor run. Some odd kernel compilation? Dunno. Will recompile as vanilla in the morning. Others on this list seamed to have suffered this. links: Mooktakim Ahmed has it working, although I cannot replicate.
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
I really appreciate any assistance with this fantastic software.
Piers Dawson-Damer _____________________________________________________________________________________ Gentoo 2006.0 built, on Poweredge 1600SC vmlinuz-2.6.12.6-xen0 vmlinuz-2.6.12.6-xenU
CFLAGS="-O2 -march=pentium4 -pipe -mno-tls-direct-seg-refs" USE="-ipv6 -alsa -apache2 -arts -cups -eds -emboss -encode -esd -foomaticdb -gif -gnome -gstreamer -gtk -gtk2 -imlib -jpeg -kde -libg++ -mad -mikmod -motif -mp3 -mpeg -ogg -opengl -oss -pdflib -png -qt -quicktime -sdl -spell -truetype -vorbis -X -xmms -xv"
Dom0 # emerge world -pve
These are the packages that I would merge, in order:
Calculating world dependencies ...done! [ebuild N ] sys-devel/patch-2.5.9 -build -static 0 kB [ebuild N ] sys-libs/gpm-1.20.1-r4 -emacs (-selinux) 0 kB [ebuild N ] sys-libs/ncurses-5.4-r6 -bootstrap -build -debug -doc +gpm -minimal -nocxx -unicode 0 kB [ebuild N ] sys-devel/binutils-config-1.8-r6 0 kB [ebuild N ] sys-devel/gnuconfig-20060227 0 kB [ebuild N ] sys-devel/binutils-2.16.1 -multislot -multitarget +nls -test -vanilla 0 kB [ebuild N ] sys-devel/gcc-config-1.3.13-r1 0 kB [ebuild N ] sys-devel/m4-1.4.4 +nls 0 kB [ebuild N ] sys-devel/bison-2.1 +nls -static 0 kB [ebuild N ] virtual/libintl-0 0 kB [ebuild N ] sys-apps/sed-4.1.4-r1 -bootstrap -build +nls -static 0 kB [ebuild N ] sys-libs/zlib-1.2.3 -build 0 kB [ebuild N ] sys-devel/gcc-3.4.5-r1 (-altivec) -bootstrap -boundschecking -build -doc +fortran -gcj -gtk -hardened -ip28 (-multilib) -multislot (-n32) (-n64) +nls -nocxx -nopie -nossp -objc -vanilla 0 kB [ebuild N ] sys-libs/libstdc++-v3-3.3.4 -build (-multilib) +nls +nptl 0 kB [ebuild N ] sys-kernel/linux-headers-2.6.11-r2 0 kB [ebuild N ] sys-libs/timezone-data-2006a 0 kB [ebuild N ] sys-libs/glibc-2.3.5-r3 -build -erandom -glibc-compat20 -glibc-omitfp -hardened -linuxthreads-tls (-multilib) +nls +nptl -nptlonly -pic -profile (-selinux) +userlocales 0 kB [ebuild N ] sys-devel/gettext-0.14.4 -doc -emacs +nls 0 kB [ebuild N ] sys-apps/texinfo-4.8-r2 -build +nls -static 0 kB [ebuild N ] sys-apps/groff-1.19.1-r2 -X 0 kB [ebuild N ] sys-apps/man-1.6-r1 +nls 0 kB [ebuild N ] sys-apps/man-pages-2.26 +nls 0 kB [ebuild N ] sys-apps/grep-2.5.1-r8 -build +nls -static 0 kB [ebuild N ] app-arch/gzip-1.3.5-r8 -build +nls -pic -static 0 kB [ebuild N ] sys-libs/db-4.2.52_p2-r1 -bootstrap -doc -java -nocxx -tcltk 0 kB [ebuild N ] sys-libs/gdbm-1.8.3-r2 +berkdb 0 kB [ebuild N ] sys-devel/libperl-5.8.7 +berkdb -debug +gdbm -ithreads 0 kB [ebuild N ] dev-lang/perl-5.8.7-r3 +berkdb -build -debug -doc +gdbm -ithreads -minimal -perlsuid 0 kB [ebuild N ] app-shells/bash-3.0-r12 -bashlogger -build +nls 0 kB [ebuild N ] app-admin/perl-cleaner-1.01 0 kB [ebuild N ] perl-core/Test-Simple-0.62 -minimal 0 kB [ebuild N ] virtual/perl-Test-Simple-0.62 0 kB [ebuild N ] dev-perl/Locale-gettext-1.05 -minimal 0 kB [ebuild N ] sys-apps/help2man-1.33.1 +nls 0 kB [ebuild N ] sys-devel/autoconf-2.13 0 kB [ebuild N ] sys-devel/autoconf-wrapper-3-r1 0 kB [ebuild N ] sys-devel/autoconf-2.59-r7 -emacs 0 kB [ebuild N ] sys-devel/automake-1.5 0 kB [ebuild N ] sys-devel/automake-1.8.5-r3 0 kB [ebuild N ] sys-devel/automake-1.6.3 0 kB [ebuild N ] sys-devel/automake-1.7.9-r1 0 kB [ebuild N ] sys-devel/automake-1.4_p6 0 kB [ebuild N ] sys-devel/automake-wrapper-1-r1 0 kB [ebuild N ] sys-devel/automake-1.9.6-r1 0 kB [ebuild N ] sys-libs/readline-5.1_p2 0 kB [ebuild N ] sys-apps/diffutils-2.8.7-r1 +nls -static 0 kB [ebuild N ] dev-libs/openssl-0.9.7i -bindist -emacs -test +zlib 0 kB [ebuild N ] app-misc/ca-certificates-20050804 0 kB [ebuild N ] dev-libs/expat-1.95.8 -test 0 kB [ebuild N ] dev-lang/python-2.4.2 -X +berkdb -bootstrap -build -doc +gdbm -ipv6 +ncurses -nocxx +readline +ssl -tcltk -ucs2 0 kB [ebuild N ] dev-python/python-fchksum-1.7.1 0 kB [ebuild N ] sys-apps/sandbox-1.2.12 0 kB [ebuild N ] app-misc/pax-utils-0.1.10 -caps 0 kB [ebuild N ] sys-apps/debianutils-2.14.1-r1 -build -static 0 kB [ebuild N ] sys-apps/portage-2.0.54 -build -doc (-selinux) 0 kB *** Please update portage to the above version before proceeding. Failure to do so may result in failed or improper merges. A simple 'emerge -u portage' is sufficient.
[ebuild N ] sys-libs/cracklib-2.8.5-r1 +nls +python 0 kB [ebuild N ] sys-devel/flex-2.5.33-r1 +nls -static 0 kB [ebuild N ] dev-util/pkgconfig-0.20 -hardened 0 kB [ebuild N ] sys-libs/pam-0.78-r3 +berkdb -nis -pam_chroot -pam_console -pam_timestamp -pwdb (-selinux) 0 kB [ebuild N ] sys-apps/shadow-4.0.14-r1 +nls -nousuid +pam (-selinux) -skey 0 kB [ebuild N ] sys-devel/libtool-1.5.22 0 kB [ebuild N ] sys-apps/pam-login-4.0.14 -livecd +nls (-selinux) -skey 0 kB [ebuild N ] sys-libs/com_err-1.38 +nls 0 kB [ebuild N ] sys-libs/ss-1.38 +nls 0 kB [ebuild N ] sys-fs/e2fsprogs-1.38-r1 +nls -static 0 kB [ebuild N ] app-crypt/hashalot-0.3-r2 0 kB [ebuild N ] sys-apps/util-linux-2.12r-r2 +crypt +nls -old-crypt +pam +perl (-selinux) -static 0 kB [ebuild N ] sys-devel/make-3.80-r4 -build +nls -static 0 kB [ebuild N ] dev-util/gperf-3.0.1 0 kB [ebuild N ] sys-devel/dev86-0.16.17-r2 0 kB [ebuild N ] sys-apps/sysvinit-2.86-r3 -bootstrap -build -ibm (-selinux) -static 0 kB [ebuild N ] sys-apps/coreutils-5.2.1-r7 -acl -build +nls (-selinux) -static 0 kB [ebuild N ] sys-apps/baselayout-1.11.14-r6 -bootstrap -build -static -unicode 0 kB [ebuild N ] sys-apps/hotplug-base-20040401 0 kB [ebuild N ] sys-fs/udev-079-r1 (-selinux) 0 kB [ebuild N ] net-misc/curl-7.15.1-r1 -ares -gnutls -idn -ipv6 -kerberos -krb4 -ldap +ssl -test 0 kB [ebuild N ] net-misc/bridge-utils-1.0.6-r3 -sysfs 0 kB [ebuild N ] sys-apps/iproute2-2.6.15.20060110 -atm +berkdb -minimal 0 kB [ebuild N ] app-emulation/xen-3.0.1-r4 -custom-cflags -debug -doc -pae -screen 0 kB [ebuild N ] sys-kernel/xen-sources-2.6.12.6-r3 -build -doc -symlink 0 kB [ebuild N ] sys-process/cronbase-0.3.2 0 kB [ebuild N ] net-mail/mailbase-1 +pam 0 kB [ebuild N ] mail-mta/ssmtp-2.61 -ipv6 -mailwrapper -md5sum +ssl 0 kB [ebuild N ] sys-process/vixie-cron-4.1-r8 -debug +pam (-selinux) 0 kB [ebuild N ] sys-apps/tcp-wrappers-7.6-r8 -ipv6 0 kB [ebuild N ] net-misc/openssh-4.2_p1-r1 -X509 -chroot -hpn -ipv6 -kerberos -ldap -libedit +pam (-selinux) -sftplogging -skey -smartcard -static +tcpd 0 kB [ebuild N ] dev-libs/popt-1.7-r1 +nls 0 kB [ebuild N ] net-misc/rsync-2.6.0-r6 -acl -build -livecd -static -xinetd 0 kB [ebuild N ] app-backup/rsnapshot-1.2.1 0 kB [ebuild N ] sys-apps/kbd-1.12-r6 +nls 0 kB [ebuild N ] net-dialup/ppp-2.4.2-r15 -activefilter -atm -dhcp -ipv6 -mppe-mppc +pam -radius 0 kB [ebuild N ] net-dialup/rp-pppoe-3.7 -X 0 kB [ebuild N ] net-dns/dnsmasq-2.22 0 kB [ebuild N ] sys-apps/net-tools-1.60-r11 +nls -static 0 kB [ebuild N ] sys-apps/module-init-tools-3.2.1 0 kB [ebuild N ] sys-apps/gawk-3.1.5 -build +nls 0 kB [ebuild N ] app-arch/bzip2-1.0.3-r6 -build -static 0 kB [ebuild N ] app-arch/tar-1.15.1-r1 -build +bzip2 +nls -static 0 kB [ebuild N ] sys-process/psmisc-22.1 -X -ipv6 +nls (-selinux) 0 kB [ebuild N ] sys-apps/file-4.13 -build +python 0 kB [ebuild N ] app-editors/nano-1.3.9 -build -debug -justify -minimal +ncurses +nls -slang -spell -unicode 0 kB [ebuild N ] sys-boot/grub-0.96-r2 -custom-cflags -netboot -static 0 kB [ebuild N ] sys-apps/pciutils-2.2.0-r1 0 kB [ebuild N ] sys-kernel/genkernel-3.3.11 -bootsplash -ibm 0 kB [ebuild N ] app-arch/cpio-2.6-r5 +nls 0 kB [ebuild N ] sys-apps/mkinitrd-3.5.7-r3 (-selinux) 0 kB [ebuild N ] net-misc/iputils-021109-r3 -doc -ipv6 -static 0 kB [ebuild N ] sys-process/procps-3.2.6 (-n32) 0 kB [ebuild N ] dev-util/ccache-2.3 0 kB [ebuild N ] sys-apps/findutils-4.1.20-r2 -build +nls (-selinux) -static 0 kB [ebuild N ] dev-libs/libol-0.3.17 0 kB [ebuild N ] app-admin/syslog-ng-1.6.9 -hardened (-selinux) -static +tcpd 0 kB [ebuild N ] sys-fs/device-mapper-1.02.02 0 kB [ebuild N ] sys-fs/lvm2-2.01.09 +nolvmstatic +readline 0 kB [ebuild N ] net-misc/wget-1.10.2 -build -debug -ipv6 +nls -socks5 +ssl -static 0 kB [ebuild N ] sys-kernel/gentoo-sources-2.6.15-r1 -build -doc -symlink (-ultra1) 0 kB [ebuild N ] sys-apps/which-2.16 0 kB [ebuild N ] net-firewall/iptables-1.3.4 -extensions -ipv6 -static 0 kB [ebuild N ] net-firewall/shorewall-3.0.4 -doc 0 kB [ebuild N ] app-admin/logrotate-3.7.1-r2 (-selinux) 0 kB [ebuild N ] sys-apps/less-385_p4-r2 -unicode 0 kB [ebuild N ] sys-apps/hdparm-6.3 0 kB [ebuild N ] sys-apps/busybox-1.1.0 -debug -floppyboot -make-symlinks -netboot -savedconfig -static 0 kB [ebuild N ] sys-libs/pwdb-0.62 (-selinux) 0 kB |