cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
838
Views
0
Helpful
4
Replies

Configuring a 7206 for DHCP

qtraxq
Level 1
Level 1

What will take place is I will have my 7206 pull a Dynamically assigned IP address from my Cable modem/gateway.

The Cable modem will be connected @ Interface 1/0.

I will then connect one PC to the 7206 @ Interface 1/6.The PC will need to pull an IP such as 192.168.0.10.

********************

1st Setup: What should the config look like for the 7206 to pull the IP from the modem and issue a private IP to the PC?

2nd Setup: Also, what can I do to have the 7206 pass the DHCP information coming from the cable modem(I get 3 dynamic IP's from my ISP) to PC's that are connected(basicly act as a swicth)?

4 Replies 4

abustaman
Level 1
Level 1

Hello,

Basically you need to configure the router's interface to accept the ip address via dhcp, for that you need to use the command "ip address dhcp"

Now depending on the settings of you ISP you might need to configure client-id, interface-name, hostname but you might want to touch base with your ISP on this.

For more info on this chech the following link:

http://www.cisco.com/univercd/cc/td/doc/product/software/ios123/123cgcr/ipras_r/ip1_i1g.htm#wp1079828

Now if you want your PCs to retrieve the ip from the server you need to configure the command "ip helper-address [ip address of dhcp server]" on the interface where the PC's are connected. With this the router will forward the dhcp request to the dhcp server as a unicast.

Check the info on this link

http://www.cisco.com/univercd/cc/td/doc/product/software/ios123/123cgcr/ipras_r/ip1_i1g.htm#wp1084408

The interfaces where the PCs are going to be connected are layer 3, right?

Hope this helps

Later,

Im trying to use th "Ip address dhcp" command but i get the following

********

Router(boot)(config)#interface ethernet 1/0

Router(boot)(config-if)#ip address dhcp

^

% Invalid input detected at '^' marker.

Router(boot)(config-if)#

*************

I do understand my router is in "Boot" mode which I will fix once I get a new Flash Card, but i should still be able to configure dhcp on the router, right?

No, I don't think you can

Check the configuration register of the router, it should be 2102.

Also check the name of the file you're booting from if it's a boot image it doesn't matter if the config register is correct you would need to put an image that is not a boot image.

It could also be that your image is corrupted

I think you are probably right to a point. I believe "IP Address DHCP" was added as a command on 12.1(3), but in boot it will probably just load the 12.1 and not the revision portion(3). If it was 12.2 or 12.3, then I probably would have no issue with using "IP Address DHCP".

Ill just wait to get the good IOS of 12.3 on the Router.

-Thanks

Review Cisco Networking for a $25 gift card