|
RE: RE: RE: RE: Sending Packets on different tcp/ip stacks
|
01/29/2009 9:26 AM
post20982
|
RE: RE: RE: RE: Sending Packets on different tcp/ip stacks
> for second instance
> #io-pkt-v4 -i1 -dpcnet pci=1 -ptcpen0ip prefix=/sock2
I hope that's a typo - that should be "-ptcpip" above,
not "-ptcpen0ip".
I'm puzzled by what you see - you say that (eg first
invocation) "ifconfig" shows the interface, but
"ifconfig en0" fails? That message generally means
that it can't find the stack at all - usually, it's
simply not running.
P.S. Be sure, before you start io-pkt, that you have
killed off all previous copies of it! ie
# pidin | grep io-pkt
should come up empty.
--
aboyd
|
|
|
|
RE: RE: RE: RE: Sending Packets on different tcp/ip stacks
|
01/29/2009 10:17 AM
post21002
|
RE: RE: RE: RE: Sending Packets on different tcp/ip stacks
The ifconfig (SIOCGIFLAGS) failure looks suspicious. What does nicinfo
say?
Thanks
Weijie
-----Original Message-----
From: RAHUL SABLE [mailto:community-noreply@qnx.com]
Sent: January 29, 2009 1:42 AM
To: ionetmig-networking
Subject: Re: RE: RE: RE: Sending Packets on different tcp/ip stacks
Hi all,
I tried the following things and the results are
First i slayed default io-pkt-v4-hc
then i configured the first tcp ip stack with pci
#io-pkt-v4 -dpcnet pci=0
for second instance
#io-pkt-v4 -i1 -dpcnet pci=1 -ptcpen0ip prefix=/sock2
#ifconfig
lo0: loop back inteface
en0: <mtu etc >
address 00:0c:29:28:ff:dd
#SOCK=/sock2 ifconfig
lo0: loop back inteface
en0: <mtu etc >
address 00:0c:29:28:ff:e7
I have seen here the mac addresses are different may be they are binding
to the different ethernet interfaces but when i tried to assign ip
addresses I got the following errors
#ifconfig en0 192.168.1.5 up
ifconfig:SIOCGIFLAGS en0:No such device or address
#SOCK=/sock2 ifconfig en0 192.168.2.5 up
ifconfig:SIOCGIFLAGS en0:No such device or address
and i also verified /dev/io-net and /dev/io-net1
both has en0 interfaces. Please let me know where i am wrong
thanks
_______________________________________________
io-net migration
http://community.qnx.com/sf/go/post20970
|
|
|