07-28-2005 12:16 AM - edited 03-05-2019 11:35 AM
VLAN2 and VLAN4 are defined on Cisco 2950. Hosts communicate between VLANs successfully. We use PC-based DHCP server, it belongs to VLAN2. Hosts from VLAN2 can lease IP addresses successfully but hosts from VLAN4 can not. What shall we do in order to use DHCP server in VLAN4 as well?
07-28-2005 02:07 AM
Hi,
Just give the command " ip helper-address
Interface vlan 4
ip helper-address x.x.x.x
or
int fa 0.4
ip helper-address x.x.x.x
HTH
-amit singh
07-28-2005 06:14 AM
Hi Amit,
I did:
Interface vlan 4
ip helper-address n.n.n.n
I got:
interface Vlan4
no ip address
ip helper-address n.n.n.n
no ip route-cache
shutdown
DHCP does not work for Vlan4 when it is in Shutdown state. As soon as I do:
interface Vlan4
no shutdown
another Vlan99 that we use for network management gets into shutdown state and I can not access the switch by the network. Any idea?
07-28-2005 06:32 AM
You are putting it at a wrong place.
You are putting the command on 2950 switch. Its not the place where you have to give it.
You have to use it on the interface of the Layer 3 device which is doing the routing between the Vlans.
Which device is doing the routing between the Vlans ???
What is the gateway for Vlan4.The interface on the router which the gateway for Vlan 4, you have to put this command in there.
HTH,
-amit singh
07-29-2005 02:49 PM
Like suggested by Amit, you need a L3 device which is possible a L3 switch or a router. If its a router use this link to configure inter vlan routing between the subnets and configure the helper-address on the sub interface on the router that routes vlan 4.
http://www.cisco.com/en/US/tech/tk389/tk390/technologies_configuration_example09186a00800949fd.shtml
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide