Raj Vardhan
|
Multiple Interfaces in QNX 6.4.1
|
Raj Vardhan
07/22/2010 10:33 AM
post60286
|
Multiple Interfaces in QNX 6.4.1
Hi,
We have a computer with 2 voards.
1 of the CPU connects to the network using DHCP and it also connects to the other CPU using Serial over TCP
communication.
I am porting this project from 6.3.1.
The earlier code was:
The earlier code for having the network up for the CC project(Lower Board) was:
io-net -dspeedo -dfd fd=/dev/ser1,mac=000102030405,ahdlc -ptcpip
ifconfig en1 1.1.1.1 netmask 255.255.255.252
For the MC project (Upper Board) it was:
io-net -dspeedo -dfd fd=/dev/ser1,mac=000102030406,ahdlc -ptcpip
ifconfig en1 1.1.1.2 netmask 255.255.255.252
As we can see that there were two interfaces en0 and en1.
Since we connect the lower board’s Ethernet port to the network so the lower board was getting 2 IP’s for 2 different
interfaces.
The interface en1 of the lower board was used to communicate with the upper board and the interface en0 was used to
communicate with the network.
But i dont know how can we have multiple interfaces in QNX 6.4.1.
I could not see an appropriate answer when I searched through web
Please Help.
|
|
|