Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

need help to config my router 1751

Status
Not open for further replies.

rudimarx

Technical User
Nov 14, 2002
5
GB
need help to config my router 1751 so i can hoek it up to cable modum.
have switch with 3 pc running xp/2000
 
cable modem should come with an ethernet port. plug router ethernet into cable modem ethernet0 with a cross over (most likely) patch cable. then plug the other ethernet1 on your router into the switch with a straight through patch cable.

then on the router

conf t
interface ethernet 0
ip address dhcp
no shutdown
ip nat outside *
ip access-group 101 in *
exit
interface ethernet 1
ip address 192.168.1.1 255.255.255.0
ip nat inside *
no shut
exit
ip nat inside source list 102 interface ethernet0 overload *
access-list 102 permit ip 192.168.1.0 0.0.0.255 any *
access-list 101 deny ip 192.168.1.0 0.0.0.255 any *
access-list 101 permit tcp any any gt 1023 established *
ip route 0.0.0.0 0.0.0.0 <insert ip address of cable modem here> (this command may not be necessary since you should get this information through dhcp)

the commands with the * are optional but provide a quick pseudo security solution and access to the internet from internal hosts.
Erik Rudnick, CCIE No. 9545
mailto:erik@kuriosity.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top