10-19-2021 04:30 AM
Hey guys,
I'm new to cisco and I'm stuck.
The goal is to set up one DHCP for all interfaces.
I have cisco router 2911 and I'm able to assign different Ip addresses to different interfaces along with DHCP servers, however, I can't figure out how to set up one DHCP server for all interfaces.
I'm able to do that on my switch. I just assign Ip address for the VLAN1 interface and configure the DHCP server and then all devices connected to other physical ports are able to get IP addresses.
Please help me, how do I set up one DHCP server for 4 interfaces with 1 IP for the router?
Thanks
Solved! Go to Solution.
10-19-2021 08:39 AM - edited 10-19-2021 08:42 AM
Hello
The goal is to set up one DHCP for all interfaces.
Example: 3 routed interfaces on the rtr then you can create 1 DHCP server service with 3 DHCP scopes for those interfaces.
ip DHCP pool DHCP
dns-server 1.1.1.1 2.2.2.2.
domain-name Fred.com
lease 0 8
network 192.168.1.0/24
default-gateway 192.168.1.1
network 192.168.2./24 secondary
override default-gateway 192.168.2.1
network 192.168.3.0/24 secondary
override default-gateway 192.168.3.1
10-19-2021 05:39 AM
Hello,
is this a Packet Tracer project ? What they probably want you to do is to set up an external DHCP server with 4 different scopes (one for each subnet), and the use an ip helper address (the IP address of the DHCP server) on the interfaces...
If you have a Packet Tracer project file, post the (zipped) file here...
10-19-2021 05:45 AM
Hi there,
The built-in ports on a 2911 are routed switchports, this means they must be configured with an IP address belonging to a unique subnet with no overlap with the subnets on the other router switchports. Each routed switchport will require a separate DHCP scope as you have found.
If you want all ports to belong to the same subnet and therefore use a single DHCP scope then you need to look at a Network Module, such as the NM-16ESW. This allows you to create VLANs and SVIs on the router.
cheers,
Seb.
10-19-2021 08:39 AM - edited 10-19-2021 08:42 AM
Hello
The goal is to set up one DHCP for all interfaces.
Example: 3 routed interfaces on the rtr then you can create 1 DHCP server service with 3 DHCP scopes for those interfaces.
ip DHCP pool DHCP
dns-server 1.1.1.1 2.2.2.2.
domain-name Fred.com
lease 0 8
network 192.168.1.0/24
default-gateway 192.168.1.1
network 192.168.2./24 secondary
override default-gateway 192.168.2.1
network 192.168.3.0/24 secondary
override default-gateway 192.168.3.1
10-21-2021 01:19 AM
Thank you, guys. It's not quite what I wanted but I was able to set up 3 interfaces with 192.168.1-3.0/24 address pool and three different DHCP servers.
10-21-2021 05:10 AM
Hello,
--> Please help me, how do I set up one DHCP server for 4 interfaces with 1 IP for the router?
Is this an exercise and if so, what is the exact text of the requirement ? Or is this just something you are experimenting with ?
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