Bind and configure TCP

Is there a way to bind my NIC driver to the protocol of my choice and
configure its settings during installation??
I want to bind my NDIS Miniport to TCP stack only and provide a pre-selected
IP address during setup.

In Win 2K it by default binds to TCP, Client for Micorsoft and File & print
sharing…I don’t want it to bind to anything other than TCP/IP.

Any programmatic solution to this problem???

Thanks
Daniel


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

hi,
I don’t know much about binding in w2k but I am pretty much sure about
binding in NT4.0,
May be it help u a bit in understanding w2k binding,
In NT we specify Net rules for each component in registry for example local
machine->software->microsoft->tcpip->currentversion->net rules
These entries are generally made through inf file during driver installation
but off course we can make manual entries, at least driver writer’s have
that much freedom :wink:
Under net rules there is key called “Bindable” which specify to which
component this component will bind and what type of binding it will be like
for example whether tcp will bind to one particular lower driver or not.

I hope u got the point and not get confused by explanation :wink:
For more clear and elegant discussion of binding in NT 4.0,please check out
network drivers->design guide->network driver->chapter 3 Installation and
binding.

I hope similar material is also available for w2k.

Chandandeep Singh Pabla
DCM Technologies

Subject: Bind and configure TCP
From: Daniel Pradeep
Date: Tue, 17 Apr 2001 17:49:21 -0700
X-Message-Number: 42

Is there a way to bind my NIC driver to the protocol of my choice and
configure its settings during installation??
I want to bind my NDIS Miniport to TCP stack only and provide a pre-selected
IP address during setup.

In Win 2K it by default binds to TCP, Client for Micorsoft and File & print
sharing…I don’t want it to bind to anything other than TCP/IP.

Any programmatic solution to this problem???

Thanks
Daniel


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Well, I figured out from DDK that by specifying upper interface has
ndis5_ip(w2k and XP) I get bound to IP stack only but that still does not
solve my problem. “Client for Micorosft Networks” and “File and Print
sharing” also get bound to my adapter. Is there any way to unbind these
during installation???

-----Original Message-----
From: Chandandeep Singh Pabla [mailto:xxxxx@dcmtech.co.in]
Sent: Wednesday, April 18, 2001 2:54 AM
To: NT Developers Interest List
Subject: [ntdev] Re:Bind and configure TCP

hi,
I don’t know much about binding in w2k but I am pretty much sure about
binding in NT4.0,
May be it help u a bit in understanding w2k binding,
In NT we specify Net rules for each component in registry for example local
machine->software->microsoft->tcpip->currentversion->net rules
These entries are generally made through inf file during driver installation
but off course we can make manual entries, at least driver writer’s have
that much freedom :wink:
Under net rules there is key called “Bindable” which specify to which
component this component will bind and what type of binding it will be like
for example whether tcp will bind to one particular lower driver or not.

I hope u got the point and not get confused by explanation :wink:
For more clear and elegant discussion of binding in NT 4.0,please check out
network drivers->design guide->network driver->chapter 3 Installation and
binding.

I hope similar material is also available for w2k.

Chandandeep Singh Pabla
DCM Technologies

Subject: Bind and configure TCP
From: Daniel Pradeep
Date: Tue, 17 Apr 2001 17:49:21 -0700
X-Message-Number: 42

Is there a way to bind my NIC driver to the protocol of my choice and
configure its settings during installation??
I want to bind my NDIS Miniport to TCP stack only and provide a pre-selected
IP address during setup.

In Win 2K it by default binds to TCP, Client for Micorsoft and File & print
sharing…I don’t want it to bind to anything other than TCP/IP.

Any programmatic solution to this problem???

Thanks
Daniel


You are currently subscribed to ntdev as: xxxxx@broadlogic.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

> Well, I figured out from DDK that by specifying upper interface has

ndis5_ip(w2k and XP) I get bound to IP stack only but that still does not
solve my problem. “Client for Micorosft Networks” and “File and Print
sharing” also get bound to my adapter. Is there any way to unbind these
during installation???

Client For Microsoft Networks and File And Print Sharing are bound not to
your card, but to TCP/IP which in turn is bound to your card.

Max


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

U’r right. It binds to stack that binds to my adapter. But I would like to
know whether I can control this binding. My adapter is a virtual NIC and I
do not want any client or service bound to my tcp stack unless otherwise
specified…And is there any way to assign a (pre-selected)static IP for my
stack during installation of my adapter.

-----Original Message-----
From: Maxim S. Shatskih [mailto:xxxxx@storagecraft.com]
Sent: Wednesday, April 18, 2001 10:31 AM
To: NT Developers Interest List
Subject: [ntdev] Re:Bind and configure TCP

Well, I figured out from DDK that by specifying upper interface has
ndis5_ip(w2k and XP) I get bound to IP stack only but that still does not
solve my problem. “Client for Micorosft Networks” and “File and Print
sharing” also get bound to my adapter. Is there any way to unbind these
during installation???

Client For Microsoft Networks and File And Print Sharing are bound not to
your card, but to TCP/IP which in turn is bound to your card.

Max


You are currently subscribed to ntdev as: xxxxx@broadlogic.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

You probably need notify object (coinstaller). I haven’t tried it yet, only
seen an example: w2kddk\src\network\config\filter. See also related DDK
docs.

Best regards,

Michal Vodicka
Veridicom
(RKK - Skytale)
[WWW: http://www.veridicom.com , http://www.skytale.com]


From: Daniel Pradeep[SMTP:xxxxx@broadlogic.com]
Reply To: NT Developers Interest List
Sent: Wednesday, April 18, 2001 7:53 PM
To: NT Developers Interest List
Subject: [ntdev] Re:Bind and configure TCP

U’r right. It binds to stack that binds to my adapter. But I would like to
know whether I can control this binding. My adapter is a virtual NIC and I
do not want any client or service bound to my tcp stack unless otherwise
specified…And is there any way to assign a (pre-selected)static IP for
my
stack during installation of my adapter.

-----Original Message-----
From: Maxim S. Shatskih [mailto:xxxxx@storagecraft.com]
Sent: Wednesday, April 18, 2001 10:31 AM
To: NT Developers Interest List
Subject: [ntdev] Re:Bind and configure TCP

> Well, I figured out from DDK that by specifying upper interface has
> ndis5_ip(w2k and XP) I get bound to IP stack only but that still does
not
> solve my problem. “Client for Micorosft Networks” and “File and Print
> sharing” also get bound to my adapter. Is there any way to unbind these
> during installation???

Client For Microsoft Networks and File And Print Sharing are bound not to
your card, but to TCP/IP which in turn is bound to your card.

Max


You are currently subscribed to ntdev as: xxxxx@broadlogic.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: xxxxx@rkk.cz
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

You can also check out NetCfg sample in Windows 2000 DDK. (
WinDDK\src\network\config\netcfg ) There is a word document
inetcfg.doc(WinDDK\src\network\config) that has documented methods to
enable/disable any NCPA components. You might wanna give it a try…
-R!

-----Original Message-----
From: Vodicka, Michal [mailto:xxxxx@rkk.cz]
Sent: Wednesday, April 18, 2001 11:37 AM
To: NT Developers Interest List
Subject: [ntdev] Re:Bind and configure TCP

You probably need notify object (coinstaller). I haven’t tried it yet,
only seen an example: w2kddk\src\network\config\filter. See also related
DDK docs.

Best regards,

Michal Vodicka
Veridicom
(RKK - Skytale)
[WWW: http://www.veridicom.com , http://www.skytale.com]


From: Daniel Pradeep[SMTP:xxxxx@broadlogic.com]
Reply To: NT Developers Interest List
Sent: Wednesday, April 18, 2001 7:53 PM
To: NT Developers Interest List
Subject: [ntdev] Re:Bind and configure TCP

U’r right. It binds to stack that binds to my adapter. But I would
like to know whether I can control this binding. My adapter is a
virtual NIC and I do not want any client or service bound to my tcp
stack unless otherwise specified…And is there any way to assign a
(pre-selected)static IP for my stack during installation of my
adapter.

-----Original Message-----
From: Maxim S. Shatskih [mailto:xxxxx@storagecraft.com]
Sent: Wednesday, April 18, 2001 10:31 AM
To: NT Developers Interest List
Subject: [ntdev] Re:Bind and configure TCP

> Well, I figured out from DDK that by specifying upper interface has
> ndis5_ip(w2k and XP) I get bound to IP stack only but that still
> does
not
> solve my problem. “Client for Micorosft Networks” and “File and
> Print sharing” also get bound to my adapter. Is there any way to
> unbind these during installation???

Client For Microsoft Networks and File And Print Sharing are bound not

to your card, but to TCP/IP which in turn is bound to your card.

Max


You are currently subscribed to ntdev as:
xxxxx@broadlogic.com To unsubscribe send a blank email to
leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: xxxxx@rkk.cz
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: xxxxx@microsoft.com To
unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

But I thought Notify object is not applicable for Miniports???

Daniel

-----Original Message-----
From: Vodicka, Michal [mailto:xxxxx@rkk.cz]
Sent: Wednesday, April 18, 2001 11:37 AM
To: NT Developers Interest List
Subject: [ntdev] Re:Bind and configure TCP

You probably need notify object (coinstaller). I haven’t tried it yet, only
seen an example: w2kddk\src\network\config\filter. See also related DDK
docs.

Best regards,

Michal Vodicka
Veridicom
(RKK - Skytale)
[WWW: http://www.veridicom.com , http://www.skytale.com]


From: Daniel Pradeep[SMTP:xxxxx@broadlogic.com]
Reply To: NT Developers Interest List
Sent: Wednesday, April 18, 2001 7:53 PM
To: NT Developers Interest List
Subject: [ntdev] Re:Bind and configure TCP

U’r right. It binds to stack that binds to my adapter. But I would like to
know whether I can control this binding. My adapter is a virtual NIC and I
do not want any client or service bound to my tcp stack unless otherwise
specified…And is there any way to assign a (pre-selected)static IP for
my
stack during installation of my adapter.

-----Original Message-----
From: Maxim S. Shatskih [mailto:xxxxx@storagecraft.com]
Sent: Wednesday, April 18, 2001 10:31 AM
To: NT Developers Interest List
Subject: [ntdev] Re:Bind and configure TCP

> Well, I figured out from DDK that by specifying upper interface has
> ndis5_ip(w2k and XP) I get bound to IP stack only but that still does
not
> solve my problem. “Client for Micorosft Networks” and “File and Print
> sharing” also get bound to my adapter. Is there any way to unbind these
> during installation???

Client For Microsoft Networks and File And Print Sharing are bound not to
your card, but to TCP/IP which in turn is bound to your card.

Max


You are currently subscribed to ntdev as: xxxxx@broadlogic.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: xxxxx@rkk.cz
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: xxxxx@broadlogic.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

You’re right, I haven’t noticed it in your original mail. So another try
(from w2k DDK):

Note Network cards do not support and cannot own notify objects. If physical
and virtual network cards require involvement in the install or remove
process or in configuring the network, they should use their INF files or
the device coinstaller mechanism. (For more information on coinstallers, see
the Setup, Plug & Play, Power Management Design Guide and Reference).

Best regards,

Michal Vodicka
Veridicom
(RKK - Skytale)
[WWW: http://www.veridicom.com , http://www.skytale.com]


From: Daniel Pradeep[SMTP:xxxxx@broadlogic.com]
Reply To: NT Developers Interest List
Sent: Wednesday, April 18, 2001 8:45 PM
To: NT Developers Interest List
Subject: [ntdev] Re:Bind and configure TCP

But I thought Notify object is not applicable for Miniports???

Daniel

-----Original Message-----
From: Vodicka, Michal [mailto:xxxxx@rkk.cz]
Sent: Wednesday, April 18, 2001 11:37 AM
To: NT Developers Interest List
Subject: [ntdev] Re:Bind and configure TCP

You probably need notify object (coinstaller). I haven’t tried it yet,
only
seen an example: w2kddk\src\network\config\filter. See also related DDK
docs.

Best regards,

Michal Vodicka
Veridicom
(RKK - Skytale)
[WWW: http://www.veridicom.com , http://www.skytale.com]

> ----------
> From: Daniel Pradeep[SMTP:xxxxx@broadlogic.com]
> Reply To: NT Developers Interest List
> Sent: Wednesday, April 18, 2001 7:53 PM
> To: NT Developers Interest List
> Subject: [ntdev] Re:Bind and configure TCP
>
> U’r right. It binds to stack that binds to my adapter. But I would like
to
> know whether I can control this binding. My adapter is a virtual NIC and
I
> do not want any client or service bound to my tcp stack unless otherwise
> specified…And is there any way to assign a (pre-selected)static IP
for
> my
> stack during installation of my adapter.
>
> -----Original Message-----
> From: Maxim S. Shatskih [mailto:xxxxx@storagecraft.com]
> Sent: Wednesday, April 18, 2001 10:31 AM
> To: NT Developers Interest List
> Subject: [ntdev] Re:Bind and configure TCP
>
>
> > Well, I figured out from DDK that by specifying upper interface has
> > ndis5_ip(w2k and XP) I get bound to IP stack only but that still does
> not
> > solve my problem. “Client for Micorosft Networks” and “File and Print
> > sharing” also get bound to my adapter. Is there any way to unbind
these
> > during installation???
>
> Client For Microsoft Networks and File And Print Sharing are bound not
to
> your card, but to TCP/IP which in turn is bound to your card.
>
> Max
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@broadlogic.com
> To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>
> —
> You are currently subscribed to ntdev as: xxxxx@rkk.cz
> To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>


You are currently subscribed to ntdev as: xxxxx@broadlogic.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: xxxxx@rkk.cz
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

You are correct. Notify objects are not applicable for Net class
drivers. You need to write an app or some kind of service to disable the
bindings of other components with TCP/IP using INetCfg interface. Send
me a note and I will send you a sample source that shows how to do that.

-Eliyas

-----Original Message-----
From: Daniel Pradeep [mailto:xxxxx@broadlogic.com]
Sent: Wednesday, April 18, 2001 11:46 AM
To: NT Developers Interest List
Subject: [ntdev] Re:Bind and configure TCP

But I thought Notify object is not applicable for Miniports???

Daniel

-----Original Message-----
From: Vodicka, Michal [mailto:xxxxx@rkk.cz]
Sent: Wednesday, April 18, 2001 11:37 AM
To: NT Developers Interest List
Subject: [ntdev] Re:Bind and configure TCP

You probably need notify object (coinstaller). I haven’t tried it yet,
only
seen an example: w2kddk\src\network\config\filter. See also related DDK
docs.

Best regards,

Michal Vodicka
Veridicom
(RKK - Skytale)
[WWW: http://www.veridicom.com , http://www.skytale.com]


From: Daniel Pradeep[SMTP:xxxxx@broadlogic.com]
Reply To: NT Developers Interest List
Sent: Wednesday, April 18, 2001 7:53 PM
To: NT Developers Interest List
Subject: [ntdev] Re:Bind and configure TCP

U’r right. It binds to stack that binds to my adapter. But I would
like to
know whether I can control this binding. My adapter is a virtual NIC
and I
do not want any client or service bound to my tcp stack unless
otherwise
specified…And is there any way to assign a (pre-selected)static IP
for
my
stack during installation of my adapter.

-----Original Message-----
From: Maxim S. Shatskih [mailto:xxxxx@storagecraft.com]
Sent: Wednesday, April 18, 2001 10:31 AM
To: NT Developers Interest List
Subject: [ntdev] Re:Bind and configure TCP

> Well, I figured out from DDK that by specifying upper interface has
> ndis5_ip(w2k and XP) I get bound to IP stack only but that still
does
not
> solve my problem. “Client for Micorosft Networks” and “File and
Print
> sharing” also get bound to my adapter. Is there any way to unbind
these
> during installation???

Client For Microsoft Networks and File And Print Sharing are bound not
to
your card, but to TCP/IP which in turn is bound to your card.

Max


You are currently subscribed to ntdev as:
xxxxx@broadlogic.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: xxxxx@rkk.cz
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: xxxxx@broadlogic.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: xxxxx@microsoft.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Eliyas,

It works for Win2K but not for 98 and Me. Any pointers for those 2 OSs.

Thanks
Daniel

-----Original Message-----
From: Eliyas Yakub [mailto:xxxxx@microsoft.com]
Sent: Wednesday, April 18, 2001 2:34 PM
To: NT Developers Interest List
Subject: [ntdev] Re:Bind and configure TCP

You are correct. Notify objects are not applicable for Net class
drivers. You need to write an app or some kind of service to disable the
bindings of other components with TCP/IP using INetCfg interface. Send
me a note and I will send you a sample source that shows how to do that.

-Eliyas

-----Original Message-----
From: Daniel Pradeep [mailto:xxxxx@broadlogic.com]
Sent: Wednesday, April 18, 2001 11:46 AM
To: NT Developers Interest List
Subject: [ntdev] Re:Bind and configure TCP

But I thought Notify object is not applicable for Miniports???

Daniel

-----Original Message-----
From: Vodicka, Michal [mailto:xxxxx@rkk.cz]
Sent: Wednesday, April 18, 2001 11:37 AM
To: NT Developers Interest List
Subject: [ntdev] Re:Bind and configure TCP

You probably need notify object (coinstaller). I haven’t tried it yet,
only
seen an example: w2kddk\src\network\config\filter. See also related DDK
docs.

Best regards,

Michal Vodicka
Veridicom
(RKK - Skytale)
[WWW: http://www.veridicom.com , http://www.skytale.com]


From: Daniel Pradeep[SMTP:xxxxx@broadlogic.com]
Reply To: NT Developers Interest List
Sent: Wednesday, April 18, 2001 7:53 PM
To: NT Developers Interest List
Subject: [ntdev] Re:Bind and configure TCP

U’r right. It binds to stack that binds to my adapter. But I would
like to
know whether I can control this binding. My adapter is a virtual NIC
and I
do not want any client or service bound to my tcp stack unless
otherwise
specified…And is there any way to assign a (pre-selected)static IP
for
my
stack during installation of my adapter.

-----Original Message-----
From: Maxim S. Shatskih [mailto:xxxxx@storagecraft.com]
Sent: Wednesday, April 18, 2001 10:31 AM
To: NT Developers Interest List
Subject: [ntdev] Re:Bind and configure TCP

> Well, I figured out from DDK that by specifying upper interface has
> ndis5_ip(w2k and XP) I get bound to IP stack only but that still
does
not
> solve my problem. “Client for Micorosft Networks” and “File and
Print
> sharing” also get bound to my adapter. Is there any way to unbind
these
> during installation???

Client For Microsoft Networks and File And Print Sharing are bound not
to
your card, but to TCP/IP which in turn is bound to your card.

Max


You are currently subscribed to ntdev as:
xxxxx@broadlogic.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: xxxxx@rkk.cz
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: xxxxx@broadlogic.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: xxxxx@microsoft.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: xxxxx@broadlogic.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com