paulk29
Technical User
- Jul 15, 2003
- 113
Guys,
I'm configuring up a 3560 switch with two Vlans. I'd like to use the DHCP feature on the Switch so as to assign an ip address to a user depending on the vlan their connected into. Is this possible?
I've got DHCP working in a flat lan using the "ip dhcp pool" command but it assigns the same network to every interface.
My config:
ip dhcp pool 1
network 10.68.117.0 255.255.255.0
default-router 10.68.117.1
domain-name mainframe.test
This assigns any user to the 10.68.117.0 network.
But how would I assign users of vlan 1 to the 10.68.117.0 network and users of vlan 2 to say the 10.68.118.0 network using ciscos dhcp feature?
Many thanks
Paul
Paul Kilcoyne B eng. CCNA
I'm configuring up a 3560 switch with two Vlans. I'd like to use the DHCP feature on the Switch so as to assign an ip address to a user depending on the vlan their connected into. Is this possible?
I've got DHCP working in a flat lan using the "ip dhcp pool" command but it assigns the same network to every interface.
My config:
ip dhcp pool 1
network 10.68.117.0 255.255.255.0
default-router 10.68.117.1
domain-name mainframe.test
This assigns any user to the 10.68.117.0 network.
But how would I assign users of vlan 1 to the 10.68.117.0 network and users of vlan 2 to say the 10.68.118.0 network using ciscos dhcp feature?
Many thanks
Paul
Paul Kilcoyne B eng. CCNA