hi,
i want to create the VLAN by ioctls , I am following the MUX Sample for it .

Any ideas or hints on how to do that.

How to get the device handle and call DeviceIOControl and then use the
ioctl.

Which device to call ?
\Device\MS_MUXP ??

I doubt if this needs to be called to get the handle to virtual devices?

RE: Query regarding VLAN Creation from ioctls by RohitR

RohitR
Thu Mar 24 12:48:43 CST 2005

------=_NextPart_0001_90AD56D6
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

I am not sure how you can accomplish this using IOCTLs to the mux virtual
miniports/protocol.

Do you want to create a complete VLAN using IOCTLs or do you want to
add/remove virtual miniports to an already existing VLAN ? Either way,
study the notify object code closely. All the addition, deletion of VLANs
or virtual miniports is done through the notify object. You'll have to do
the same. You can use INetCfg interfaces to accomplish this (documented in
Windows DDK). Also take a look at SNetCfg (or BindView) samples on how to
install, remove networking components programmatically.

Hope this helps.
-Rohit
------=_NextPart_0001_90AD56D6
Content-Type: text/x-rtf
Content-Transfer-Encoding: 7bit

{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fnil\fprq2\fcharset0 MS Sans Serif;}}
\viewkind4\uc1\pard\f0\fs20 I am not sure how you can accomplish this using IOCTLs to the mux virtual miniports/protocol.
\par
\par Do you want to create a complete VLAN using IOCTLs or do you want to add/remove virtual miniports to an already existing VLAN ? Either way, study the notify object code closely. All the addition, deletion of VLANs or virtual miniports is done through the notify object. You'll have to do the same. You can use INetCfg interfaces to accomplish this (documented in Windows DDK). Also take a look at SNetCfg (or BindView) samples on how to install, remove networking components programmatically.
\par
\par Hope this helps.
\par -Rohit
\par
\par }
------=_NextPart_0001_90AD56D6--


Re: Query regarding VLAN Creation from ioctls by Tarundeep

Tarundeep
Mon Mar 28 13:23:50 CST 2005

Rohit Raina [MS] wrote:
> I am not sure how you can accomplish this using IOCTLs to the mux virtual
> miniports/protocol.
>
> Do you want to create a complete VLAN using IOCTLs or do you want to
> add/remove virtual miniports to an already existing VLAN ? Either way,
> study the notify object code closely. All the addition, deletion of VLANs
> or virtual miniports is done through the notify object. You'll have to do
> the same. You can use INetCfg interfaces to accomplish this (documented in
> Windows DDK). Also take a look at SNetCfg (or BindView) samples on how to
> install, remove networking components programmatically.
>
> Hope this helps.
> -Rohit
Thanks Rohit,
I ahev already accomplised it.
Thanks Anyways for help.
-Tarundeep Singh Kalra

Re: Query regarding VLAN Creation from ioctls by Stephan

Stephan
Wed Mar 30 10:03:22 CST 2005

On Thu, 24 Mar 2005 18:48:43 GMT, RohitR@online.microsoft.com (Rohit
Raina [MS]) wrote:

>study the notify object code closely. All the addition, deletion of VLANs
>or virtual miniports is done through the notify object. You'll have to do
>the same.

You can create/delete virtual adapters from just *any* user-mode
application, not just from a Notify Object.

> You can use INetCfg interfaces to accomplish this (documented in
>Windows DDK). Also take a look at SNetCfg (or BindView) samples on how to
>install, remove networking components programmatically.

Yup.

Stephan