cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
477
Views
10
Helpful
2
Replies

Multiple DHCP Subnets for different Interfaces

dukenukem
Level 1
Level 1

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 2

pkhatri
Level 11
Level 11

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

sushilk
Level 1
Level 1

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

Review Cisco Networking products for a $25 gift card