I need to connect a cable modem to a Cisco 2600 series router. The Cisco router should allow network users to share the cable connection. One port will be direct connect to the modem, the other port of the router will be connected to hub, which then connect to workstations.
The router has 2 ethernet ports and the version is 11.3(10)T.
Can anyone tell me how to set all of this up as im only a newbie at all this.
First, I'd try to get ahold of a newer IOS for comfort sake.. 12.1(1)T is a safe bet. Never hurts to upgrade if you can. There are no bugs in this IOS related to what you want to do.
If you're considering runing NAT and DHCP on your LAN, you could set up a NAT and DHCP pool and give out addresses to you hosts..
Here's how I'd do it... (feel free to hammer me if I'm wrong people)..
1. Decide on your internal addressing. Let's say you choose 192.168.1.0 as your internal NAT and DHCP pool.
2. Configure the DHCP Pool:
no ip dhcp conflict logging
ip dhcp excluded-address 192.168.1.1 (your internal NAT address should be this)
ip dhcp pool SOMENAME
network 192.168.1.0 255.255.255.0
dns-server YOUR PROVIDERS DNS
3. Configure your NAT Pool:
interface EthernetX (connected to your modem)
ip addr YOUR PROVIDED IP
ip nat outside
interface EthernetY (what's connected to your LAN)
ip addr 192.168.1.1 255.255.255.0
ip nat inside
ip nat pool HideMe YOUR PROVIDED IP YOUR PROVIDED IP prefix-length 24
ip nat inside source list 1 pool HideMe overload
ip route 0.0.0.0 0.0.0.0 EthernetX
no ip http server
A couple considerations...
1. Make sure you use AAA and an access-class on your VTY ports to hinder bad guys from telneting to your router.
2. If you have additional IPs already, you may want to go that route instead of NAT sice some applications i.e. MSN Messenger (voice/video) and other applications don't play well with NAT.
3. If you're running any servers behind your router, you'll want to use static address on it and make sure you exclude that in your DHCP pool.
4. Make sure you employ access lists to prevent unwanted traffic and a distribute-list on your ethernet port to block 192.168.1.0 routes from being advertised to your ISP. That should happpen anyway, but it never hurts to be certain..
5. If you use this config, you might want to configure your LAN win clients to automatically get an IP, but hardcode the DNS server into the config. I've seen problems with this on other routers, but never Cisco. Still, that may be an issue if your LAN isn't getting DNS resolution..
This is actually a pretty cool feature, i didn't even know it existed until I was looking for a solution to advertise a subnet (prefix in BGP talk), only if a certain condition existed. This is exactly what conditional advertisements does
j ai une question j ai achete un routeur cisco 887VA-k9 , je le configuré avec la configuration ci- dessous
si je le lier avec mon pc portable sur l un de ses ports directement ça marche toute est bien ( la connexion internet + m...
Attached policy provides CLI access to the Cisco 4G router over text messaging. Two files are in the attached .tar file:
2. PDF with instructions on how to load and use the .tcl file.