I am facing a problem while allocating the DHCP Ip to Clients.any one pl. giude me.
My DHCP Server sits in subnet A, ROuter Eth in Subnet A.ROuter has Secondary address in subnet B.
When I tried to obtain DHCP addresses for SUbnet B clients from Server the client is not getting the IP. I think DHCP forwarding needs to be enabled on ROuter. Pl. suggest the Config part that need to be done on the Router.
Thanks in advance
hope this link may help u .on the webpage chek out @ ip helper-address,ip forward protocol usage guidelines try the same in u r N/W setup .
I am thinking an alternative for my problem. I got 2 physical Interfaces on my ROuter. I want to Configure Router as DHCP on one of the Router Interface. Is it recommended? or will it unnecessarily load the Router.
can you pl. get me the URL for Configuring ROuter as DHCP Server.
If you want to have the router acting as DHCP server, the following are the configurations.
iip dhcp pool dhcp
network x.x.x.x 255.255.255.0
under the interface which is connected to the lan, give the following command
peer default ip address pool dhcp
Hope this would help you
I'm afraid it's impossible.
The DHCP server is connected via one physical card and knows it's subnet. When it receives DHCP request broadcast from the client it supposes the client being in the same subnet and offers an IP address from the same subnet. How could it recognize which client belongs to primary or secondary subnet?
The only exception is DHCP request forwarded by a router using ip helper command. The DHCP server knows the request has come from another subnet then.
But how could you force the router to forward DHCP request to the same port from which it has come? There is no source IP address in the DHCP request packet to say it has come from the secondary subnet. If you configure IP helper with the address of DHCP server on the interface the router wouldn't forward the packet back to the interface it has come from. (If it even were, the DHCP server would receive each DHCP request twice - once from the client directly, second time forwarded by the router - with unpredictable results.)
Here is a example for you -
DHCP on Cisco Router
Configure DHCP on Cisco Router
Ensure IOS 12.1(1)T or later.
A basic config:
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
hostname (what ever you assign)
enable password (your enable password)
no ip dhcp conflict logging
ip dhcp pool pool1
network 192.N.N.H 255.255.255.0
domain-name (your assigned domain name)
dns-server 192.N.N.H 192.N.N.H
ip address 192.N.N.H 255.255.255.0
no cdp enable
ip unnumbered Ethernet0
no ip mroute-cache
ip unnumbered Ethernet0
ip route 0.0.0.0 0.0.0.0 a.b.c.d
no ip http server
Hope this helps -
this would work.
If you have a DHCP server in one VLAN and configure IP helper on the subinterface in the other VLAN.
But many E0 (i.e. 10Mbps Ethernet) router interfaces are not trunking and subinterfacing capable.
I suppose the router port is not capable (why would it use secondary address if it were?).
I've had the same problem , so I decided to check on MS Support page to find out if, for one time they propose the solution...Amazingly check out DHCP Superscopes...seems to solve ours problems with secondary IP Adddress and DHCP
168140 Knowledge Base
161571 Knowledge Base
....tomorrow i'll check
SAluti and hope this helps