Why I can't use the second NIC(en1) ?

Hi,
Recently I installed two NIC(3com905B-tx) under QNX Neutrino
PE(6.20),I config the right IP address and gateway.However,after
configuration I ping the en0 IP, it’s ok,and then I ping the en1 IP
address, it print "

ping: sendto: Host is down
ping: wrote 192.168.1.12 64 chars, ret=-1"

My configuration as follow:
en0: 192.168.1.11/24
en0: 192.168.1.12/24
gateway: 192.168.1.254

Thanks for any suggestion.

“Hichun” <hichun@ipp.ac.cn> wrote in message
news:3F76C260.4030103@ipp.ac.cn

Hi,
Recently I installed two NIC(3com905B-tx) under QNX Neutrino
PE(6.20),I config the right IP address and gateway.However,after
configuration I ping the en0 IP, it’s ok,and then I ping the en1 IP
address, it print "

ping: sendto: Host is down
ping: wrote 192.168.1.12 64 chars, ret=-1"

My configuration as follow:
en0: 192.168.1.11/24
en0: 192.168.1.12/24

I assume you mean en1: on that last line. Interfaces cannot be on the same
segment

gateway: 192.168.1.254

Thanks for any suggestion.

Mario Charest wrote:

“Hichun” <> hichun@ipp.ac.cn> > wrote in message
news:> 3F76C260.4030103@ipp.ac.cn> …

Hi,
Recently I installed two NIC(3com905B-tx) under QNX Neutrino
PE(6.20),I config the right IP address and gateway.However,after
configuration I ping the en0 IP, it’s ok,and then I ping the en1 IP
address, it print "

ping: sendto: Host is down
ping: wrote 192.168.1.12 64 chars, ret=-1"

My configuration as follow:
en0: 192.168.1.11/24
en1: 192.168.1.12/24


I assume you mean en1: on that last line. Interfaces cannot be on the same
segment

yes,I change en1 to 192.168.1.12/25,it’s ok.Why interfaces cannot be on
the same segment IP address?? But under other OS it can be set the same
segment without any error.

QNX sets up routing table in such a way that the first route it finds to a
given network will ALWAYS be used to access that network. Even if you unplug
the first port and try to ping the IP of the second port (that is on the
same network) it will not work.

This is rather silly IMHO, but they claim it is a ‘feature’, allegedly
inherited from the NetBSD stack.

“Chen” <hichun@ipp.ac.cn> wrote in message
news:3F76F117.1000609@ipp.ac.cn

Mario Charest wrote:
“Hichun” <> hichun@ipp.ac.cn> > wrote in message
news:> 3F76C260.4030103@ipp.ac.cn> …

Hi,
Recently I installed two NIC(3com905B-tx) under QNX Neutrino
PE(6.20),I config the right IP address and gateway.However,after
configuration I ping the en0 IP, it’s ok,and then I ping the en1 IP
address, it print "

ping: sendto: Host is down
ping: wrote 192.168.1.12 64 chars, ret=-1"

My configuration as follow:
en0: 192.168.1.11/24
en1: 192.168.1.12/24


I assume you mean en1: on that last line. Interfaces cannot be on the
same
segment


yes,I change en1 to 192.168.1.12/25,it’s ok.Why interfaces cannot be on
the same segment IP address?? But under other OS it can be set the same
segment without any error.