- 论坛徽章:
- 0
|
各位。我有一个内部网,有一台Cisco和一个HUB,现在有一个外网地址,能够上internet,请问我该怎么配置啊,可以让我内部网的机器,上internet。而且这个外网地址,已经通过网线连过来了,目前我是接在HUB上
外网地址:
IP: 10.63.160.200
255.255.255.0
mask:10.63.160.31
DNS: 202.103.0.68
我自己试过的配置为:请帮我看看,有什么问题,为什么不行
!
version 12.2
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname Huanggang2600
!
enable secret 5 $1$q2II$GvI1z0deIo9RKWzidvHoL.
enable password 2600
!
username hgcisco password 0 cisco
memory-size iomem 10
ip subnet-zero
!
!
no ip domain-lookup
!
!
!
!
interface FastEthernet0/0
ip address 192.168.1.1 255.255.255.0
ip nat outside
no ip mroute-cache
duplex auto
speed auto
!
interface Serial0/0
no ip address
shutdown
no fair-queue
!
interface FastEthernet0/1
no ip address
ip nat inside
no ip mroute-cache
shutdown
duplex auto
speed auto
!
interface Serial0/1
no ip address
shutdown
!
interface Group-Async1
description connected to Dial-inPCs
ip unnumbered FastEthernet0/0
encapsulation ppp
async dynamic address
async mode interactive
peer default ip address pool sxpool
ppp authentication chap
group-range 33 48
!
ip local pool sxpool 192.168.1.41 192.168.1.56
ip nat pool c2621 10.63.160.200 10.63.160.201 netmask 255.255.255.252
ip nat inside source list 2 pool c2621 overload
ip classless
ip route 0.0.0.0 0.0.0.0 FastEthernet0/1
no ip http server
ip pim bidir-enable
!
!
access-list 2 permit 192.0.0.0 0.0.0.255
!
line con 0
exec-timeout 0 0
password cisco
login
transport output pad v120 telnet rlogin udptn
line 33 48
login local
modem InOut
modem autoconfigure discovery
transport input all
autoselect during-login
autoselect ppp
stopbits 1
flowcontrol hardware
line aux 0
line vty 0 4
password cisco
login
!
!
end |
|