Hello Michael, In case this is still relevant - ping does not work over VirtualBox's current NAT implementation.
Regards, Michael Michael Thaler wrote: > Hi, > > I am new to VirtualBox. I am running VirtualBox on Debian SID (Version > 1.6.2_OSE). I installed Windows XP as a guest operating system. Everything > works fine except the network, which does not work at all. > > I have a DSL connection using PPPoE. The output of ifconfig is: > > # ifconfig > eth0 Link encap:Ethernet HWaddr 00:00:cb:68:4e:7f > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:21858 errors:0 dropped:0 overruns:0 frame:0 > TX packets:19967 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:1000 > RX bytes:23630921 (22.5 MiB) TX bytes:3034009 (2.8 MiB) > Interrupt:21 Base address:0x800 > > 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:3310 errors:0 dropped:0 overruns:0 frame:0 > TX packets:3310 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:0 > RX bytes:514317 (502.2 KiB) TX bytes:514317 (502.2 KiB) > > ppp0 Link encap:Point-to-Point Protocol > inet addr:88.217.44.165 P-t-P:82.135.16.28 Mask:255.255.255.255 > UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1 > RX packets:21710 errors:0 dropped:0 overruns:0 frame:0 > TX packets:19820 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:3 > RX bytes:23144339 (22.0 MiB) TX bytes:2589078 (2.4 MiB) > > I am running pdns as a local dns server. /etc/resolv.conf contains: > # Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8) > # DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN > nameserver 127.0.0.1 > > > In Windows XP I see a LAN-Connection: an AMD PCNET Family Ethernet-Adapter, > which obtains IP address and DNS server automatically. The output of ipconfig > is (translated from German): > > IP-Address: 10.0.2.15 > Subnet: 255.255.255.0 > Standard gateway: 10.0.2.2 > > When I try to ping e.g. 88.217.44.165 or 82.135.16.28 all packets are lost. > > Here are some (hopefully relevant) parts of the VirtualBox log: > > 00:00:08.773 [/Devices/pcnet/] (level 2) > 00:00:08.773 > 00:00:08.773 [/Devices/pcnet/0/] (level 3) > 00:00:08.773 Trusted <integer> = 0x0000000000000001 (1) > 00:00:08.773 PCIDeviceNo <integer> = 0x0000000000000003 (3) > 00:00:08.773 PCIFunctionNo <integer> = 0x0000000000000000 (0) > 00:00:08.773 > 00:00:08.773 [/Devices/pcnet/0/Config/] (level 4) > 00:00:08.773 Am79C973 <integer> = 0x0000000000000001 (1) > 00:00:08.773 MAC <bytes> = "08 00 27 a6 5f 13" (cb=6) > 00:00:08.773 CableConnected <integer> = 0x0000000000000001 (1) > 00:00:08.773 LineSpeed <integer> = 0x0000000000000000 (0) > 00:00:08.773 > 00:00:08.773 [/Devices/pcnet/0/LUN#999/] (level 4) > 00:00:08.773 Driver <string> = "MainStatus" (cch=11) > 00:00:08.773 > 00:00:08.773 [/Devices/pcnet/0/LUN#999/Config/] (level 5) > 00:00:08.773 papLeds <integer> = 0x000000000a315f50 (171007824) > 00:00:08.773 > 00:00:08.773 [/Devices/pcnet/0/LUN#0/] (level 4) > 00:00:08.773 Driver <string> = "NAT" (cch=4) > 00:00:08.773 > 00:00:08.773 [/Devices/pcnet/0/LUN#0/Config/] (level 5) > 00:00:08.773 TFTPPrefix <string> = "/home/michi/.VirtualBox/TFTP" (cch=29) > 00:00:08.773 BootFile <string> = "Windows XP.pxe" (cch=15) > ... > 00:10:05.724 PCNet#0: Init: ss32=1 GCRDRA=0x06582420[64] GCTDRA=0x06582020[64] > 00:14:31.077 PCNet#0: Init: ss32=1 GCRDRA=0x06582420[64] GCTDRA=0x06582020[64] > 00:14:31.495 NAT: DHCP offered IP address 10.0.2.15 > 00:14:31.511 NAT: DHCP offered IP address 10.0.2.15 > 00:14:31.558 PCNet#0: Init: ss32=1 GCRDRA=0x06582420[64] GCTDRA=0x06582020[64] > 00:14:32.383 PCNet#0: Init: ss32=1 GCRDRA=0x06582420[64] GCTDRA=0x06582020[64] > 00:14:32.384 PCNet#0: Init: ss32=1 GCRDRA=0x06582420[64] GCTDRA=0x06582020[64] > 00:14:32.384 PCNet#0: Init: ss32=1 GCRDRA=0x06582420[64] GCTDRA=0x06582020[64] > 00:14:32.449 PCNet#0: Init: ss32=1 GCRDRA=0x06582420[64] GCTDRA=0x06582020[64] > 00:14:32.507 NAT: DHCP offered IP address 10.0.2.15 > 00:14:32.509 NAT: DHCP offered IP address 10.0.2.15 > 00:14:32.565 PCNet#0: Init: ss32=1 GCRDRA=0x06582420[64] GCTDRA=0x06582020[64] > 00:23:46.343 NAT: DNS address: 127.0.0.1 > .. > 00:28:47.312 PCNet#0: Init: ss32=1 GCRDRA=0x0673b420[64] GCTDRA=0x0673b020[64] > 00:28:48.020 PCNet#0: Init: ss32=1 GCRDRA=0x0673b420[64] GCTDRA=0x0673b020[64] > ... > 00:29:12.730 PCNet#0: Init: ss32=1 GCRDRA=0x0673b420[64] GCTDRA=0x0673b020[64] > 00:29:13.556 PCNet#0: Init: ss32=1 GCRDRA=0x0673b420[64] GCTDRA=0x0673b020[64] > ... > 00:30:34.947 PCNet#0: Init: ss32=1 GCRDRA=0x0673b420[64] GCTDRA=0x0673b020[64] > ... > 00:39:43.693 PCNet#0: Init: ss32=1 GCRDRA=0x066db420[64] GCTDRA=0x066db020[64] > 00:39:43.706 Guest adapter information contains unsupported type 5. The block > has been skipped. > ... > 00:39:43.693 PCNet#0: Init: ss32=1 GCRDRA=0x066db420[64] GCTDRA=0x066db020[64] > 00:39:43.706 Guest adapter information contains unsupported type 5. The block > has been skipped. > ... > 00:39:48.398 NAT: DHCP offered IP address 10.0.2.15 > 00:39:48.434 PCNet#0: Init: ss32=1 GCRDRA=0x066db420[64] GCTDRA=0x066db020[64] > 00:39:51.836 PCNet#0: Init: ss32=1 GCRDRA=0x066db420[64] GCTDRA=0x066db020[64] > 00:39:56.423 Guest Additions capability report: (0x5) seamless: yes, > hostWindowMapping: no, graphics: yes > 00:40:07.998 PCNet#0: Init: ss32=1 GCRDRA=0x066db420[64] GCTDRA=0x066db020[64] > > (I searched for net and copied the output containing net) > > Do you have any tips how to get the network working? > > Thanks, > Michael > > P.S. I cannot register for the formum because my mailserver uses Graylisting > and apparently the Forum only sends mails once, instead of trying it again > after failing to deliver an email. _______________________________________________ vbox-users mailing list [email protected] http://vbox.innotek.de/mailman/listinfo/vbox-users
