Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - How to behave like a switch ?: (5 Items)
   
How to behave like a switch ?  
6.5.0 X86

A customer wonders how to use their 3-NIC X86 board to forward packets like a switch does i.e. configure all 3 NICs to 
be on the same logical subnet, yet be physically connected to different cables/other NICs on each port, allowing those 
external devices to communicate with each other and QNX via the QNX box that will forward packets as required between 
the ports.

Normally, we do not allow this, and I understand that. Is there a mode we can se tthat will achieve this, or do we 
strictly require each NIC to be on a different subnet ?

Thanks !

Dave
Re: How to behave like a switch ?  
Look at 'ifconfig bridge0 create' and the 'brconfig' utility.  This is all at layer 2.

Regards,

-seanb

----- Original Message -----
From: Dave Bott [mailto:community-noreply@qnx.com]
Sent: Monday, February 28, 2011 08:55 PM
To: technology-networking <post83605@community.qnx.com>
Subject: How to behave like a switch ?

6.5.0 X86

A customer wonders how to use their 3-NIC X86 board to forward packets like a switch does i.e. configure all 3 NICs to 
be on the same logical subnet, yet be physically connected to different cables/other NICs on each port, allowing those 
external devices to communicate with each other and QNX via the QNX box that will forward packets as required between 
the ports.

Normally, we do not allow this, and I understand that. Is there a mode we can se tthat will achieve this, or do we 
strictly require each NIC to be on a different subnet ?

Thanks !

Dave



_______________________________________________

Technology
http://community.qnx.com/sf/go/post83605
RE: How to behave like a switch ?  
Thanks Guys.
 
Small point :
 
ifconfig bridge0 create 
does not appear to be documented....
 
'create' is mentioned, but nothing specific.
 
brconfig is, which is lovely !
 
So, is 
ifconfig bridge0 create
all that is required to be done, prior to using brconfig to set the real magic up ?
 
Thanks !
 
Dave

________________________________

From: Sean Boudreau [mailto:community-noreply@qnx.com]
Sent: Mon 2/28/2011 6:14 PM
To: technology-networking
Subject: Re: How to behave like a switch ?



Look at 'ifconfig bridge0 create' and the 'brconfig' utility.  This is all at layer 2.

Regards,

-seanb

----- Original Message -----
From: Dave Bott [mailto:community-noreply@qnx.com]
Sent: Monday, February 28, 2011 08:55 PM
To: technology-networking <post83605@community.qnx.com>
Subject: How to behave like a switch ?

6.5.0 X86

A customer wonders how to use their 3-NIC X86 board to forward packets like a switch does i.e. configure all 3 NICs to 
be on the same logical subnet, yet be physically connected to different cables/other NICs on each port, allowing those 
external devices to communicate with each other and QNX via the QNX box that will forward packets as required between 
the ports.

Normally, we do not allow this, and I understand that. Is there a mode we can se tthat will achieve this, or do we 
strictly require each NIC to be on a different subnet ?

Thanks !

Dave



_______________________________________________

Technology
http://community.qnx.com/sf/go/post83605




_______________________________________________

Technology
http://community.qnx.com/sf/go/post83606



RE: How to behave like a switch ?  
'ifconfig -C' is mentioned.

Regards,

-seanb

-----Original Message-----
From: Dave Bott [mailto:community-noreply@qnx.com]
Sent: Mon 2/28/2011 9:39 PM
To: technology-networking
Subject: RE: How to behave like a switch ?
 
Thanks Guys.
 
Small point :
 
ifconfig bridge0 create 
does not appear to be documented....
 
'create' is mentioned, but nothing specific.
 
brconfig is, which is lovely !
 
So, is 
ifconfig bridge0 create
all that is required to be done, prior to using brconfig to set the real magic up ?
 
Thanks !
 
Dave

________________________________

From: Sean Boudreau [mailto:community-noreply@qnx.com]
Sent: Mon 2/28/2011 6:14 PM
To: technology-networking
Subject: Re: How to behave like a switch ?



Look at 'ifconfig bridge0 create' and the 'brconfig' utility.  This is all at layer 2.

Regards,

-seanb

----- Original Message -----
From: Dave Bott [mailto:community-noreply@qnx.com]
Sent: Monday, February 28, 2011 08:55 PM
To: technology-networking <post83605@community.qnx.com>
Subject: How to behave like a switch ?

6.5.0 X86

A customer wonders how to use their 3-NIC X86 board to forward packets like a switch does i.e. configure all 3 NICs to 
be on the same logical subnet, yet be physically connected to different cables/other NICs on each port, allowing those 
external devices to communicate with each other and QNX via the QNX box that will forward packets as required between 
the ports.

Normally, we do not allow this, and I understand that. Is there a mode we can se tthat will achieve this, or do we 
strictly require each NIC to be on a different subnet ?

Thanks !

Dave



_______________________________________________

Technology
http://community.qnx.com/sf/go/post83605




_______________________________________________

Technology
http://community.qnx.com/sf/go/post83606







_______________________________________________

Technology
http://community.qnx.com/sf/go/post83608


Attachment: Text winmail.dat 3.18 KB
RE: How to behave like a switch ?  
Hi Sean,
 
You're right, '-C' is mentioned, in the depths of reams of docs, but how would a new person know to look for it ? If 
there was a section marked 'how to set up a bridge', that would be a lot more obvious.
 
 I'll grant you it could help to provide a clue, but we're supposed to be helping prospects and customers to get things 
done easily, not make them work really hard to do stuff we can document.
 
So, I run 'ifconfig -C'
and it lists 'bridge' amongst other things.  How does this help me ?
 
How do I know what to do with 'bridge' ? How do I know to use brconfig (it is not mentioned in ifconfig) ?
 
The customer tells me he's tried to use brconfig, but is not managing to get it working.
 
Is there a (tested) example that a customer can use as a starting point, even if it is a non-QNX document ? I'll file a 
PR requesting improved docs, assuming that this does all work at some point.
 
I'm not trying to be awkward, I'm asking that the documentation cover this, so that a customer can help themselves and 
be happier, while also relieving us of the support burden. Happier customer and less work for us sounds like the way to 
go...
 
Any suggestions for the exact steps that this customer should take would be most welcome.
 
Regards
 
Dave

________________________________

From: Sean Boudreau [mailto:community-noreply@qnx.com]
Sent: Tue 3/1/2011 12:06 AM
To: technology-networking
Subject: RE: How to behave like a switch ?




'ifconfig -C' is mentioned.

Regards,

-seanb

-----Original Message-----
From: Dave Bott [mailto:community-noreply@qnx.com]
Sent: Mon 2/28/2011 9:39 PM
To: technology-networking
Subject: RE: How to behave like a switch ?

Thanks Guys.

Small point :

ifconfig bridge0 create
does not appear to be documented....

'create' is mentioned, but nothing specific.

brconfig is, which is lovely !

So, is
ifconfig bridge0 create
all that is required to be done, prior to using brconfig to set the real magic up ?

Thanks !

Dave

________________________________

From: Sean Boudreau [mailto:community-noreply@qnx.com]
Sent: Mon 2/28/2011 6:14 PM
To: technology-networking
Subject: Re: How to behave like a switch ?



Look at 'ifconfig bridge0 create' and the 'brconfig' utility.  This is all at layer 2.

Regards,

-seanb

----- Original Message -----
From: Dave Bott [mailto:community-noreply@qnx.com]
Sent: Monday, February 28, 2011 08:55 PM
To: technology-networking <post83605@community.qnx.com>
Subject: How to behave like a switch ?

6.5.0 X86

A customer wonders how to use their 3-NIC X86 board to forward packets like a switch does i.e. configure all 3 NICs to 
be on the same logical subnet, yet be physically connected to different cables/other NICs on each port, allowing those 
external devices to communicate with each other and QNX via the QNX box that will forward packets as required between 
the ports.

Normally, we do not allow this, and I understand that. Is there a mode we can se tthat will achieve this, or do we 
strictly require each NIC to be on a different subnet ?

Thanks !

Dave



_______________________________________________

Technology
http://community.qnx.com/sf/go/post83605




_______________________________________________

Technology
http://community.qnx.com/sf/go/post83606







_______________________________________________

Technology
http://community.qnx.com/sf/go/post83608






_______________________________________________

Technology
http://community.qnx.com/sf/go/post83610


Attachment: Text winmail.dat 6.67 KB