View previous topic :: View next topic |
Author |
Message |
firsm n00b

Joined: 18 Dec 2003 Posts: 7
|
Posted: Sun Mar 26, 2006 7:51 pm Post subject: Usermode-Linux Networking not working |
|
|
Hello,
I'm trying to set up networking inside of my UML.
I am using a root_fs image from the official UML Webpage (Debian-3.0r0.ext2) and this kernel:
http://uml.nagafix.co.uk/kernels/kernel32-2.4.32-bs2 (http://uml.nagafix.co.uk/kernels/kernel32-2.4.32-bs2.config)
To start the UML I issue the following command:
./kernel32-2.4.32-bs2 ubd0=./Debian-3.0r0.ext2 eth0=tuntap,,,192.168.0.100 root=/dev/ubda
This will bring up a tap interface called tap0 on my HOST system:
tap0 Link encap:Ethernet HWaddr 0E:95:D4:C4:8A:C1
inet addr:192.168.0.100 Bcast:192.168.0.255 Mask:255.255.255.255
inet6 addr: fe80::c95:d4ff:fec4:8ac1/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:0 (0.0 b) TX bytes:258 (258.0 b)
And the following route on my HOST system:
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.5 * 255.255.255.255 UH 0 0 0 tap0
My GUEST system is using this configuration:
eth0 Link encap:Ethernet HWaddr FE:FD:C0:A8:00:05
inet addr:192.168.0.5 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:216 (216.0 b) TX bytes:0 (0.0 b)
Interrupt:5
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 * 255.255.255.0 U 0 0 0 eth0
default 192.168.0.100 0.0.0.0 UG 0 0 0 eth0
Anyway, if I try to ping 192.168.0.100 from my UML, I lose 100% of the ICMP packets.
The interesting part is to start tcpdump on my HOST system while pinging it from the UML:
homer var # tcpdump -i tap0
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on tap0, link-type EN10MB (Ethernet), capture size 96 bytes
21:48:32.807239 IP 192.168.0.5 > 192.168.0.100: ICMP echo request, id 37888, seq 0, length 64
21:48:32.807324 IP 192.168.0.100 > 192.168.0.5: ICMP host 192.168.0.100 unreachable, length 92
21:48:37.806336 arp who-has 192.168.0.5 tell 192.168.0.100
21:48:37.806488 arp reply 192.168.0.5 is-at fe:fd:c0:a8:00:05 (oui Unknown)
Well, I've tried almost everything so far. Any help would be highly appreciated.
Thanks in advance
Fabian Hirschmann |
|
Back to top |
|
 |
firsm n00b

Joined: 18 Dec 2003 Posts: 7
|
Posted: Mon Mar 27, 2006 5:15 pm Post subject: |
|
|
Hello,
Well I still haven't gotten it up and running - Could my firewall cause any problems here?
Fabian Hirschmann |
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|