Link to home
Start Free TrialLog in
Avatar of A Edwards
A Edwards

asked on

DHCP server & 4505 switch

I have a DHCP server plugged into the 4505 Cisco switch.

1. This switch is configured with Vlan 101 data & Vlan 201 voice.

 interface GigabitEthernet2/1
 switchport access vlan 101
 switchport mode access
 switchport voice vlan 201

2. I had to change the port that the W2k3 DHCP server was plugged into to look like this.

interface GigabitEthernet2/32
 switchport access vlan 201
 switchport mode access
 switchport voice vlan 201

3. DHCP works now how ever I have lost my Data Vlan.
--------     -----------     ------      --------
DHCP |--- | Switch | --| PC  | + | phone|
--------     -----------     ------     ----------
1. DHCP server 10.10.xxx
2. Switch 172.16.x.x/10.10.x.x
3. PC = 172.16.x.x   Phone =10.10.x.x

My issue is that the DHCP server will not issue an IP address to the phones when it is set to
switchport access vlan 101. I need the Vlan 101 for my Data.

interface GigabitEthernet2/1
 switchport access vlan 101
 switchport mode access
 switchport voice vlan 201

I  have used the IP DHCP-SERVER command.. still nothing.
Avatar of pseudocyber
pseudocyber

I believe the command you want is "ip helper" which will relay DHCP broadcasts across vlans (routed) to the DHCP server.
Avatar of A Edwards

ASKER

Can this command work on a 4505 switch.
Because when I log in and type.

Switch-01(config)#ip

 gdp                     Router discovery mechanism
 gratuitous-arps         Generate gratuitous ARPs f
 host                    Add an entry to the ip hos
 host-routing            Enable host-based routing
 hp-host                 Enable the HP proxy probe
 http                    HTTP server configuration
 icmp                    ICMP options
 igmp                    IGMP global configuration

I do not see the IP helper command available.
What IOS are you running?
Ver. 12.2

I found it.

Switch-01(config)#int vlan 201
Switch-01(config-if)#ip helper-address 10.10.x.x
do I put the gateway address or the DHCP ip address?
ASKER CERTIFIED SOLUTION
Avatar of pseudocyber
pseudocyber

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I got it to work thanks