From: Bret Mckee Subject: Re: DOM0 diskless => NAT doesn't work ?! Date: 09 Apr 2004 11:09:47 -0600 Sender: xen-devel-admin@lists.sourceforge.net Message-ID: <1081530587.6459.12.camel@fcbret.fc.hp.com> References: Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Errors-To: xen-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Ian Pratt Cc: xen-devel@lists.sourceforge.net List-Id: xen-devel@lists.xenproject.org Greetings: Ian and I exchanged more email off list, and he eventually asked the right question. For reasons that I don't understand (but presumably which are related to how things get added to the routing tables differently if the kernel initialized the networking instead of the startup scripts) the routing tables are slightly different if DOM0 is diskless. On a diskfull system, the relevant portions look like: Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0 and on a diskless system the look like: Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 lo 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0 Notice that the diskless system's first entry is to lo, not to eth0. This was the root of the problem. I fixed it with: route del -net 169.254.0.0 gw 0.0.0.0 netmask 255.255.0.0 lo With that change everything works as expected, and I can boot totally disless. I had looked at the routing tables earlier, but missed that difference. Thanks Ian. Bret ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click