Cisco 1600 router config help for internet sharing [Archive] - SpeedGuide.net Broadband Community

View Full Version : Cisco 1600 router config help for internet sharing


wopper
04-23-01, 05:35 AM
can anybody help me with the configuration of my cisco 1600 router??

i can't get it to work with my internet connection. I want to share the connection with serveral computers..

my config now looks like this..

configure terminal
!
no service pad
service timestamps debug datetime
service timestamps log datetime
service password-encryption
service udp-small-servers
service tcp-small-servers
!
hostname Newgrounds
!
enable password 0 ****
!
ip subnet-zero
no ip finger
ip tcp path-mtu-discovery
ip domain-name Newgrounds.nl
ip name-server 212.142.28.66
clock timezone Amsterdam 0
!
!
!
interface Ethernet0
description Thuis LAN
ip address 192.168.0.1 255.255.255.0
ip access-group LAN in
ip helper-address 192.168.0.2
no ip directed-broadcast
no ip route-cache
no keepalive
no cdp enable
no shutdown
!
interface Ethernet1
description Comport LAN to Cablemodem
ip address 213.93.117.62 255.255.255.0
ip access-group WAN in
no ip directed-broadcast
no ip route-cache
no keepalive
no cdp enable
no shutdown
!
router rip
version 2
passive-interface Ethernet0
network 213.0.0.0
network 192.168.0.0
no auto-summary
redistribute connected
!
ip classless
!
ip route 0.0.0.0 0.0.0.0 192.168.0.254
!
access-list 5 permit 192.168.0.2 0.0.0.255
snmp-server trap-source Ethernet0
!
line con 0
password 0 ****
login
transport input none
exec-timeout 5 0
line vty 0 4
access-class 5 in
password 0 ****
login
exec-timeout 5 0
!
banner motd q

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

N e w G r o u n d s
- Erik -

UNAUTHORIZED ACCESS STRICTLY PROHIBITED!

Unauthorized access or modification of any information
stored on this system may result in criminal prosecution.


********************************************************************q

end


the ip address of my IPS are:

DNS : 212.142.28.66
DHCP : 212.142.28.66
gateway : 213.93.117.1

my ip : 213.93.117.62

tomsykes
04-23-01, 05:49 AM
* turn off rip routing - not required.

* define a local NAT pool, and do an "ip nat inside" on the Ethernet0

and ip nat outside on ethernet1
www.cisco.com (http://www.cisco.com) has instructions for nat

msprouls
04-23-01, 11:47 PM
The IP helper-address goes on the physical interface that needs to forward the DHCP/bootp request, pointing to the IP address of the host running DHCP services. The way you have it configured your helper address is on the same physical interface as the subnet.


To put it another way. IP helper-address allows DHCP/bootp request to get forwarded from one subnet to a subnet/host you point to.

I like to point to the host address of the DHCP server. You can just point to the network address if IP deirected broadcast are permited on that interface.
192.168.0.0(net) or 192.168.0.2(host)

Tom took care of the NAT and RIP issue.

Hope this helps