2 network cards

No problem to configure 2 network cards with the tiny tcpip stack, but
with the full stack, I get an error.
First card is a 3c905b, second is a 3c905c.
I tried:
#io-net -del900 -ptcpip
#ifconfig en0 172.20.1.11
#ifconfig en1 172.20.1.12
ifconfig: SIOCAIFADDR: File exists

I can add that if I have 2 network cards, the tcpip stack seems not work
properly even if I uncheck ‘enable device’ in phlip.

Any idea?

Thanks,
Alain.

Try using one ‘-dxxx’ option per NIC with different ‘pci=x’ option to each.
Ideally drivers should autodetect hoe many boards are present, but explicit
control does not hurt.

  • igor

“Alain Bonnefoy” <alain.bonnefoy@icbt.com> wrote in message
news:3B36E837.EBAEDD4C@icbt.com

No problem to configure 2 network cards with the tiny tcpip stack, but
with the full stack, I get an error.
First card is a 3c905b, second is a 3c905c.
I tried:
#io-net -del900 -ptcpip
#ifconfig en0 172.20.1.11
#ifconfig en1 172.20.1.12
ifconfig: SIOCAIFADDR: File exists

I can add that if I have 2 network cards, the tcpip stack seems not work
properly even if I uncheck ‘enable device’ in phlip.

Any idea?

Thanks,
Alain.

“Alain Bonnefoy” <alain.bonnefoy@icbt.com> wrote in message
news:3B36E837.EBAEDD4C@icbt.com

No problem to configure 2 network cards with the tiny tcpip stack, but
with the full stack, I get an error.
First card is a 3c905b, second is a 3c905c.
I tried:
#io-net -del900 -ptcpip
#ifconfig en0 172.20.1.11
#ifconfig en1 172.20.1.12
ifconfig: SIOCAIFADDR: File exists

I don’t think you cant have two interface on the same segment.
Try to setup the second interface in a different class.

ifconfig en1 172.10.10.10 for example and see if that works.


I can add that if I have 2 network cards, the tcpip stack seems not work
properly even if I uncheck ‘enable device’ in phlip.

Any idea?

Thanks,
Alain.

Igor Kovalenko a écrit :

Try using one ‘-dxxx’ option per NIC with different ‘pci=x’ option to each.
Ideally drivers should autodetect hoe many boards are present, but explicit
control does not hurt.

  • igor

“Alain Bonnefoy” <> alain.bonnefoy@icbt.com> > wrote in message
news:> 3B36E837.EBAEDD4C@icbt.com> …
No problem to configure 2 network cards with the tiny tcpip stack, but
with the full stack, I get an error.
First card is a 3c905b, second is a 3c905c.
I tried:
#io-net -del900 -ptcpip
#ifconfig en0 172.20.1.11
#ifconfig en1 172.20.1.12
ifconfig: SIOCAIFADDR: File exists

I can add that if I have 2 network cards, the tcpip stack seems not work
properly even if I uncheck ‘enable device’ in phlip.

Any idea?

Thanks,
Alain.

I though of that but pci utility gives 0 for both cards so, I don’t think I can
give a different index.


Thanks,
Alain.

Mario Charest a écrit :

“Alain Bonnefoy” <> alain.bonnefoy@icbt.com> > wrote in message
news:> 3B36E837.EBAEDD4C@icbt.com> …
No problem to configure 2 network cards with the tiny tcpip stack, but
with the full stack, I get an error.
First card is a 3c905b, second is a 3c905c.
I tried:
#io-net -del900 -ptcpip
#ifconfig en0 172.20.1.11
#ifconfig en1 172.20.1.12
ifconfig: SIOCAIFADDR: File exists

I don’t think you cant have two interface on the same segment.
Try to setup the second interface in a different class.

ifconfig en1 172.10.10.10 for example and see if that works.


I can add that if I have 2 network cards, the tcpip stack seems not work
properly even if I uncheck ‘enable device’ in phlip.

Any idea?

Thanks,
Alain.

Maybe, because by mistake I gave 172.2.1.12 and that address was accepted.
Multiple cards are usually used to create a gateway but I wanted to see how
works load balancing with qnet.
In that case (using qnet), it seems that we can use more than one card on the
same segment with the tiny stack or without any ip stack (I didn’t try it).
As I need the full stack for Samba it’s a problem because I don’t think that I
can choose a different segment. I have to check it.

thanks,
Alain.

Mario Charest wrote:

“Alain Bonnefoy” <> alain.bonnefoy@icbt.com> > wrote in message
news:> 3B36E837.EBAEDD4C@icbt.com> …
No problem to configure 2 network cards with the tiny tcpip stack, but
with the full stack, I get an error.
First card is a 3c905b, second is a 3c905c.
I tried:
#io-net -del900 -ptcpip
#ifconfig en0 172.20.1.11
#ifconfig en1 172.20.1.12
ifconfig: SIOCAIFADDR: File exists

I don’t think you cant have two interface on the same segment.
Try to setup the second interface in a different class.

ifconfig en1 172.10.10.10 for example and see if that works.

Why is that Mario?

  • igor

Alain Bonnefoy wrote:

Igor Kovalenko a écrit :

Try using one ‘-dxxx’ option per NIC with different ‘pci=x’ option to each.
Ideally drivers should autodetect hoe many boards are present, but explicit
control does not hurt.


I though of that but pci utility gives 0 for both cards so, I don’t think I can
give a different index.

Then they must have different device id, which you can pass to -del900
to differentiate 2 interfaces.

  • igor

“Igor Kovalenko” <Igor.Kovalenko@motorola.com> wrote in message
news:3B377501.121AEDED@motorola.com

Mario Charest wrote:

“Alain Bonnefoy” <> alain.bonnefoy@icbt.com> > wrote in message
news:> 3B36E837.EBAEDD4C@icbt.com> …
No problem to configure 2 network cards with the tiny tcpip stack, but
with the full stack, I get an error.
First card is a 3c905b, second is a 3c905c.
I tried:
#io-net -del900 -ptcpip
#ifconfig en0 172.20.1.11
#ifconfig en1 172.20.1.12
ifconfig: SIOCAIFADDR: File exists

I don’t think you cant have two interface on the same segment.
Try to setup the second interface in a different class.

ifconfig en1 172.10.10.10 for example and see if that works.


Why is that Mario?

I’m not sure, I just know you can’t do it with QNX4 so that why
I suggest it may be the same thing. From memory (I remember a
discution with M Hunter. about that) have two interface of in
the same segment in the same machine creates problem (routing and such)


That got me thinging how can QNET can implement redundant if
you can’t do that?

  • igor

Mario Charest a écrit :

“Igor Kovalenko” <> Igor.Kovalenko@motorola.com> > wrote in message
news:> 3B377501.121AEDED@motorola.com> …
Mario Charest wrote:

“Alain Bonnefoy” <> alain.bonnefoy@icbt.com> > wrote in message
news:> 3B36E837.EBAEDD4C@icbt.com> …
No problem to configure 2 network cards with the tiny tcpip stack, but
with the full stack, I get an error.
First card is a 3c905b, second is a 3c905c.
I tried:
#io-net -del900 -ptcpip
#ifconfig en0 172.20.1.11
#ifconfig en1 172.20.1.12
ifconfig: SIOCAIFADDR: File exists

I don’t think you cant have two interface on the same segment.
Try to setup the second interface in a different class.

ifconfig en1 172.10.10.10 for example and see if that works.


Why is that Mario?

I’m not sure, I just know you can’t do it with QNX4 so that why
I suggest it may be the same thing. From memory (I remember a
discution with M Hunter. about that) have two interface of in
the same segment in the same machine creates problem (routing and such)

That got me thinging how can QNET can implement redundant if
you can’t do that?

\

  • igor

Anyway, I’d like to know the difference on that point between tiny and full
stack. It may concern routing feature but does qnet can manage load balancing
between two card configured on different segments ??
If no, that says that we cannot use the full stack if we want load balancing on
Ethernet.


Thanks,
Alain.