蓝森林首页 | 返回主页 | 本站地图 | 站内搜索 | 联系信箱 |
 您目前的位置:首页 > 自由软件 > 技术交流 > 网络通讯


    

蓝森林 http://www.lslnet.com 2006年7月26日 13:28

cisco 1700 联网(请帮忙配置)


ISP 给的资料:
互联地址: 202.96.128.1-202.96.128.4/30
其中 202.96.128.2 为客户端地址
202.96.128.3 为局端设备地址
------------------------
分配用户IP地址: 202.96.129.1----202.96.129.8/29 共8个IP
==============================
我的环境:
CISCO 1700 router 一台
配备 Serial0 / Ethernet0
Serial0 为外部接口 / Ethernet0 为内部接口

我想做到:

1. Cisco 1700 WAN ip: 202.96.128.5
LAN ip: 192.168.0.100
2. NAT 功能.
=============================

请各位帮忙配置,先谢.

还要需要知道网关呀!

ISP 那边就给我这样的资料啊.

202.96.128.3 为局端设备地址
就是网关了吧

!
interface Ethernet0
ip address 192.168.0.100 255.255.255.0
ip nat inside
half-duplex
!
interface FastEthernet0
ip address 202.96.128.5 255.255.255.248
ip nat outside
speed auto
!
ip nat pool ippool 202.96.128.5 202.96.128.5 netmask 255.255.255.248
ip nat inside source list 10 interface FastEthernet0 overload
ip classless
ip route 0.0.0.0 0.0.0.0 FastEthernet0
no ip http server
!
!
access-list 10 permit 192.168.0.0 0.0.0.255

那里给你这个ip202.96.128.5 ?

最初由 小白 发布
!
interface Ethernet0
ip address 192.168.0.100 255.255.255.0
ip nat inside
half-duplex
!
interface FastEthernet0
ip address 202.96.128.5 255.255.255.248
ip nat outside
speed auto
!
ip nat pool ippool 202.96.128.5 202.96.128.5 netmask 255.255.255.248
ip nat inside source list 10 interface FastEthernet0 overload
ip classless
ip route 0.0.0.0 0.0.0.0 FastEthernet0
no ip http server
!
!
access-list 10 permit 192.168.0.0 0.0.0.255
==================
那网关呢?

(所说的: 
互联地址: 202.96.128.1-202.96.128.4/30
其中 202.96.128.2 为客户端地址
202.96.128.3 为局端设备地址) 

你可以确定它可以路由出去?


Copyright © 1999-2000 LSLNET.COM. All rights reserved. 蓝森林网站 版权所有。 E-mail : webmaster@lslnet.com