PDA

View Full Version : cisco router question


tatanka
12-21-02, 02:34 PM
Can you program a Cisco router (2500 series with dual AUI/ethernet connections) so that it can act as a DHCP server? I have a DSL connection with an external modem.

BannsheeBot
12-21-02, 09:51 PM
http://www.uclinux.org/ports/

I have no idea how they did this, but what it is, is a version of Linux, for microcontrollers without Memory Management Units, things that processors like Motorola's DragonBall (http://e-www.motorola.com/webapp/sps/site/prod_summary.jsp?code=MC68360&node) lack and which x86 processors have. Also, this might not work, and there is a large chance of screwing up the 2500. So do this at your own risk. File can be found at the bottom of the linked page.

su root
12-22-02, 01:32 AM
http://www.cisco.com/en/US/products/sw/iosswrel/ps1834/products_feature_guide09186a0080080106.html
:D

tatanka
12-23-02, 12:44 AM
Hmmm... installing linux on the router sounds interesting but I don't want to risk frying my router... oh well... guess I'll have to leave my linux box on to handle DHCP duties...

su root
12-23-02, 01:03 AM
you could always use static. If there is a small number of hosts, and you rarely add/remove the hosts from the network, then there isn't a large demand for DHCP.

Jon
12-23-02, 02:38 AM
Originally posted by su root
you could always use static. If there is a small number of hosts, and you rarely add/remove the hosts from the network, then there isn't a large demand for DHCP.

I recommend this for small (10 or less) networks anyway. DHCP only increases the boot time for an individual PC and using static IPs has its pluses...especially if you use remote administration utilities to play with other PCs as I do. You can always use host names for this but there are generally no problems when a host has an assigned IP as opposed to DHCP assigned hosts. If you ever need to route traffic to a specific PC you'll find using DHCP isn't possible for this either.

I think the only PC on my network configured for DHCP is my laptop and this is only because it's mobile and isn't always connected to my network.

tatanka
12-23-02, 11:45 PM
I actually ran a static IP network back when the only PC's at my house were the family pc and my custom built rig. But I switched to DHCP after we started to add more PCs/laptops and my brothers moved out. They still come buy every now and then and they have their own wireless/wired networks at their places. So I thought it would be easier on them if we had a dynamic network if they ever wanted to patch in their laptops.

su root
12-24-02, 01:20 AM
well, you could run a mixed network, all the static boxes in one range, and have a box running DHCP server when it's on, to non-static hosts in another range. Then, whenever family/friends are over, just make sure the DHCP box is on. The DHCP won't affect the static hosts.

Static Hosts 192.168.0.1 to 192.168.0.20 (or whatever's needed), and set the scope on the DHCP server to 192.168.0.21-254 / 255.255.255.0