Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

vlans and subnets

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?

  • WAN Routing and Switching
1 REPLY
Cisco Employee

Re: vlans and subnets

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

298
Views
0
Helpful
1
Replies
This widget could not be displayed.