[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

User Mode Linux



Hello,

I've been trying to use the package user-mode-linux under Debian, but
I've got some problems.

First, I tried using the debian root image found at
usermodelinux.sf.net; couldn't make it work, and finally tried the
slackware one. That is working well, but I can't make the eth0 interface
work.

- This is what I do in the host:

tunctl -u 1000
ifconfig tap1 192.168.0.2 netmask 255.255.255.0 up

- To call the virtual machine:

linux umid=uml1 ubd0=./slack devfs=mount root=/dev/ubd0
eth0=ethertap,tap1 mem=32M

- Then, I configure the eth0 in the VM (checked w/ ifconfig):

eth0      Link encap:Ethernet  HWaddr FE:FD:C0:A8:00:0A
          inet addr:192.168.0.10  Bcast:192.168.0.255 
Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1484 
Metric:1
          [...snipped...]


- When I try to ping the VM from the host:

PING 192.168.0.10 (192.168.0.10): 56 data bytes
ping: sendto: Operation not permitted
ping: wrote 192.168.0.10 64 chars, ret=-1
ping: sendto: Operation not permitted
ping: wrote 192.168.0.10 64 chars, ret=-1

- Pinging the host from the VM:

PING 192.168.0.2 (192.168.0.2): 56 octets data
write: Connection refused
                         write: Connection refused
                                                  write: Connection
refused                                                                 
         write: Connection refused

(the messages appears as this, badly formatted)


I tried also the tuntap & the uml-utilites methods, but other problems
arise. This was the closer I could get to networking the VM with
the host (at least the VM lets me configure the eth0 interface).
Anyone has any ideas?

-- 
                                    .O.
SmileyByte                          ..O  <><
http://bertelli.endofinternet.net   OOO               Debian GNU/Linux



Reply to: