GRE协议实验(Gre协议)

网友投稿 283 2022-10-12


GRE协议实验(Gre协议)

本次实验实验GNS3进行

实验目的:了解并配置GRE协议

实验拓扑图:

IOU1的配置

Configure terminal

Interface ethernet 0/0

Duplex full

Ip address 10.0.10.1 255.255.255.0

No shutdown

Exit

Interface ethernet 0/1

Duplex full

Ip address 10.0.20.1 255.255.255.0

No shutdown

Exit

IOU2的配置

Configure terminal

Interface ethernet 0/0

Duplex full

Ip address 10.0.10.2 255.255.255.0

No shutdown

Exit

Interface ethernet 0/1

Duplex full

Ip address 192.168.4.254 255.255.255.0

No shutdown

Exit

Ip route 0.0.0.0 0.0.0.0 10.0.10.1

Interface tunnel 0

Tunnel source ethernet 0/0

Tunnel destination 10.0.20.2

Tunnel mode gre ip

Ip address 192.168.1.1 255.255.255.0

No shutdown

Tunnel key 123

Exit

Router ospf 1

Network 192.168.4.0 0.0.0.255 area 0

Network 192.168.1.0 0.0.0.255 area 0

Exit

IOU3的配置

Configure terminal

Interface ethernet 0/0

Duplex full

Ip address 10.0.20.2 255.255.255.0

No shutdown

Exit

Interface ethernet 0/1

Duplex full

Ip address 192.168.5.254 255.255.255.0

No shutdown

Exit

Ip route 0.0.0.0 0.0.0.0 10.0.20.1

Interface tunnel 0

Tunnel source ethernet 0/0

Tunnel destination 10.0.10.2

Tunnel mode gre ip

Ip address 192.168.1.2 255.255.255.0

No shutdown

Tunnel key 123

Exit

Router ospf 1

Network 192.168.5.0 0.0.0.255 area 0

Network 192.168.1.0 0.0.0.255 area 0

Exit

Show ip interface brief (查看接口地址)

IOU4的配置

Configure terminal

Interface ethernet 0/0

Duplex full

Ip address 192.168.4.1 255.255.255.0

No shutdown

Exit

Ip route 0.0.0.0 0.0.0.0 192.168.4.254

IOU5的配置

Configure terminal

Interface ethernet 0/0

Duplex full

Ip address 192.168.5.1 255.255.255.0

No shutdown

Exit

Ip route 0.0.0.0 0.0.0.0 192.168.5.254


版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:Java异常类型及处理
下一篇:VPN技术之GRE基础实验
相关文章

 发表评论

暂时没有评论,来抢沙发吧~