为路由器配置双线接入

 时间:2026-02-15 02:21:55

1、需求描述

访问不同的IP地址使用不同的ISP线路

不同ISP的用户通过不同地址访问内网服务器

IP地址自定义。

2、拓扑结构

为路由器配置双线接入

3、实现思路

配置不同的ACL区分地址转换时使用不同的地址池

通过浮动路由和明细路由实现路由选路和备份

服务器使用8080端口

4、实现过程

R1配置

en

conf t

int fa 0/0

ip add 192.168.0.254 255.255.255.0

no shut

ip nat inside

exit

int fa 0/1

ip add 192.168.1.254 255.255.255.0

no shut

ip nat inside

exit

int fa 1/0

ip add 202.101.100.1 255.255.255.0

no shut

ip nat outside

exit

int fa 1/1

ip add 202.101.200.1 255.255.255.0

no shut

ip nat outside

ip nat inside source static tcp 192.168.0.1 8080 202.101.100.1 8080 extendable

ip nat inside source static tcp 192.168.0.1 8080 202.101.200.1 8080 extendable

ip access-list extended isp1

permit ip any 202.101.100.0 0.0.0.255

exit

ip access-list extended isp2

permit ip any 202.101.200.0 0.0.0.255

exit

ip nat pool isp1 202.101.100.1 202.101.100.1 netmask 255.255.255.0

ip nat pool isp2 202.101.200.1 202.101.200.1 netmask 255.255.255.0

ip nat inside source list isp1 pool isp1 overload

ip nat inside source list isp2 pool isp2 overload

ip route 202.101.100.0 255.255.255.0 202.101.100.1 1

ip route 202.101.100.0 255.255.255.0 202.101.200.1 2

ip route 202.101.200.0 255.255.255.0 202.101.200.1 1

ip route 202.101.200.0 255.255.255.0 202.101.100.1 2

R2配置

en

conf t

int fa 0/0

ip add 202.101.100.2 255.255.255.0

no shut

exit

R3配置

en

conf t

int fa 0/0

ip add 202.101.200.2 255.255.255.0

  • 360怎么清理注册表,360如何清理注册表
  • 利用变速精灵冲破网络限制
  • 清华同方电脑win7镜像系统安装教程
  • 如何启用FileZilla客户端的下载和上传速度限制
  • Windows 7设置WINS客户端网络地址
  • 热门搜索
    三头六臂是什么意思 报备是什么意思 和蔼的反义词是什么 中专是什么意思 you jump i jump是什么意思 肛门痒是什么原因 斯巴达什么意思 12366是什么电话 驾驭是什么意思 exercise是什么意思