DHCP Relay
mattipler
Member Posts: 175
in CCNA & CCENT
I have a 3750 with 2 VLANs.
interface vlan2 has IP 192.168.8.13
inferface vlan3 has IP 10.223.105.1
ip routing is enabled and working
The DHCP server is running on a windows 2003 server with IP 192.168.8.4 on VLAN2
I want the hosts on VLAN3 to be able to get an ip from the 10.223.105.0/24 scope from the DHCP server.
should I apply 'ip helper-address 192.168.8.4' command to the vlan 3 interface?
all i want it to do is relay DHCP, and the hosts to get an ip from the correct scope. i have seen the dhcp snooper commands mentioned but not sure if this is what i should be using or not. what is the best way to achieve this?
interface vlan2 has IP 192.168.8.13
inferface vlan3 has IP 10.223.105.1
ip routing is enabled and working
The DHCP server is running on a windows 2003 server with IP 192.168.8.4 on VLAN2
I want the hosts on VLAN3 to be able to get an ip from the 10.223.105.0/24 scope from the DHCP server.
should I apply 'ip helper-address 192.168.8.4' command to the vlan 3 interface?
all i want it to do is relay DHCP, and the hosts to get an ip from the correct scope. i have seen the dhcp snooper commands mentioned but not sure if this is what i should be using or not. what is the best way to achieve this?
Matt of England
Comments
-
dtlokee Member Posts: 2,378 ■■■■□□□□□□ip helper address is the command you want, the DHCP snooping prevents users/administrators from attaching unauthorized DHCP servers to the switch.The only easy day was yesterday!
-
Rearden Member Posts: 222dhcpd can be configured to hand out ip addresses based on the router address of where it came from. It's pretty cool, actually. You can have a couple of dhcp servers (one for backup) serving a whole bunch of subnets.
Also, don't configure dhcp snooping on trunk ports.More systems have been wiped out by admins than any cracker could do in a lifetime.