DHCP - Cable modem?
Daniel333
Member Posts: 2,077 ■■■■■■□□□□
in CCNA & CCENT
I might be going into a CCNP topic here. But is there a way to set a ethernet interface on a 2500 series to receive an DHCP address?
Seems to me if they can, I should be able to set default routes and use one of my 2500 to replace my netgear?
Seems to me if they can, I should be able to set default routes and use one of my 2500 to replace my netgear?
-Daniel
Comments
-
seuss_ssues Member Posts: 629There have been several posts here in the past about hooking your cisco gear up to the internet. I would be able to post some links but im not on my normal computer.
I would suggest either manually browsing the cisco forums (im pretty sure CCNA) and trying the search function. -
Darthn3ss Member Posts: 1,096to get an IP from DHCP, simply use the command
"ip address dhcp" on the interface's config.. ie:
R1#conf t
R1(config)#int fa0/0
R1(config)#ip address dhcp
R1(config)#no shut
R1(config)#end
edit: the cisco IOS cookbook is your friend, you should check it out. this is from recipe 20.3Fantastic. The project manager is inspired.
In Progress: 70-640, 70-685 -
mikej412 Member Posts: 10,086 ■■■■■■■■■■ip address dhcp
But if you need to ask that, have you even considered the security implications?
You'd also probably want to configure NAT. A static route might get your traffic out -- where your ISP will drop your RFC 1918 addresses like a hot potato.
Find a good internet security/port scanner and run a before and after.:mike: Cisco Certifications -- Collect the Entire Set! -
hectorjhrdz Member Posts: 127but guys, Do all the IOS versions support DHCP on interfaces?
i tried it last week on a 2500 cisco router with an IOS 11.3 and it didn't support the command
cheers!!!!!! -
mikej412 Member Posts: 10,086 ■■■■■■■■■■hectorjhrdz wrote:i tried it last week on a 2500 cisco router with an IOS 11.3 and it didn't support the command
There probably wouldn't be any security issues running an IOS version with only IPX support attached to a Broadband connection:mike: Cisco Certifications -- Collect the Entire Set! -
Darthn3ss Member Posts: 1,096i think DHCP is supported in like 12.1 or 12.2 and above.could be wrong. don't feel like checking :PFantastic. The project manager is inspired.
In Progress: 70-640, 70-685 -
mikej412 Member Posts: 10,086 ■■■■■■■■■■Darthn3ss wrote:i think DHCP is supported in like 12.1 or 12.2 and above.could be wrong. don't feel like checking :P
12.1(2)T for the client support "ip address dhcp" and 12.0(1)T for the server support (service dhcp).
I'm onsite tomorrow -- but after that, maybe I should consider just drinking beer and sleeping until my flight Thursday.:mike: Cisco Certifications -- Collect the Entire Set!