|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] DOM0 diskless => NAT doesn't work ?!
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
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel
|
|
|
|
|