Results 1 to 10 of 17

Thread: Internet not working with BT4 image in vmware player

Hybrid View

  1. #1
    Just burned his ISO pennypecker's Avatar
    Join Date
    Feb 2010
    Location
    Romania, The land of choice
    Posts
    7

    Lightbulb Internet not working with BT4 image in vmware player

    Hello,

    I'm trying to get the internet working in BT image played in vmware player. My configuration is the following :

    -a router D LINK DI-524 (non open wrt compatible...) that connects to internet with PPPoE. (I've activated the option to modify TTL, it now makes TTL+1 (the packets that arrive to router are TTL=1)

    -xp sp3 host

    -bt4 in vmware guest

    I'm connecting to the router wireless. I've shared the wireless connection with wm-net8 (and also tried with vm-net1) with Internet Connection Sharing.

    The configuration is:
    ---shared wireless network connection:
    ip: 192.168.1.22 / 24 ; default gw: 192.168.1.1 (router's address).

    ---VMnet8:
    ip: 192.168.0.1 / 24

    ---router's ip: 10.16.5.67

    ---in guest backtrack I've configured eth0 like:
    /etc/network/interfaces :

    auto eth0
    iface eth0 inet static
    address 192.168.0.2
    netmask 255.255.255.0
    network 192.168.0.0
    broadcast 192.168.0.255
    gateway 192.168.0.1

    I've also added in /etc/resolv.conf :

    domain localdomain
    search localdomain
    nameserver 192.168.0.1 (address of vmnet8 addapter on host)

    With this config, from bt guest in wmware player, I can successfully ping vmnet8 (192.168.0.1), the router (192.168.1.1) and also 10.16.5.67 (router's ip). I can also resolve hosts on internet. But I can't ping other computers on internet, just resolve hosts.
    From what I've seen 'host google.com' command makes UDP traffic not tcp, that can be easily traced with wiresahark from host os.

    For example, 'ping google.com' from guest os is not getting any replies back. I've traced with Wireshark and packets are successfully forwarded to the router, but I don't get replies to them in host OS.

    I've tries different approaches and solutions but no luck. I've also modified the ttl of incoming packets on my windows host from router, with ATTLFilter program built with ndisapi.dll library, because the packets are sent from router with ttl=1 and they would not be router to guest os by Internet connection Sharing.

    Maybe you can see something wrong in this. Thanks a lot if you can assist me a little.

    May it be because router's ip is not public?
    Last edited by pennypecker; 02-22-2010 at 09:44 AM. Reason: addings

  2. #2
    Super Moderator lupin's Avatar
    Join Date
    Jan 2010
    Posts
    2,943

    Default Re: Internet not working with BT4 image in vmware player

    Sounds like it could be a routing issue on your DLink router (e.g. no route back to your VmNet8 network). Is your Vmnet 8 setup to use NAT in VMWare or does it use a Host only network?
    Capitalisation is important. It's the difference between "Helping your brother Jack off a horse" and "Helping your brother jack off a horse".

    The Forum Rules, Forum FAQ and the BackTrack Wiki... learn them, love them, live them.

  3. #3
    Just burned his ISO pennypecker's Avatar
    Join Date
    Feb 2010
    Location
    Romania, The land of choice
    Posts
    7

    Default Re: Internet not working with BT4 image in vmware player

    Quote Originally Posted by lupin View Post
    Sounds like it could be a routing issue on your DLink router (e.g. no route back to your VmNet8 network). Is your Vmnet 8 setup to use NAT in VMWare or does it use a Host only network?
    Tried both, same thing happened. The router has only a http interface, I don't know how to configure a route on it.

  4. #4
    Super Moderator lupin's Avatar
    Join Date
    Jan 2010
    Posts
    2,943

    Default Re: Internet not working with BT4 image in vmware player

    Quote Originally Posted by pennypecker View Post
    Tried both, same thing happened. The router has only a http interface, I don't know how to configure a route on it.
    Im assuming your XP system can ping hosts on the internet? There is no firewalls filtering your traffic? Have you done a packet capture on the Xp system to confirm packets are leaving and coming back?

    Which interface on your router is the 10.16.5.67 address assigned to?
    Capitalisation is important. It's the difference between "Helping your brother Jack off a horse" and "Helping your brother jack off a horse".

    The Forum Rules, Forum FAQ and the BackTrack Wiki... learn them, love them, live them.

  5. #5
    Just burned his ISO pennypecker's Avatar
    Join Date
    Feb 2010
    Location
    Romania, The land of choice
    Posts
    7

    Default Re: Internet not working with BT4 image in vmware player

    Thanks for replies .

    Quote Originally Posted by lupin View Post
    Im assuming your XP system can ping hosts on the internet? Yes There is no firewalls filtering your traffic? Nope, I double verified.Have you done a packet capture on the Xp system to confirm packets are leaving and coming back?Done a packet capture with Wireshark. Packets are leaving from Xp host to the router, but not coming back

    Which interface on your router is the 10.16.5.67 address assigned to?WAN interface

    Thanks

  6. #6
    Super Moderator lupin's Avatar
    Join Date
    Jan 2010
    Posts
    2,943

    Default Re: Internet not working with BT4 image in vmware player

    Quote Originally Posted by pennypecker View Post
    Thanks for replies .
    Thanks
    The packets that leave the XP system generated by the VM - is the source IP address set appropriately? It should be set to the address of your XP machine 192.168.1.22 if you are using NAT - which is what I recommend under these circumstances. If you still have Internet Connection Sharing turned on, you should turn it off.

    10.16.5.67 is assigned to the external address of your router? Im assuming that at some point there is an Internet routable IP address assigned, otherwise your XP machine would not be ablt to communicate to the 'Net...
    Capitalisation is important. It's the difference between "Helping your brother Jack off a horse" and "Helping your brother jack off a horse".

    The Forum Rules, Forum FAQ and the BackTrack Wiki... learn them, love them, live them.

Similar Threads

  1. BT4 VMWare image: networking broken ...
    By jlmcp in forum Beginners Forum
    Replies: 3
    Last Post: 02-21-2010, 11:54 PM
  2. VMWare Image Installation issue
    By delusion in forum Beginners Forum
    Replies: 3
    Last Post: 01-31-2010, 05:02 PM
  3. vmware player and Packet Capture
    By Hadeshorn in forum Beginners Forum
    Replies: 4
    Last Post: 01-29-2010, 10:58 PM
  4. VMware Image - vmwaretools getting things working.
    By BadaBing in forum BackTrack Fixes
    Replies: 1
    Last Post: 01-24-2010, 05:23 PM
  5. BackTrack 4 Final Release VMWare Image
    By KeelBug in forum Beginners Forum
    Replies: 3
    Last Post: 01-20-2010, 09:49 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •