Hello, everyone! I am a newer. I want to use the user mode linux to make
a insight into the tcp/ip stack.my operating system is Ubuntu 9.10 -
Karmic Koala.I construct the user mode linux following the commands in
the http://user-mode-linux.sourceforge.net/ website.I download the
linux-2.6.32 kernel source.

make defconfig ARCH=um

make ARCH=um

I download the Ubuntu-KarmicKoala-i386-root_fs. 
./linux ubda=Ubuntu-KarmicKoala-i386-root_fs mem=128M 
the boot is right.Then I login in as the root user and left password is none.
But I cann't log in.
Then I download the Debian-5.0-x86-root_fs.
./linux ubda=Debian-5.0-x86-root_fs mem=128M
the boot is right. And I login in as the root and the password is none.
my login is right.
Then I config the network.
My computer is in the local net.It's address is 192.168.237.112.
in the host:  
modprobe tun
modprobe iptable_nat
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
echo 1 > /proc/sys/net/ipv4/ip_forward

linux ubda=Debian-5.0-x86-root_fs eth0=tuntap,,,192.168.237.115 mem=128M

in the UML:
ifconfig eth0 192.168.237.116 up
helper_wait : waitpid process 4699 failed, errno = 10
* modprobe tun
* ifconfig tap0 192.168.237.115 netmask 255.255.255.255 up
* bash -c echo 1 > /proc/sys/net/ipv4/ip_forward
helper_wait : waitpid process 4704 failed, errno = 10
* route add -host 192.168.237.116 dev tap0
* bash -c echo 1 > /proc/sys/net/ipv4/conf/tap0/proxy_arp
* arp -Ds 192.168.237.116 eth0 pub
IRQ 5/eth0: IRQF_DISABLED is not guaranteed on shared IRQs



route add default gw 192.168.237.115

when i ping the 192.168.237.116,the host is unreable.
when i ping the 127.0.0.1, the host is alow unreable.

Can anyone help me?

when I using the 192.168.0.253 and 253, the result is same.

Thank you.



------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to