Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Disable Broadcast on a single QNX interface: (3 Items)
   
Disable Broadcast on a single QNX interface  
I'm using Neutrino 6.4.0 on a number of virtual machines, using VMware.

I have one VM acting as a gateway with a Bridged interface to my user LAN, and another interface configured as host only
. I then have a number of other VMs with just a single a host only interface configured. The idea is that each of these 
machines will communicate over the host only virtual LAN, and I use the bridged interface for access, copying files etc.


Some of the traffic sent between the hosts is broadcast ethernet, but I want to ensure these broadcasts on the gateway 
machine dont leak onto the user LAN. Is there a command (using ifconfig or some equivalent) whereby I can disable 
broadcast on my bridged interface?


Thanks,
Dan
Re: Disable Broadcast on a single QNX interface  
I'm assuming the answer to this query is no or have all the QNX experts gone on holiday? :)

Is it possible to disable Ethernet Broadcast on a single bridged interface within the QNX stack?
Re: Disable Broadcast on a single QNX interface  
On Thu, Jun 04, 2009 at 12:36:27PM -0400, Daniel Fearon wrote:
> I'm assuming the answer to this query is no or have all the QNX experts gone on holiday? :)
> 
> Is it possible to disable Ethernet Broadcast on a single bridged interface within the QNX stack?

Not currently with ifconfig.  From <net/if.h>

/* flags set internally only: */
#define IFF_CANTCHANGE \
        (IFF_BROADCAST|IFF_POINTOPOINT|IFF_RUNNING|IFF_OACTIVE|\
            IFF_SIMPLEX|IFF_MULTICAST|IFF_ALLMULTI|IFF_PROMISC|IFF_SHIM)

You might be able to set up some pf rule...

-seanb