I’ve got a QNX 4.25 box with 2 NICs. For troubleshooting purposes, how do I specify or know thru which NIC I’m pinging?
Get rid the IP address of one NIC (ifconfig en0 delete), then you only got one interface to sendto/recvfrom.
How do I get it back?
ifconfig en0 [ipadress] netmask [netmask] up, example :
ifconfig en0 192.168.2.30 netmask 255.255.248.0 up
regards HELGE
Thanks, but will doing this end TCP/IP connectivity on the NIC? What if I want to just troubleshoot without disturbing comm?
And is it necessary to specify the netmask if either or both of the following are true:
- Both NICs are using the same netmask
- The netmask is 255.255.255.0