[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] Connection problem within VM
From: |
Sergio R. Caprile |
Subject: |
Re: [lwip-users] Connection problem within VM |
Date: |
Wed, 27 Jan 2016 12:19:04 -0300 |
User-agent: |
Mozilla/5.0 (Windows NT 5.1; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 |
As I said, you have a routing problem.
You properly configured all your hosts in the same subnet, then you have
to ensure that whatever you are using to have lwIP looks as an
interface, is able to bridge that interface. I can't help you with Windoze.
lwip --------------------|
X-- virtual machine virtual eth --|
virtual machine TCP/IP --| |
|
real host TCP/IP ----------- virtual eth --- virtual bridge/router -->
--> real eth ---- outside world
You need to properly configure 'X', the virtual bridge/router seems to
be working, but...
You can put breakpoints in your netif to see if lwIP is seeing the
incoming frames and if it answers back. That will give you a clue on
what is going on. Wireshark running on the VM might see traffic if 'X'
lets it do that. I don't know.
PS: Is there a 192.168.98.2 somewhere else ? It is not mandatory for
this setup but it is not good practice to point to a nonexistent router,
makes debugging a pita.