Link to home
Start Free TrialLog in
Avatar of leblanc
leblanc

asked on

dhcp default router on Cisco router

This is the scenario:

R1 <-->R2<-->sw1<-->client

I have R1 as the DHCP server but I am not sure what the default-router IP address should be.

This is what I have so far?
ip dhcp pool MYPOOL
 network 192.168.1.0 255.255.255.0
 default-router ????

Thanks
Avatar of Infamus
Infamus

Who is getting IPs from DHCP?
Whatever you want really.  In General for home I stick with these IPs

192.168.1.0
172.120.1.0

Businesses I usually use

10.0.0.0
ASKER CERTIFIED SOLUTION
Avatar of Infamus
Infamus

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
SOLUTION
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
SOLUTION
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
Avatar of leblanc

ASKER

I know that I can have my dhcp server on R2. But to test my understanding, I want to implement dhcp server on R1. The DHCP is for the client.

Let me take your fiction setup:
             R1   ------------------------------  R2 ---------------------- SW ---------- Client
10.1.1.1    192.168.1.1      192.168.1.2     172.20.1.1                          192.168.20.x/24 (DHCP)

R1 is doing DHCP with network as 192.168.20.0/24
Will my default-router be 172.20.1.1?

PS. I know that I need ip helper-address 192.168.1.1 on R2
SOLUTION
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
You are correct RKnebel512.
SOLUTION
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
SOLUTION
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
The IP's I provided was just a sample to understand the network.

You can use any subnet that meets your requirement.
SOLUTION
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
Avatar of leblanc

ASKER

I just talked to my admin network and the attached diagram is what we want to accomplish. We are not sure how to accomplish it with the link between R1 and L3 switch as a routed link.

The 3750 L3 switch cannot be a dhcp server.

Thanks
net-diagram.JPG
SOLUTION
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
SOLUTION
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
Avatar of leblanc

ASKER

We talked to Cisco and they say the 2960 does not support DHCP. They say even though you can use DHCP, they don't recommend it. But I may consider though.

We do not use VTP. Everything is in transparent mode. Thanks
SOLUTION
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
Avatar of leblanc

ASKER

I will try to configure it on the 2960. But I will make the other DHCP works first. I just want to make sure that I have several options to choose from.

I will test the first dhcp scenario tomorrow.

Thank you for your help.
Let me know how it went or if you need the configs.
Avatar of leblanc

ASKER

it works on the 2960S