vlans and subnets

Unanswered Question
Oct 8th, 2007
User Badges:

I have four VLANs namely:

VLAN_ID VLAN_NAME SUBNET

10 Finance 10.10.10.0

20 HR 10.10.20.0

30 Corporate 10.10.30.0

40 Servers 10.10.40.0


how do ensure that PCs on VLAN 10 get ip address 10.10.10.0 - 10.10.10.254 ranges

from the remote dhcp server and not from other ranges?

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
ankbhasi Mon, 10/08/2007 - 09:51
User Badges:
  • Cisco Employee,

Hi Friend,


You have to configure layer 3 interface for each and every vlan and in your case you have to create layer 3 interface for vlan 10,20,30 and 40.


After layer 3 interface are configured with some ip address in their subnet you have to specify "ip helper-address " command under those layer 3 interfaces.


Once done any machine in vlan 10 for an example will send a bootp request which will going to be a broadcast will also hits its layer 3 interfaces which you have configured for vlan 10 and from there onwards it will be going to be a unicast request to the DHCP server with source ip address of vlan 10 interface.


Now DHCP server will check its pool and will come to know DHCP request is for 10.10.10.0 subnet checking the source ip address of the packet and will assign an ip address from its pool which in turn will be assigned to the clients.


HTH


Ankur


*Pls rate all helpfull post

Actions

This Discussion