Networking Forums

Networking Forums > Computer Networking > Linux Networking > UML (UserModeLinux) networking problem

Reply
Thread Tools Display Modes

UML (UserModeLinux) networking problem

 
 
G. Neumann
Guest
Posts: n/a

 
      11-07-2003, 01:10 PM
Hi Linuxers,

sorry to post this in 3 different news-groups, but I have no clou
which group would be the right one to ask.

I have a problem with UML and networking.
I try to setup a network connection between the UML virtuel machine
and the host but I don't get connection between them.

I can configure the eth0 device within UML using ifconfig and
I see the tap-device on the host. Seems to me, that the UML helper
programs (like uml_net) are working.
Both interfaces (UML and host) are up and routes are configured to the
devices with the apropriate network-addresses.

If I start tcpdump on both 'machines' and try pings between them, I
can see ARP-requests at the origin. But I don't receive any tcpdump
output at the destination and the target is unreachable.

What can I do/check to get the connection working ?
Could there be something missing within the host kernel ?

By the way, yes I know I can mount the host's filesystem on the UML
virual machine, but this is not what I want or need. I need the
possibility to initiate commands (e.g. via rsh) at the UML machine
from the/a host.

Any help/suggestion is welcome.

Thanks in advance
Guenter


The facts:

host-kernel: linux 2.4.18
UML-kernel: user_mode_linux-2.4.18.36um-0
executable downloaded form UML homepage (rpm package)
command on host: ping 192.169.10.10
command on UML: ping 192.168.10.100

ifconfig from host:
-------------------
eth0 Link encap:Ethernet HWaddr 00:04:76:EA:99:46
inet addr:129.23.12.160 Bcast:129.23.15.255 Mask:255.255.252.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:5969070 errors:0 dropped:0 overruns:81 frame:0
TX packets:6075222 errors:0 dropped:0 overruns:0 carrier:0
collisions:691821 txqueuelen:100
RX bytes:2746909112 (2619.6 Mb) TX bytes:2242485986 (2138.6 Mb)
Interrupt:11 Base address:0x3400

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:21075 errors:0 dropped:0 overruns:0 frame:0
TX packets:21075 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1602048 (1.5 Mb) TX bytes:1602048 (1.5 Mb)

tap0 Link encap:Ethernet HWaddr FE:FD:00:00:00:00
inet addr:192.168.10.100 Bcast:192.168.10.255
Mask:255.255.255.255
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:148 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:17840 (17.4 Kb)
Interrupt:5


ifconfig from UML:
------------------
eth0 Link encap:Ethernet HWaddr FE:FD:C0:A8:0A:0A
inet addr:192.168.10.10 Bcast:192.168.10.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1484 Metric:1
RX packets:1 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:28 (28.0 b) TX bytes:264 (264.0 b)
Interrupt:5

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:18 errors:0 dropped:0 overruns:0 frame:0
TX packets:18 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1628 (1.5 Kb) TX bytes:1628 (1.5 Kb)


route from host:
----------------
Destination Gateway Genmask Flags Metric Ref Use
Iface
192.168.10.0 * 255.255.255.0 U 0 0 0 tap0
mchm_32 * 255.255.252.0 U 0 0 0 eth0
loopback * 255.0.0.0 U 0 0 0 lo
default mmma.ma. 0.0.0.0 UG 0 0 0 eth0

route from UML:
---------------
Destination Gateway Genmask Flags Metric Ref Use
Iface
192.168.10.0 * 255.255.255.0 U 0 0 0 eth0


 
Reply With Quote
 
 
 
 
Jim Fischer
Guest
Posts: n/a

 
      11-07-2003, 02:43 PM
G. Neumann wrote:
> If I start tcpdump on both 'machines' and try pings between them, I
> can see ARP-requests at the origin. But I don't receive any tcpdump
> output at the destination and the target is unreachable.


On the 'tap0' interface, the netmask value is specified as
'255.255.255.255'. Try changing the netmask value to '255.255.255.0' and
see if this change fixes the problem.

> tap0 Link encap:Ethernet HWaddr FE:FD:00:00:00:00
> inet addr:192.168.10.100 Bcast:192.168.10.255
> Mask:255.255.255.255
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:0 errors:0 dropped:0 overruns:0 frame:0
> TX packets:148 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:0
> RX bytes:0 (0.0 b) TX bytes:17840 (17.4 Kb)
> Interrupt:5


--
Jim

To reply by email, remove "link" and change "now.here" to "yahoo"
jfischer_link5809{at}now.here.com


 
Reply With Quote
 
Cameron Kerr
Guest
Posts: n/a

 
      01-28-2004, 04:27 AM
In comp.os.linux.networking G. Neumann <(E-Mail Removed)> wrote:
> Hi Linuxers,
>
> sorry to post this in 3 different news-groups, but I have no clou
> which group would be the right one to ask.


The uml-user mailing list and the #uml channel on irc.usermodelinux.org
would be both topical and useful. Of course, that's not to say that this
forum would be a good choice too. ;^)

--
Cameron Kerr
(E-Mail Removed) : http://nzgeeks.org/cameron/
Empowered by Perl!
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Networking problem James Wireless Networks 4 04-04-2006 02:02 PM
networking problem Jeff Broadband Hardware 0 05-01-2005 05:41 AM
Networking problem Alex Windows Networking 0 12-22-2003 08:50 PM
Networking problem Gary Windows Networking 2 11-17-2003 09:08 PM
Networking Problem Rick Norbury Windows Networking 0 09-15-2003 11:34 PM



1 2 3 4 5 6 7 8 9 10 11