logo       

[uml-user] Problems with UML Networking: msg#00321

Subject: [uml-user] Problems with UML Networking
Greetings list,

Am running in to difficulties trying to get UML networking to work.

The host is running a 2.4.22 kernel with the SKAS patch applied.  UML is
running 2.4.22 with the UML patch applied.  Both systems have tun/tap
enabled in the kernel.

My network is set up as follows.  The host system has an ip for example of
111.111.111.111 and my UML has an ip of 111.111.111.222
111.111.111.111 is assigned to eth0 on the host also

Here is the script I am using to bring up the UML.

#!/bin/sh
/usr/sbin/tunctl -u djstatik
/sbin/ifconfig tap0 111.111.111.111 netmask 255.255.255.255 up
/sbin/route add -host 111.111.111.222 tap0
/bin/echo 1 > /proc/sys/net/ipv4/conf/tap0/proxy_arp
/usr/sbin/arp -Ds 111.111.111.222 eth0 pub
su djstatik - -c "/usr/local/uml/linux-2.4.22-uml defs=mount
eth0=tuntap,tap0"

User djstatik is in a group called uml which has write access to
/dev/net/tun

When the host comes up I do a

ifconfig eth0 111.111.111.222 up

and I am able to:

* Ping the host from the UML
* ping the outside world from the UML
* ping the UML from the host.

but I can't ping the UML from the outside world.

I suspect this to be a routing problem on the host, but I honestly can't
spot what the problem is.

If anyone can see anything painfully obvious that I am doing wrong then I
would really appreciate your suggestions.

Thanks

Mitchell Smith



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/


<Prev in Thread] Current Thread [Next in Thread>