01-26-2005 12:58 PM - edited 03-02-2019 09:19 PM
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)?
01-26-2005 02:26 PM
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:
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
The interfaces where the PCs are going to be connected are layer 3, right?
Hope this helps
Later,
01-26-2005 03:18 PM
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?
01-28-2005 08:54 AM
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
01-29-2005 08:08 AM
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
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