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. And see here for current known issues.

New Member

Multiple DHCP Subnets for different Interfaces

Hi All,

Lets Assume that I have a 1841 single WAN and 2 Fast Ethernet ports.

I have 2 different Local LANs, one on each FastE.

Fast 0/0 : LAN 1

Fast 0/1 : LAN 2

Lets say i want to assign IP Addresses from the router acting as a DHCP.

I know how to set it up for single interface.

Lets say I want for :

Fast 0/0 - LAN 1 :192.168.1.0/24

Fast 0/1 - LAN 2 :192.168.2.0/24

How do i specify on the router what IP Range belongs to which interface ???, so that each interface will give out to its connected LAN the desired IP Addresses ???

Thanks,

George

2 REPLIES
Purple

Re: Multiple DHCP Subnets for different Interfaces

George,

The router is smart. Simply create another pool with addresses for the second interface. The router will work out which interface the DHCP request came in from and will assign from the appropriate pool accordingly.

Pls do remember to rate posts.

Paresh

New Member

Re: Multiple DHCP Subnets for different Interfaces

Hi,

Its just that you have to configre two pools for DHCP.

When a request is generated by the PC it will send a DHCP broadcast message with the source IP as 0.0.0.0. When this reaches the interface it will change the source IP address to its own IP address and will send a unicast dhcp request to the DHCP server. This way based on the interface's IP address the request will be matched with one of the defined pool and the client will be assigned the IP address from the respective pool.

There is a good link which will explain this in detail-

http://tcpmag.com/qanda/article.asp?EditorialsID=285

Sushil

143
Views
10
Helpful
2
Replies
CreatePlease to create content