日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

隔离公司各个部门--虚拟路由器(RIP)

發布時間:2025/3/17 编程问答 26 豆豆
生活随笔 收集整理的這篇文章主要介紹了 隔离公司各个部门--虚拟路由器(RIP) 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

實驗拓撲:

?

R1配置:

ip vrf retail
rd 100:100
route-target export 100:100
route-target import 100:100
!
ip vrf trading
rd 100:200
route-target export 100:200
route-target import 100:200
mpls label range 100 199
mpls label protocol ldp
!
interface Loopback0
ip address 1.1.1.1 255.255.255.255
!
interface FastEthernet0/0
ip address 12.1.1.1 255.255.255.0
duplex auto
speed auto
mpls ip
!
interface FastEthernet0/1
no ip address
duplex auto
speed auto
!
interface FastEthernet0/1.100
encapsulation dot1Q 100
ip vrf forwarding retail
ip address 192.168.14.1 255.255.255.0
!
interface FastEthernet0/1.200
encapsulation dot1Q 200
ip vrf forwarding trading
ip address 172.16.14.1 255.255.255.0
!
router ospf 100
router-id 1.1.1.1
log-adjacency-changes
network 1.1.1.1 0.0.0.0 area 0
network 12.1.1.0 0.0.0.255 area 0
!
router rip
version 2
no auto-summary
!
address-family ipv4 vrf trading
redistribute bgp 100 metric transparent
network 172.16.0.0
no auto-summary
exit-address-family
!
address-family ipv4 vrf retail
redistribute bgp 100 metric transparent
network 192.168.14.0
no auto-summary
exit-address-family
!
router bgp 100
bgp router-id 1.1.1.1
no bgp default ipv4-unicast
bgp log-neighbor-changes
neighbor 3.3.3.3 remote-as 100
neighbor 3.3.3.3 update-source Loopback0
!
address-family ***v4
neighbor 3.3.3.3 activate
neighbor 3.3.3.3 send-community extended
exit-address-family
!
address-family ipv4 vrf trading
redistribute rip
no synchronization
exit-address-family
!
address-family ipv4 vrf retail
redistribute rip
no synchronization
exit-address-family
!
mpls ldp router-id Loopback0

R2配置:

mpls label range 200 299

mpls label protocol ldp
interface Loopback0
ip address 2.2.2.2 255.255.255.255
!
interface FastEthernet0/0
ip address 12.1.1.2 255.255.255.0
duplex auto
speed auto
mpls ip
!
interface FastEthernet0/1
ip address 23.1.1.2 255.255.255.0
duplex auto
speed auto
mpls ip
!
router ospf 100
router-id 2.2.2.2
log-adjacency-changes
network 2.2.2.2 0.0.0.0 area 0
network 12.1.1.0 0.0.0.255 area 0
network 23.1.1.0 0.0.0.255 area 0
!
mpls ldp router-id Loopback0
R3配置:

ip vrf retail
rd 100:100
route-target export 100:100
route-target import 100:100
!
ip vrf trading
rd 100:200
route-target export 100:200
route-target import 100:200
!
mpls label range 300 399
mpls label protocol ldp
!
interface Loopback0
ip address 3.3.3.3 255.255.255.255
!
interface FastEthernet0/0
no ip address
duplex auto
speed auto
!
interface FastEthernet0/0.100
encapsulation dot1Q 100
ip vrf forwarding retail
ip address 192.168.35.3 255.255.255.0
!
interface FastEthernet0/0.200
encapsulation dot1Q 200
ip vrf forwarding trading
ip address 172.16.35.3 255.255.255.0
!
interface FastEthernet0/1
ip address 23.1.1.3 255.255.255.0
duplex auto
speed auto
mpls ip
!
router ospf 100
router-id 3.3.3.3
log-adjacency-changes
network 3.3.3.3 0.0.0.0 area 0
network 23.1.1.0 0.0.0.255 area 0
!
router rip
version 2
no auto-summary
!
address-family ipv4 vrf trading
redistribute bgp 100 metric transparent
network 172.16.0.0
no auto-summary
exit-address-family
!
address-family ipv4 vrf retail
redistribute bgp 100 metric transparent
network 192.168.35.0
no auto-summary
exit-address-family
!
router bgp 100
bgp router-id 3.3.3.3
no bgp default ipv4-unicast
bgp log-neighbor-changes
neighbor 1.1.1.1 remote-as 100
neighbor 1.1.1.1 update-source Loopback0
!
address-family ***v4
neighbor 1.1.1.1 activate
neighbor 1.1.1.1 send-community extended
exit-address-family
!
address-family ipv4 vrf trading
redistribute rip
no synchronization
exit-address-family
!
address-family ipv4 vrf retail
redistribute rip
no synchronization
exit-address-family
!
mpls ldp router-id Loopback0
R4配置:

ip vrf retail
rd 1:1
!
ip vrf trading
rd 2:2
!
!
interface Loopback0
ip address 4.4.4.4 255.255.255.255
!
interface Loopback1
ip vrf forwarding trading
ip address 20.1.1.4 255.255.255.0
ip ospf network point-to-point
!
interface FastEthernet0/0
ip vrf forwarding retail
ip address 10.1.1.4 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/1
no ip address
duplex auto
speed auto
!
interface FastEthernet0/1.100
encapsulation dot1Q 100
ip vrf forwarding retail
ip address 192.168.14.4 255.255.255.0
!
interface FastEthernet0/1.200
encapsulation dot1Q 200
ip vrf forwarding trading
ip address 172.16.14.4 255.255.255.0
!
router rip
version 2
no auto-summary
!
address-family ipv4 vrf trading
network 20.0.0.0
network 172.16.0.0
no auto-summary
exit-address-family
!
address-family ipv4 vrf retail
network 10.0.0.0
network 192.168.14.0
no auto-summary
exit-address-family
R5配置:
?

ip vrf retail
rd 1:1
!
ip vrf trading
rd 2:2
!
interface Loopback0
ip address 5.5.5.5 255.255.255.255
!
interface Loopback1
ip vrf forwarding trading
ip address 40.1.1.5 255.255.255.0
ip ospf network point-to-point
!
interface FastEthernet0/0
no ip address
duplex auto
speed auto
!
interface FastEthernet0/0.100
encapsulation dot1Q 100
ip vrf forwarding retail
ip address 192.168.35.5 255.255.255.0
!
interface FastEthernet0/0.200
encapsulation dot1Q 200
ip vrf forwarding trading
ip address 172.16.35.5 255.255.255.0
!
interface FastEthernet0/1
ip vrf forwarding retail
ip address 30.1.1.5 255.255.255.0
duplex auto
speed auto
!
router rip
version 2
no auto-summary
!
address-family ipv4 vrf trading
network 40.0.0.0
network 172.16.0.0
no auto-summary
exit-address-family
!
address-family ipv4 vrf retail
network 30.0.0.0
network 192.168.35.0
no auto-summary
exit-address-family

驗證

?

轉載于:https://blog.51cto.com/692344/1070585

總結

以上是生活随笔為你收集整理的隔离公司各个部门--虚拟路由器(RIP)的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。

主站蜘蛛池模板: 久久久久成人精品免费播放动漫 | 999视频在线| 长篇高h肉爽文丝袜 | 欧美中文字幕第一页 | 国产精品片 | 久久国产劲爆∧v内射 | 日韩伊人久久 | www一级片 | 久久免费在线 | 日韩高清在线一区 | 九一国产在线 | 日韩毛毛片 | 99精品无码一区二区 | 国产区精品视频 | 亚洲欧美日韩偷拍 | av在线免费网站 | 少妇特黄一区二区三区 | 久久91亚洲精品中文字幕奶水 | 日韩特黄一级片 | 99综合视频 | 色婷网| 欧美一区二区精品 | 国产伦精品一区二区三区四区免费 | 91蝌蚪91九色白浆 | 久久久久成人精品 | 韩国伦理片在线观看 | h片大全 | 动漫女生光屁股 | 精品久久久久久久久久久久久久久久久 | 亚洲精品在线观看av | 久久人人艹 | 欧美一级一级 | 亚洲GV成人无码久久精品 | 床戏高潮做进去大尺度视频网站 | 人妖天堂狠狠ts人妖天堂狠狠 | 在线观看亚洲免费视频 | www.99在线 | 中国一级特黄真人毛片免费观看 | aa视频网站 | av少妇 | 国产白浆在线观看 | 亚洲男人天堂2024 | 国产成人无码精品久久久久久 | 国产手机av在线 | 亚洲美女av在线 | 亚洲自拍偷拍欧美 | 久久精品黄色片 | 激情中文字幕 | 亚洲一区二区三区久久久成人动漫 | 成人美女在线 | 日韩在线视频观看免费 | 亚洲视频小说 | 国产chinasex麻豆videos | 亚洲人做受| 西西444www无码大胆 | 国产一级片视频 | 日韩字幕在线 | 久久网国产| 免费看一级黄色大全 | 先锋影音久久 | 国内精品视频一区 | 九九视屏 | 超碰啪啪 | 97精品| 国产毛片毛片毛片毛片毛片毛片 | 婷综合| 亚洲国产第一页 | 亚洲午夜视频在线观看 | 成人午夜免费福利视频 | 日本人妻换人妻毛片 | 日日日噜噜噜 | 天天爽天天摸 | 男人狂揉女人下部视频 | 无码人妻aⅴ一区二区三区 国产高清一区二区三区四区 | 中文字幕无码精品亚洲资源网久久 | 在线播放无码后入内射少妇 | 羞羞答答一区 | 欧美3p在线观看 | 欧美日韩一二三四区 | 欧美成人精品在线观看 | 亚洲综人网 | 国产a区| 国产综合精品久久久久成人影 | 91性高潮久久久久久久 | 国产偷v| 青青草国产一区二区三区 | 全部免费毛片在线播放高潮 | 麻豆传媒视频入口 | 久久国产一级 | 777精品伊人久久久久大香线蕉 | 未满十八18禁止免费无码网站 | 亚洲资源在线播放 | 天天操狠狠操 | 国产一区二区四区 | 国产精品熟女久久久久久 | 欧美a在线| 乳揉みま痴汉4在线播放 | 欧美日韩a级 | 久久久久国产一区二区三区潘金莲 |