Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - autoIP half working?: (3 Items)
   
autoIP half working?  
I'm attempting to get autoIP working between WinXP and QNX.  The two machines are directly connected via crossover cable
.

On the QNX side I execute:

io-pkt-v4 -de1000 -ptcpip
mount -T io-pkt -oif=wm0,ip=169.254.20.20,delay=200,abandon,force lsm-autoip.so
dhcp.client -I 10 -i wm0  &
if_up wm0 -a -s 1 -r 10
route add default 169.254.20.20

At this point the WinXP machine has establish an IP address of 169.254.78.131. From this machine I can successfully ping
 the QNX machine at 169.254.20.20, but, I cannot ping the WinXP machine from the QNX machine.

The route table on the QNX end is probably no correct.  It contains:

Routing tables

Internet:
Destination             Gateway                 Flags
0.0.0.0/8                link#2                     U
default                   169.254.20.20        UG
localhost.localdom 127.0.0.1                 UH
169.254.0.0/16      link#2                      U
169.254.20.20       00:17:3c:00:9d:5c  UHL

Any ideas on how to fix this?  What have I overlooked?

When I use DHCP everything works fine.
Re: autoIP half working?  
If I remove the dhcp.client.... line to simplify things I get the same behavior.  Can ping to QNX from PC, can't ping 
from QNX to PC.
Re: autoIP half working?  
The problem was due to a firewall setting on the PC.  Remove the firewall and ping is now working in both directions.