Network not functioning WinXP guest Linux host

Discussion in 'Installation and Configuration in Windows and Linux' started by Flyer, Mar 14, 2008.

  1. Flyer

    Flyer Bit poster

    Messages:
    3
    I have a MacBook Pro and first installed Parallels on it under MacOS. This work and everything is fine.
    However, I do not run MacOS very often and run mostly Linux OpenSuse 10.3. So I installed Parallels Workstation on it
    I created a virtual machine and was able to install WinXP on it and it seems to work fine.
    I then noticed the network did not function.
    I am trying to connect to the Internet using a wireless interface.
    A google search led me to http://kb.parallels.com/entry/40/512/
    However, following the instructions does not work.

    When I try to ping my router, it times out and a
    tcpdump -i vnic0
    reveals that the guest OS is trying to get the arp of the router...
    tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
    listening on vnic0, link-type EN10MB (Ethernet), capture size 96 bytes
    14:30:22.030323 arp who-has 10.37.129.213 tell 10.37.129.213
    14:30:22.030350 arp who-has 10.37.129.213 tell 10.37.129.213
    I got the arp into windows, but it does not help... The output of tcpdump becomes:
    14:32:48.737285 IP 10.37.129.213 > 192.168.2.1: ICMP echo request, id 512, seq 1024, length 40
    14:32:53.744237 IP 10.37.129.213 > 192.168.2.1: ICMP echo request, id 512, seq 1280, length 40
    14:33:04.186183 IP 10.37.129.213.netbios-dgm > 10.37.129.255.netbios-dgm: NBT UDP PACKET(138)
    14:33:04.186225 IP 10.37.129.213.netbios-dgm > 10.37.129.255.netbios-dgm: NBT UDP PACKET(138)

    So it seems maybe the iptables entry has a problem... I used:
    iptables -t nat -A POSTROUTING -s 10.37.129.0/24 --out-interface ath0 -j SNAT --to-source 192.168.2.1

    The output of a netstat -rn, showing my network routes gives:
    Kernel IP routing table
    Destination Gateway Genmask Flags MSS Window irtt Iface
    10.37.129.0 0.0.0.0 255.255.255.0 U 0 0 0 vnic0
    192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0 ath0
    127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
    0.0.0.0 192.168.2.1 0.0.0.0 UG 0 0 0 ath0

    Is there a way to get me networked?
     
  2. Flyer

    Flyer Bit poster

    Messages:
    3
    OK I got it working. I must say that someone should update the FAQ with a bit more details as to what some of the addresses are and how to determine them. I had made one small fatal mistake in the gateway setting... Re-reading one sentence a bit more carefully and understanding which address was meant by having read some other page allowed me to finally get it working.
     
  3. raghos

    raghos Bit poster

    Messages:
    5
    Flyer,

    I have the same problem. Could you provide more details about your solution?

    Thanks
     

Share This Page