【每日一记10】+第19天:动态路由 - EIGRP(十一)
  

易逝的信仰 1428

{{ttag.title}}
EIGRP 和 GRE 的联合应用
其中 Site A 使用命令 EIGRP 配置,名为 cisco,Site B 使用正常 EIGRP 配置,AS 号为 100

将 R1 和 R6 配置为 Stub,因为是末节路由器,节省带宽
R2 和 R3,R5 和 R6 开启认证,key chain 为 test,密码为 666. 因为 R3 和 R5 为 ISP 路由器。
Site A 和 Site B 使用 IPV6 协议,ISP 内部使用 IPV4 协议。通过 GRE 实现 R1 和 R5 回环口,V4 和 V6 间互访。
IPV4 网络:通过隧道地址建立 EIGRP 邻居
IPV6 网络:配置静态路由,并重分布到 EIGRP 中


SIte A 和 Site B IPV4 通信配置:

# R1, 通过 EIGRP 命名声明本地网络
!
hostname R1
!
!
interface Loopback0
ip address ***
!
interface Ethernet0/0
ip address ***
duplex auto
!
!
router eigrp cisco
!
address-family ipv4 unicast autonomous-system 100
  !
  topology base
  exit-af-topology
  network ***
  network ***
  eigrp stub connected summary
exit-address-family
!

# R2 - 声明网络,加认证
!
hostname R2
!
key chain test
key 1
  key-string 666
!
!
interface Ethernet0/0
ip address ***
duplex auto
!
interface Ethernet0/1
ip address 2***
duplex auto
!
router eigrp cisco
!
address-family ipv4 unicast autonomous-system 100
  !
  af-interface Ethernet0/1
   authentication mode md5
   authentication key-chain test
  exit-af-interface
  !
  topology base
  exit-af-topology
  network ***
  network ***
exit-address-family
!

# R3 - 配置静态路由,模拟 ISP 内部通信。配置认证,建立隧道
!
hostname R3
!
key chain test
key 1
  key-string 666
!
interface Tunnel0
ip address ***
tunnel source 34.1.1.1
tunnel destination 45.1.1.2
!
interface Ethernet0/0
ip address***
duplex auto
!
interface Ethernet0/1
ip address ***
duplex auto
!
router eigrp cisco
!
address-family ipv4 unicast autonomous-system 100
  !
  af-interface Ethernet0/0
   authentication mode md5
   authentication key-chain test
  exit-af-interface
  !
  topology base
  exit-af-topology
  network ***
  network***
exit-address-family
!
ip route 0.0.0.0 0.0.0.0 34.1.1.2
!

# R4
!
hostname R4
!
interface Ethernet0/0
ip address ***
duplex auto
!
interface Ethernet0/1
ip address ***
duplex auto
!

# R5
!
hostname R5
!
key chain test
key 1
  key-string 123
!
interface Tunnel0
ip address ***
tunnel source 45.1.1.2
tunnel destination 34.1.1.1
!
interface Ethernet0/0
ip address ***
duplex auto
!
interface Ethernet0/1
ip address ***
ip authentication mode eigrp 100 md5
ip authentication key-chain eigrp 100 test
duplex auto
!
router eigrp 100
network ***
network**
!
ip route 0.0.0.0 0.0.0.0 45.1.1.1
!

# R6
!
hostname R6
!
key chain test
key 1
  key-string 123
!
interface Loopback0
ip address ***
!
interface Ethernet0/0
ip address ***
ip authentication mode eigrp 100 md5
ip authentication key-chain eigrp 100 test
duplex auto
!
router eigrp 100
network ***
network***
eigrp stub connected summary
!
IPV6 通信配置

# R1
ipv6 unicast-routing
interface Loopback0
ipv6 address ***
ipv6 enable

interface Ethernet0/0
ipv6 address ***
ipv6 enable

!
router eigrp cisco
address-family ipv6 unicast autonomous-system 100
  !
  topology base
  exit-af-topology
exit-address-family
!


# R2
ipv6 unicast-routing
interface Ethernet0/0
ipv6 address ***
ipv6 enable

interface Ethernet0/1
ipv6 address ***
ipv6 enable
!
router eigrp cisco
address-family ipv6 unicast autonomous-system 100
  topology base
  exit-af-topology
exit-address-family
!

# R3
ipv6 unicast-routing
interface Tunnel0
ipv6 enable
interface Ethernet0/0
ipv6 address ***
ipv6 enable
!
router eigrp cisco
address-family ipv6 unicast autonomous-system 100
  topology base
   redistribute static
  exit-af-topology
exit-address-family
!
ipv6 route *** Tunnel0
!

# R5
ipv6 unicast-routing
interface Tunnel0
ipv6 enable
interface Ethernet0/1
ipv6 address ***
ipv6 address address ***
ipv6 enable
ipv6 eigrp 100
!
ipv6 route 3001::/64 Tunnel0
ipv6 router eigrp 100
redistribute static
!

#R6
ipv6 unicast-routing
interface Loopback0
ipv6 address ***
ipv6 enable
ipv6 eigrp 100
!
interface Ethernet0/0
ipv6 address ***
ipv6 address address ***
ipv6 enable
ipv6 eigrp 100
!
ipv6 router eigrp 100
!

打赏鼓励作者,期待更多好文!

打赏
2人已打赏

头像被屏蔽
新手741261 发表于 2020-8-27 21:18
  
提示: 作者被禁止或删除 内容自动屏蔽
头像被屏蔽
新手031815 发表于 2020-8-28 21:29
  
提示: 作者被禁止或删除 内容自动屏蔽
伊利丹·怒风 发表于 2021-6-29 10:49
  
谢谢分享~有助于工作!
yim 发表于 2021-9-8 21:26
  
发表新帖
热门标签
全部标签>
每日一问
【 社区to talk】
高手请过招
新版本体验
标准化排查
产品连连看
社区新周刊
GIF动图学习
功能体验
纪元平台
平台使用
信服课堂视频
技术笔记
安全效果
安装部署配置
网络基础知识
运维工具
排障笔记本
S豆商城资讯
答题自测
解决方案
VPN 对接
2023技术争霸赛专题
云化安全能力
关键解决方案
专家问答
设备维护
存储
迁移
秒懂零信任
文档捉虫
华北区交付直播
每周精选
西北区每日一问
产品解析
畅聊IT
技术圆桌
在线直播
MVP
升级
安全攻防
上网策略
测试报告
日志审计
问题分析处理
流量管理
每日一记
用户认证
原创分享
sangfor周刊
项目案例
SANGFOR资讯
专家分享
技术顾问
信服故事
SDP百科
功能咨询
终端接入
授权
资源访问
地址转换
虚拟机
产品预警公告
玩转零信任
技术争霸赛
「智能机器人」
追光者计划
卧龙计划
华北区拉练
天逸直播
以战代练
技术晨报
技术盲盒
山东区技术晨报
齐鲁TV
2024年技术争霸赛
北京区每日一练
场景专题
故障笔记
排障那些事
升级&主动服务
高频问题集锦
POC测试案例
全能先锋系列
专家说
热门活动
产品动态
行业实践

本版版主

461
248
13

发帖

粉丝

关注

本版达人

feeling

本周分享达人

新手29676...

本周提问达人