9.3 VRF Lite

1.VRF Lite基础

VRF Lite可以实现一台PE转发多个实例,为多个不同的客户或业务服务。

图片[1]-9.3 VRF Lite-大赛人网
图9-10 VRF Lite基础配置网络拓扑

1)R1配置

[R1]interface GigabitEthernet 0/0/0 
[R1-GigabitEthernet0/0/0]ip address 192.168.1.254 24
[R1]interface GigabitEthernet 0/0/1 
[R1-GigabitEthernet0/0/1]ip address 192.168.11.253 24

2)R2配置

[R2]interface GigabitEthernet 0/0/0
[R2-GigabitEthernet0/0/0]ip address 192.168.2.254 24
[R2]interface GigabitEthernet 0/0/1
[R2-GigabitEthernet0/0/1]ip address 192.168.21.253 24

3)SW1配置

[SW1]ip vpn-instance dsrw.com_A
[SW1-vpn-instance-dsrw.com_A]route-distinguisher 10:1
[SW1]vlan 10
[SW1]interface Vlanif 10
[SW1-Vlanif10]ip address 192.168.10.254 24
[SW1]vlan 11
[SW1]interface Vlanif 11         
[SW1-Vlanif11]ip address 192.168.11.254 24
[SW1]vlan 20
[SW1]interface Vlanif 20
[SW1-Vlanif20]ip address 192.168.20.254 24
[SW1]vlan 21
[SW1]interface Vlanif 21 
[SW1-Vlanif21]ip address 192.168.21.254 24
[SW1]ip route-static 192.168.1.0 24 192.168.11.253
[SW1]ip route-static vpn-instance dsrw.com_A 192.168.2.0 24 192.168.21.253
© 版权声明
THE END
喜欢就支持一下吧
点赞12 分享
评论 抢沙发
头像
欢迎您留下宝贵的见解!
提交
头像

昵称

取消
昵称

    请登录后查看评论内容