I need your help in providing multiple IP addresses with a single NIC. The
IP addresses should be obtained dynamically (DHCP) but they would be
obtained from different networks, e.g. two VLANs.
How should I do this? Should I create two instances of the same miniport
driver? Or my driver should be able to handle packets from two different
VLANs and then send it to the proper handler on the higher layers? Please
point me to the proper links if the solution is already available.
I'm sorry if this has been asked on this group before.
Thank you very much for your help!
- Rodel Miguel
can you please tell me about your set up .
As per my understanding
a) cmputer having 2 NIC cards on single computer
b) you have to connect these 2 NIC cards to different subnet range / 2
differnt switch port
c) Configure DHCP server on both subnets , you problem resolve
a) Single computer with 2 NIC cards,
b) Need ip address from single DHCP server , if so you can create a Super
scope where in it leases out logical ip address with in the single physical
just have a search on super scope and it will give your answer
My setup is
- 1 computer 1 NIC
- 2 VLANs on the same NIC
- 1 IP address per VLAN via DHCP
Thanks for your help!
"Sainath , SMB KID" <Sainat...@discussions.microsoft.com> wrote in
Thanks for the informatino and sory for delayed response.
You have 2 VLAN NIC configured on same server ?, or do we have 2 virtual
NIC's installed ? is my question .
if we have 2 virtual NIC ( for example in VMWARE you can configure 2 virtual
NIC , then it is possible for us to point these NIC to VLAN which you have
configured either through DHCP or CISCO
a) how is your VLAN configured
b) are you using CISCO or MS dhcp server for VLAN configuration ? because as
far as my knowledge goes, we can only configure VLAN on cisco ( any other
3rdparty vendor ) hardware
c) do you have 3 NIC configured on your client ?
thanks for the update,
The only thing i could say is that you can only configure VLAN either with
cisco ( any 3rd party hardware ) / Microsoft DHCP server using super scope
a) So can you please tell me how you have configured your VLAN ?
b) How many NIC's are present on your client ( windows client )
for a single NIC i dont think it is possible for DHCP to issue multiple IP
address , but if u want to access different network trying adding persistan
route and check ?
For the queston below ( initial ) a client can obtain multiple ip addresses
from VLAN withs
Short answer -- use an OS with VLAN support. Windows, even server versions,
doesn't have a clue about VLANs and won't transmit with VLAN tags. Many
drivers allow you to set a VLAN tag (just one) that is added to all outgoing
If you are the driver developer, you can probably work around this by
creating a VLAN bus enumerator and multiple NIC drivers, one attached to
each VLAN id. This is more or less what other operating systems with vlan
support do (i.e. linux) except they provide a generic vlan driver that does
this for any ethernet card.
There's essentially no hope for an enduser to add multiple instances of the
miniport driver with a single card, you'd need a bus driver to synchronize
use of the shared resource.