国产 无码 综合区,色欲AV无码国产永久播放,无码天堂亚洲国产AV,国产日韩欧美女同一区二区

華為路由器MPLS VPN綜合實驗

這篇具有很好參考價值的文章主要介紹了華為路由器MPLS VPN綜合實驗。希望對大家有所幫助。如果存在錯誤或未考慮完全的地方,請大家不吝賜教,您也可以點擊"舉報違法"按鈕提交疑問。

目錄

【實驗題目】

【實驗思路】

【實驗記錄】

一、公網(wǎng)部分

二、客戶A的MPLS VPN

三、客戶B的MPLS VPN

四、配置R7缺省指向公網(wǎng)


【實驗題目】

華為路由器MPLS VPN綜合實驗

【實驗思路】

由題目可知,實驗?zāi)康氖且獙⒖蛻鬉的站點1和站點2通過MPLS VPN連成一個私網(wǎng),將客戶B的站點1和站點2通過MPLS VPN連成另一個私網(wǎng),MPLS VPN骨干網(wǎng)絡(luò)和R4與R7之間的一條網(wǎng)線(這里假設(shè)是R4-GE4/0/0與R7-GE0/0/1這根網(wǎng)線)構(gòu)成公網(wǎng)部分。

那么,首先要將公網(wǎng)做通和配置MPLS和配置BGP,即配置IP地址 ——> 配置OSPF路由 ——> 配置BGP(建立R2/R4對等體關(guān)系)——> 配置MPLS?,然后在R2、R4上配置VRF,為VRF接口配置IP地址,再分別為客戶A和客戶B的私網(wǎng)部分配置IP地址、使用靜態(tài)或動態(tài)方式傳遞路由,最后在R2、R4上的各自VRF空間中通過雙向重發(fā)布或BGP路由發(fā)布(BGP需配置為MP-BGP)。

至于R7訪問R2/R3/R4的環(huán)回,在R7寫缺省路由即可。

【實驗記錄】

一、公網(wǎng)部分

1. 配置IP地址

[r2]interface g0/0/2
[r2-GigabitEthernet0/0/2]ip address 23.0.0.1 24
[r2]interface LoopBack 0
[r2-LoopBack0]ip address 2.2.2.2 24
[r3]interface g0/0/0
[r3-GigabitEthernet0/0/0]ip address 23.0.0.2 24
[r3]interface g0/0/1
[r3-GigabitEthernet0/0/1]ip address 34.0.0.1 24
[r3]interface LoopBack 0
[r3-LoopBack0]ip address 3.3.3.3 24
[r4]int g0/0/0
[r4-GigabitEthernet0/0/0]ip address 34.0.0.2 24
[r4]int g4/0/0
[r4-GigabitEthernet4/0/0]ip address 47.0.0.1 24
[r4]interface LoopBack 0
[r4-LoopBack0]ip address 4.4.4.4 24
[r7]int g0/0/1
[r7-GigabitEthernet0/0/1]ip address 47.0.0.2 24

2. 配置OSPF

[r2]ospf 1 router-id 2.2.2.2
[r2-ospf-1]a 0
[r2-ospf-1-area-0.0.0.0]network 23.0.0.0 0.0.0.255
[r2-ospf-1-area-0.0.0.0]network 2.2.2.2 0.0.0.0 
[r3]ospf 1 router-id 3.3.3.3
[r3-ospf-1]a 0
[r3-ospf-1-area-0.0.0.0]network 23.0.0.0 0.0.0.255
[r3-ospf-1-area-0.0.0.0]network 34.0.0.0 0.0.0.255
[r3-ospf-1-area-0.0.0.0]network 3.3.3.3 0.0.0.0
[r4]ospf 1 router-id 4.4.4.4
[r4-ospf-1]a 0
[r4-ospf-1-area-0.0.0.0]network 34.0.0.0 0.0.0.255
[r4-ospf-1-area-0.0.0.0]network 47.0.0.0 0.0.0.255
[r4-ospf-1-area-0.0.0.0]network 4.4.4.4 0.0.0.0

?3. 配置BGP

[r2]bgp 1
[r2-bgp]router-id 2.2.2.2
[r2-bgp]peer 4.4.4.4 as 1
[r2-bgp]peer 4.4.4.4 connect-interface LoopBack 0
[r4]bgp 1
[r4-bgp]router-id 4.4.4.4
[r4-bgp]peer 2.2.2.2 as 1
[r4-bgp]peer 2.2.2.2 connect-interface LoopBack 0

4. 配置MPLS

[r2]mpls lsr-id 2.2.2.2
[r2]mpls 
Info: Mpls starting, please wait... OK!
[r2-mpls]mpls ldp
[r2-mpls-ldp]q
[r2]int g0/0/0
[r2-GigabitEthernet0/0/0]mpls 
[r2-GigabitEthernet0/0/0]mpls ldp 
[r3]mpls lsr-id 3.3.3.3
[r3]mpls 
Info: Mpls starting, please wait... OK!
[r3-mpls]mpls ldp
[r3-mpls-ldp]q
[r3]interface g0/0/0
[r3-GigabitEthernet0/0/0]mpls 
[r3-GigabitEthernet0/0/0]mpls ldp 
[r3-GigabitEthernet0/0/0]int g0/0/1
[r3-GigabitEthernet0/0/1]mpls 
[r3-GigabitEthernet0/0/1]mpls ldp
[r4]mpls lsr-id 4.4.4.4
[r4]mpls 
Info: Mpls starting, please wait... OK!
[r4-mpls]mpls ldp
[r4-mpls-ldp]q
[r4]int g0/0/0
[r4-GigabitEthernet0/0/0]mpls
[r4-GigabitEthernet0/0/0]mpls ldp

華為路由器MPLS VPN綜合實驗

公網(wǎng)部分完成

二、客戶A的MPLS VPN

1. 創(chuàng)建VRF空間

[r2]ip vpn-instance a1
[r2-vpn-instance-a1]route-distinguisher 100:1
[r2-vpn-instance-a1-af-ipv4]vpn-target 100:1 both 
 IVT Assignment result: 
Info: VPN-Target assignment is successful.
 EVT Assignment result: 
Info: VPN-Target assignment is successful.
[r4]ip vpn-instance a2
[r4-vpn-instance-a2]route-distinguisher 100:1
[r4-vpn-instance-a2-af-ipv4]vpn-target 100:1 both 
 IVT Assignment result: 
Info: VPN-Target assignment is successful.
 EVT Assignment result: 
Info: VPN-Target assignment is successful.

2. 劃分接口到VRF并配置IP地址

[r2]interface g0/0/0
[r2-GigabitEthernet0/0/0]ip binding vpn-instance a1
Info: All IPv4 related configurations on this interface are removed!
Info: All IPv6 related configurations on this interface are removed!
[r2-GigabitEthernet0/0/0]ip address 192.168.2.2 24
[r4]interface g0/0/1
[r4-GigabitEthernet0/0/1]ip binding vpn-instance a2
Info: All IPv4 related configurations on this interface are removed!
Info: All IPv6 related configurations on this interface are removed!
[r4-GigabitEthernet0/0/1]ip address 192.168.3.1 24

3. 客戶A私網(wǎng)配置IP地址并使用靜態(tài)方式傳遞路由

[r1]int g0/0/0
[r1-GigabitEthernet0/0/0]ip address 192.168.2.1 24
[r1]int LoopBack 0
[r1-LoopBack0]ip address 192.168.1.1 24
[r1]ip route-static 192.168.3.0 24 192.168.2.2
[r1]ip route-static 192.168.4.0 24 192.168.2.2
[r2]ip route-static vpn-instance a1 192.168.1.0 24 192.168.2.1
[r5]int g0/0/0
[r5-GigabitEthernet0/0/0]ip address 192.168.3.2 24
[r5]interface LoopBack 0
[r5-LoopBack0]ip address 192.168.4.1 24
[r5]ip route-static 192.168.1.0 24 192.168.3.1
[r5]ip route-static 192.168.2.0 24 192.168.3.1
[r4]ip route-static vpn-instance a2 192.168.4.0 24 192.168.3.2

4. 配置MP-BGP并發(fā)布路由

[r2]bgp 1
[r2-bgp]ipv4-family vpnv4
[r2-bgp-af-vpnv4]peer 4.4.4.4 enable
[r2-bgp-af-vpnv4]q
[r2-bgp]ipv4-family vpn-instance a1
[r2-bgp-a1]network 192.168.1.0 24
[r2-bgp-a1]network 192.168.2.0 24
[r4]bgp 1
[r4-bgp]ipv4-family vpnv4
[r4-bgp-af-vpnv4]peer 2.2.2.2 enable 
[r4-bgp-af-vpnv4]q
[r4-bgp]ipv4-family vpn-instance a2
[r4-bgp-a2]network 192.168.3.0 24
[r4-bgp-a2]network 192.168.4.0 24

華為路由器MPLS VPN綜合實驗

華為路由器MPLS VPN綜合實驗

華為路由器MPLS VPN綜合實驗

?客戶A的MPLS VPN私網(wǎng)完成

三、客戶B的MPLS VPN

1. 創(chuàng)建VRF空間

[r2]ip vpn-instance b1
[r2-vpn-instance-b1]route-distinguisher 200:1
[r2-vpn-instance-b1-af-ipv4]vpn-target 200:1 b
 IVT Assignment result: 
Info: VPN-Target assignment is successful.
 EVT Assignment result: 
Info: VPN-Target assignment is successful.
[r4]ip vpn-instance b2
[r4-vpn-instance-b2]route-distinguisher 200:1
[r4-vpn-instance-b2-af-ipv4]vpn-target 200:1 b	
[r4-vpn-instance-b2-af-ipv4]vpn-target 200:1 both 
 IVT Assignment result: 
Info: VPN-Target assignment is successful.
 EVT Assignment result: 
Info: VPN-Target assignment is successful.

2. 劃分接口到VRF并配置IP地址

[r2]interface g0/0/1
[r2-GigabitEthernet0/0/1]ip binding vpn-instance b1
Info: All IPv4 related configurations on this interface are removed!
Info: All IPv6 related configurations on this interface are removed!
[r2-GigabitEthernet0/0/1]ip address 172.10.2.2 24
[r4]interface g0/0/2
[r4-GigabitEthernet0/0/2]ip binding vpn-instance b2
Info: All IPv4 related configurations on this interface are removed!
Info: All IPv6 related configurations on this interface are removed!
[r4-GigabitEthernet0/0/2]ip address 172.10.3.1 24

3. 客戶B私網(wǎng)配置IP地址并使用動態(tài)方式傳遞路由

[r6]int g0/0/0
[r6-GigabitEthernet0/0/0]ip address 172.10.2.1 24
[r6]int LoopBack 0
[r6-LoopBack0]ip address 172.10.1.1 24
[r6]rip 1
[r6-rip-1]v 2
[r6-rip-1]network 172.10.0.0
[r2]rip 1 vpn-instance b1
[r2-rip-1]v 2
[r2-rip-1]network 172.10.0.0
[r7]interface g0/0/0
[r7-GigabitEthernet0/0/0]ip address 172.10.3.2 24
[r7]int LoopBack 0
[r7-LoopBack0]ip address 172.10.4.1 24
[r7]ospf 2 router-id 7.7.7.7
[r7-ospf-2]a 0
[r7-ospf-2-area-0.0.0.0]network 172.10.3.0 0.0.0.255
[r7-ospf-2-area-0.0.0.0]network 172.10.4.1 0.0.0.0
[r4]ospf 2 vpn-instance b2 router-id 4.4.4.4
[r4-ospf-2]a 0
[r4-ospf-2-area-0.0.0.0]network 172.10.3.0 0.0.0.255

4. 配置MP-BGP并雙向重發(fā)布路由

[r2]bgp 1
[r2-bgp]ipv4-family vpn-instance b1
[r2-bgp-b1]import-route rip 1

[r2]rip 1
[r2-rip-1]import-route bgp
[r4]bgp 1
[r4-bgp]ipv4-family vpn-instance b2
[r4-bgp-b2]import-route ospf 2

[r4]ospf 2 vpn-instance b2
[r4-ospf-2]import-route bgp

華為路由器MPLS VPN綜合實驗

華為路由器MPLS VPN綜合實驗

華為路由器MPLS VPN綜合實驗

?客戶B的MPLS VPN私網(wǎng)完成

四、配置R7缺省指向公網(wǎng)

[r7]ip route-static 0.0.0.0 0 47.0.0.1

華為路由器MPLS VPN綜合實驗

至此,實驗全部完成!?文章來源地址http://www.zghlxwxcb.cn/news/detail-501544.html

到了這里,關(guān)于華為路由器MPLS VPN綜合實驗的文章就介紹完了。如果您還想了解更多內(nèi)容,請在右上角搜索TOY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!

本文來自互聯(lián)網(wǎng)用戶投稿,該文觀點僅代表作者本人,不代表本站立場。本站僅提供信息存儲空間服務(wù),不擁有所有權(quán),不承擔(dān)相關(guān)法律責(zé)任。如若轉(zhuǎn)載,請注明出處: 如若內(nèi)容造成侵權(quán)/違法違規(guī)/事實不符,請點擊違法舉報進(jìn)行投訴反饋,一經(jīng)查實,立即刪除!

領(lǐng)支付寶紅包贊助服務(wù)器費用

相關(guān)文章

  • 三層交換機(jī)/路由器OSPF配置詳解【華為eNSP實驗】

    三層交換機(jī)/路由器OSPF配置詳解【華為eNSP實驗】

    下文下載或文章頂部資源綁定處下載。 https://download.csdn.net/download/weixin_52908342/88526847 之前我們已經(jīng)成功配置了VRRP+MSTP在三層交換機(jī)與路由器之間的使用。 現(xiàn)在我們來記錄一下三層交換機(jī)/路由器OSPF配置詳解。 需求如下: 5.公司網(wǎng)絡(luò)需要在兩臺匯聚層交換機(jī)和一臺核心路由器

    2024年02月02日
    瀏覽(27)
  • 銳捷RSR系列路由器—VPN功能—GRE 功能配置

    銳捷RSR系列路由器—VPN功能—GRE 功能配置

    目錄 功能介紹 應(yīng)用場景 一、組網(wǎng)需求 二、組網(wǎng)拓?fù)?三、配置要點 四、配置步驟 五、配置驗證 ? GRE(Generic Routing Encapsulation,通用路由封裝)協(xié)議是對某些網(wǎng)絡(luò)層協(xié)議(如IP 和IPX)的數(shù)據(jù)報文進(jìn)行封裝,使這些被封裝的數(shù)據(jù)報文能夠在另一個網(wǎng)絡(luò)層協(xié)議(如IP)中傳輸。

    2024年02月04日
    瀏覽(22)
  • 【華為】MPLS及MPLS VPN概念

    設(shè)計初衷 多協(xié)議指的是在IPV4,IPV6,IPX等網(wǎng)絡(luò)環(huán)境中都可以使用,并且它不對底層物理介質(zhì),數(shù)據(jù)鏈路層介質(zhì),以及上層所使用的協(xié)議棧有要求。 MPLS是工作在 數(shù)據(jù)層面的交換技術(shù) ,也可以理解為是一種轉(zhuǎn)發(fā)技術(shù)。 MPLS是多協(xié)議 標(biāo)簽 交換,所以重點是標(biāo)簽Label中。就它是怎么

    2024年02月10日
    瀏覽(55)
  • 靈科路由器的綜合故障解讀

    ? ? 一、接口MTU值相同,但無法建立IS-IS鄰居。 兩端接口MTU值相同的情況下,MTU值還需滿足大于lsp-length originate配置的max-size值和小于lsp-length receive配置的max-size值兩個條件,接口MTU狀態(tài)才能UP。與此同時,還需在接口上使能IS-IS并配置有效IP地址,接口狀態(tài)才能UP,否則IS-IS報文

    2024年02月05日
    瀏覽(18)
  • 華為榮耀路由器多少錢 華為榮耀路由器價格介紹

    剛才為大家介紹了華為榮耀路由器配置功能,現(xiàn)在繼續(xù)為大家介紹華為榮耀路由器售價。感興趣的朋友可以看看,下面就和小編一起去了解下吧。 華為榮耀路由器怎么樣?華為榮耀路由配置功能詳細(xì)介紹 就在剛剛,榮耀公布X2售價之后,還帶來一款全新的產(chǎn)品,沒錯就是路由

    2024年02月08日
    瀏覽(29)
  • 華為榮耀路由器怎么樣 華為榮耀路由器使用評測視頻

    華為除了開賣榮耀x2之外,榮耀路由器也登場了哈。下面小編為大家分享了華為榮耀路由器評測視頻,小伙伴們看過來撒。 華為榮耀路由器怎么樣?華為榮耀路由配置功能詳細(xì)介紹 這款榮耀路由器售價188元,內(nèi)置雙天線設(shè)計(雙頻2.4G/5G),機(jī)身體積為90×90×90mm,搭載了華為麒麟

    2024年02月08日
    瀏覽(21)
  • 華為路由器 靜態(tài)路由

    華為路由器 靜態(tài)路由

    需求: ? ? ? ? 實現(xiàn)?PC1?與?PC2?互通? 1、拓?fù)鋱D 主機(jī) IP 掩碼 網(wǎng)關(guān) PC1 192.168.10.10 255.255.255.0 192.168.10.1 PC2 192.168.40.40 255.255.255.0 192.168.40.1 PC3 192.168.30.30 255.255.255.0 192.168.30.1 2、R1?路由器 3、R2?路由器 4、我們首先查看?2個路由器 路由表信息 (1)R1路由器 找到2個直連路由信息

    2024年02月09日
    瀏覽(26)
  • NAT 地址轉(zhuǎn)換路由器配置命令(華為路由器)

    NAT 地址轉(zhuǎn)換路由器配置命令(華為路由器)

    ? #AR1路由器配置 # acl 2000 ? ?rule permit source any # interface GigabitEthernet0/0/1 ?nat outbound 2000 ?ip address 1.1.1.1 24 # interface GigabitEthernet0/0/0 ?ip address 172.16.1.1 255.255.255.0? # ip route-static 0.0.0.0 0.0.0.0 1.1.1.2 ip route-static 192.168.10.0 255.255.255.0 172.16.1.2 ip route-static 192.168.20.0 255.255.255.0 172.16.1.

    2024年02月17日
    瀏覽(32)
  • 小米路由器華為路由器 怎么才能選擇一款合適的智能路由器?

    近兩年,具有智能概念的路由器風(fēng)生水起,從互聯(lián)網(wǎng)巨頭到初創(chuàng)公司均涉足到智能路由器的研發(fā)。什么樣的路由器才算是智能路由?度娘到的資料有些雜亂,但基本的共同點是只要路由器能夠支持安裝插件擴(kuò)展路由功能、提供移動設(shè)備端App進(jìn)行管理的路由器均可稱為智能路由

    2024年02月08日
    瀏覽(30)
  • 華為WS331a路由器怎么樣 華為WS331a迷你路由器評測

    前不久華為推出一款智能便攜式WS331a迷你路由器,該路由器具有華為獨有專利的無線安全鎖功能,無需密碼即可安全智能連接無線網(wǎng)絡(luò),加之屬于迷你路由器,方便攜帶。那么這款關(guān)注度頗高的華為WS331a怎么樣?又有哪些亮點呢,以下百事網(wǎng)小編為大家解析下。 華為WS331a怎么

    2024年02月06日
    瀏覽(27)

覺得文章有用就打賞一下文章作者

支付寶掃一掃打賞

博客贊助

微信掃一掃打賞

請作者喝杯咖啡吧~博客贊助

支付寶掃一掃領(lǐng)取紅包,優(yōu)惠每天領(lǐng)

二維碼1

領(lǐng)取紅包

二維碼2

領(lǐng)紅包