Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Communicating with remote host using simnet in VxWorks 6.1

242 views
Skip to first unread message

chet...@gmail.com

unread,
Jul 8, 2006, 10:07:55 AM7/8/06
to
I am not able to communicate with the remote host from an application
running on "VxWorks 6.1 simulator" which is running on Windows Xp .

Procedure that i have followed is given below:

1. I have created the configuration file with name "vxsimTest.conf". It
contains
SUBNET_START sub2 {
SUBNET_ADDRESS = "192.168.200.0";
SUBNET_EXTERNAL = yes;
SUBNET_EXTPROMISC = yes;
};

2. Installed Subnet Daemon using vxsimnetsd_inst.exe which worked fine.


3. Then, having put the "vxsimTest.conf" file in the working directory
(D:\WindRiver\vxworks-6.1\host\x86-win32\bin), i ran the command
vxsimnetd -f vxsimTest.conf from dos command prompt. But the command
did not respond. So, i started the sevice (Wind River Network Daemon
for VxWorks Simulator) using windows services. I found that there was
no issue in doning this. It stared running.

4. I installed WRTAP driver as well as mentinoned in the manual. When i
ran ipconfig from the cmd on windows, it gave the following details
for WRTAP adapter.

IP = 192.168.200.254

5. I then enabled Routing and Forward service.

6. Then i started simulator with default build path and with the
following boot parameters.

e = 192.168.200.1
h = 90.0.0.1 (my host IP on which simulator is running)
g = 192.168.200.254

7. Remote host (running on VxWorks) configurations are as follows.

remote host ip = 100.0.0.1
gateway = 90.0.0.1 (which is the host ip of the machine running the
simulator)

8. I am able to ping the host on subnet (192.168.200.1) from a remote
machine (100.0.0.1 or any other machine)

9. I wrote a small test program running on the simulator for

a. Binds IP 192.168.200.1 and port = 50000 (binding succeeded)
b. Sends UDP packet to IP 100.0.0.1 (remote host) port = 50001 .
Remote host is listening at port = 50001

Problem: Remote host is not able to receive the packets sent by the
simulator. Although "ping" works fine.

Please give your suggestions if i am wrong in following the procedure
as mentioned above.

If anybody has done a similar communication (simnet with remote host) ,
please give the details as soon as possible.

Lars Kringelbach

unread,
Jul 13, 2006, 2:18:00 AM7/13/06
to
> 8. I am able to ping the host on subnet (192.168.200.1) from a remote
> machine (100.0.0.1 or any other machine)
>
> 9. I wrote a small test program running on the simulator for
>
> a. Binds IP 192.168.200.1 and port = 50000 (binding succeeded)
> b. Sends UDP packet to IP 100.0.0.1 (remote host) port = 50001 .
> Remote host is listening at port = 50001
>
> Problem: Remote host is not able to receive the packets sent by the
> simulator. Although "ping" works fine.

Can you ping from the simulator to the host (192.168.200.254 or
90.0.0.1)? If not, then check if the firewall is enabled on your WRTAP
network device. The firewall must be disabled if you need to
communicate from your simulator to your host.

/Lars

0 new messages