Prevent\Detect Dual Homing

Have a question or want to start a discussion? Post it! No Registration Necessary.  Now with pictures!

Threaded View
Is there a script to tweak the registry key that we can used to
detected if wireless and wired NIC has been enabled simultaneously.
Under this condition, the wireless NIC shall be disabled.

Thanks.


Re: Prevent\Detect Dual Homing

happy.ppp@gmail.com wrote:
Quoted text here. Click to load it


f it is Windows XP, it should happen automatically.

see

http://www.windowsitpro.com/Article/ArticleID/24163/24163.html


Re: Prevent\Detect Dual Homing

If not Windows XP, set the interface route metrics so that the wired
interface has a lower metric


Re: Prevent\Detect Dual Homing
You does this by using route metric. However, for directly connected
subnet of wireless NIC, you shall goes via the wireless NIC instead of
the wired NIC. We want everything to goes thru the wired NIC and
disable the wireless NIC in total.


Merv wrote:

Quoted text here. Click to load it


Re: Prevent\Detect Dual Homing
Do anyone know of any script that tweak the registry to disable the
wireless NIC when both the wired and wireless NIC is detected.

Pls advise and thanks.


happy.ppp wrote:
Quoted text here. Click to load it


Re: Prevent\Detect Dual Homing
It is possible to bridge wireless and wired NIC in XP. Thus, this is
why we want a script that disable the wireless NIC and left the wired
NIC active.

Any out there can help. Thanks

happy.ppp wrote:
Quoted text here. Click to load it


Re: Prevent\Detect Dual Homing
Bod43@hotmail.co.uk wrote:
Quoted text here. Click to load it


Thanks.  I think this is a big gaping hole for a lot companies.
NAC-like functionality is a good thing in concept.  We'll see how it
pans out - operationaly speaking.


--

hsb


"Somehow I imagined this experience would be more rewarding" Calvin
**************************ROT13 MY ADDRESS*************************
Due to the volume of email that I receive, I may not be able to
reply to emails sent to my account. Please post a followup instead.
********************************************************************

Re: Prevent\Detect Dual Homing
If you have Cisco switches, then turn on BPDU guard on the wired access
ports.  Then when the XP user configures bridging and turns on both wireless
and wired adapters, the switch will shut down the port to the wired adapter.
Not exactly what you're asking for, but it will at least thwart the
bridging.

Aaron

---

~ It is possible to bridge wireless and wired NIC in XP. Thus, this is
~ why we want a script that disable the wireless NIC and left the wired
~ NIC active.
~
~ Any out there can help. Thanks
~
~ happy.ppp wrote:
~ > Do anyone know of any script that tweak the registry to disable the
~ > wireless NIC when both the wired and wireless NIC is detected.
~ >
~ > Pls advise and thanks.
~ >
~ >
~ > happy.ppp wrote:
~ > > You does this by using route metric. However, for directly connected
~ > > subnet of wireless NIC, you shall goes via the wireless NIC instead of
~ > > the wired NIC. We want everything to goes thru the wired NIC and
~ > > disable the wireless NIC in total.
~ > >
~ > >
~ > > Merv wrote:
~ > >
~ > > > If not Windows XP, set the interface route metrics so that the wired
~ > > > interface has a lower metric


Re: Prevent\Detect Dual Homing

Aaron Leonard wrote:
Quoted text here. Click to load it

Yes!!!

This is the key.

However, you do not need to rely on BPDU guard (I don't think)

Aaron, why will the wired adaptor lose in this situation?

You may be able to arrange the STP parameters
to get the results that you want.

In Spanning Tree Protocol the most important thing
is the root path cost so by varying the interface costs
you should be able to get what you want. One
way or another.

You will probably find that you have to turn off portfast
which will result in additional delay when ports come up
but with modern switches you will be able to tune the timers.

Post the topology ascii art or a link to a diagram
and maybe something can be suggested.


Re: Prevent\Detect Dual Homing
Bod43@hotmail.co.uk wrote:
[use of bpdu guard from Cisco]

Quoted text here. Click to load it
[snip]

Because if you can tweak the parameters, so can other people.  But they
can't stop BPDUs so it would be safer.


--

hsb


"Somehow I imagined this experience would be more rewarding" Calvin
**************************ROT13 MY ADDRESS*************************
Due to the volume of email that I receive, I may not be able to
reply to emails sent to my account. Please post a followup instead.
********************************************************************

Re: Prevent\Detect Dual Homing

Hansang Bae wrote:
Quoted text here. Click to load it

I was, perhaps incorrectly, thinking that the windows
boxes would be STP transparent. I recall now that I have
seen that they are. Clearly in principle someone could bring in
additional components that were STP active and break the
network however I am not certain that this is a major consideration
for most networks. It is I agree a consideration for big
corporates.

Good to have you back by the way.


Re: Prevent\Detect Dual Homing

Bod43@hotmail.co.uk wrote:
Quoted text here. Click to load it

Further issue is that I don't think that switches in
general are designed to have active STP on every port.

Too much work to do.

Seemed like  fine idea for a while.


Re: Prevent\Detect Dual Homing
Quoted text here. Click to load it

"registry key" is fairly specific to Microsoft Windows. The only
thing that Windows has to do with Cisco is that some Cisco
software products run on Windows.

I would suggest that you should ask in a Windows specific newsgroup.
Most people are here for networking infrastructure, not host-level
networking; someone here might -happen- to know the answer, but
it isn't what we specialize in.

Another newsgroup where you might be able to get an answer is
comp.security.misc .

Site Timeline