From: Chris R. <cre...@da...> - 2001-10-09 00:09:44
|
I've been playing with UML for a couple of days now and I've found a couple of issues that I haven't seen answers to in the HOWTO, tutorials, or my archive of this mail list. I'm working to implement UML hosts for all my servers (nothing like named running chroot'd on a host with a filesystem that has nothing more than the necessary programs to boot and run named, running under a non-privileged user on another host >:) 1) When using eth0=tun,,,192.168.1.2 and assigning 192.168.2.3 for the UML host, I can ping fine between the real host and the UML host, but the UML host cannot reach anything past the real host until I set proxy_arp to 1 under /proc/sys/net/ipv4/conf/tap*/. I have the gw for the UML machine set to the IP of the host. Have I missed a setting in either kernel config, or should I go ahead and modify uml_net to do it for me? 2) Has anyone successfully used a UML host has a DHCP server? I can ping it from my client machines, but I can't get an assignment from it. I have the two kernel options required for DHCP turned on in both the host and UML kernels. I can only ping it when I turn proxy_arp on for that tap interface. I have not yet tried to use iptables to "force" IP or ARP broadcasts to the UML host, nor am I opposed to the idea... All this is with a 2.4.10 kernel and uml patch 2.4.10-4 (I'll be going to 10-6 shortly), using TUN/TAP, on a Slackware 8.0 installation (DHCP test was using the Slackware 7.1 root_fs). Thanks in advance -- Chris Reahard |