From: Martin Persson <martin@ce...> - 2001-06-14 12:40:52
I have a 2.4.5-6um kernel with the standard root_fs_redhat_6.2_big
running on a RedHat 6.2 system with a 2.2.19 kernel. uml_net etc comes
from the rpm user-mode-linux-0.42_2.4.5-0.i386.rpm.
What happens is the following. I boot the user mode linux with
./linux/linux ubd0=root_fs_redhat_6.2_big/ eth0=ethertap,tap0,fe:fd:0:0:0:1,10.47.1.80
and when everything's up and running, everything looks just peachy in
the uml. However, in the host-system the routing table looks a bit
screwed up in my eyes.
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.47.1.80 0.0.0.0 255.255.255.255 UH 0 0 0 eth0
10.47.1.90 10.47.1.80 255.255.255.255 UGH 0 0 0 eth0
10.47.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
10.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 tap0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 10.47.255.0 0.0.0.0 UG 0 0 0 eth0
To begin with, the 10.0.0.0-entry shouldn't be there at all since the
network is a /16, but that is a minor problem. The major problem is
line 2. With this routing networking doesn't work. If I do a
route del -host 10.47.1.90
route add -host 10.47.1.90 tap0
things works just perfect.
Now, before I start to trash around in the, is this a problem with my
setup (like, my host-system running a too ancient kernel or so) or am
I doing something obviously wrong?
Otherwise I guess I better contribute and fix it?