VMware NSX pou timoun piti yo. Pati 4. Mete kanpe routage

VMware NSX pou timoun piti yo. Pati 4. Mete kanpe routage

Premye pati. entwodiksyon
Pati de. Konfigirasyon Firewall ak Règ NAT
Twazyèm pati. Konfigirasyon DHCP

NSX Edge sipòte routage estatik ak dinamik (ospf, bgp).

Premye konfigirasyon
Routage estatik
OSPF
BGP
Redistribisyon wout


Pou konfigirasyon routage, nan vCloud Director, ale nan Administrasyon epi klike sou sant done vityèl. Chwazi yon tab nan meni orizontal la Edge Gateways. Dwa-klike sou rezo a vle epi chwazi opsyon an Sèvis Gateway Edge.
VMware NSX pou timoun piti yo. Pati 4. Mete kanpe routage

Ale nan meni an routage.
VMware NSX pou timoun piti yo. Pati 4. Mete kanpe routage

Premye konfigirasyon (konfigirasyon routage)

Nan kontribisyon sa a ou kapab:
— aktive paramèt ECMP, ki pèmèt ou enstale jiska 8 wout ekivalan nan RIB la.
VMware NSX pou timoun piti yo. Pati 4. Mete kanpe routage

— chanje oswa enfim wout default.
VMware NSX pou timoun piti yo. Pati 4. Mete kanpe routage

- chwazi Routeur-ID. Ou ka chwazi adrès koòdone ekstèn lan kòm Routeur-ID. San yo pa espesifye Router-ID la, pwosesis OSPF oswa BGP pa ka kòmanse.
VMware NSX pou timoun piti yo. Pati 4. Mete kanpe routage

Oswa ajoute pa w la lè w klike sou +.
VMware NSX pou timoun piti yo. Pati 4. Mete kanpe routage
VMware NSX pou timoun piti yo. Pati 4. Mete kanpe routage

Sove konfigirasyon an.
VMware NSX pou timoun piti yo. Pati 4. Mete kanpe routage

Fè.
VMware NSX pou timoun piti yo. Pati 4. Mete kanpe routage

Mete kanpe routage estatik

Ale nan tab la routage estatik epi klike sou +.
VMware NSX pou timoun piti yo. Pati 4. Mete kanpe routage

Pou ajoute yon wout estatik, ranpli jaden obligatwa sa yo:
— Rezo — rezo destinasyon;
— Next Hop – adrès IP lame/routeur kote trafik ap pase nan rezo destinasyon an;
— Entèfas – koòdone dèyè kote Next Hop vle a sitiye.
Klike sou Kenbe.
VMware NSX pou timoun piti yo. Pati 4. Mete kanpe routage

Sove konfigirasyon an.
VMware NSX pou timoun piti yo. Pati 4. Mete kanpe routage

Fè.
VMware NSX pou timoun piti yo. Pati 4. Mete kanpe routage

Mete kanpe OSPF

Ale nan tab OSPF la. Pèmèt pwosesis OSPF la.
Si sa nesesè, enfim Graceful rekòmanse, ki se aktive pa default. Graceful rekòmanse se yon pwotokòl ki pèmèt ou kontinye voye trafik pandan pwosesis la nan dirèksyon avyon kontwòl.
Isit la ou ka aktive anons la nan wout la default, si li se nan RIB la - opsyon ki soti nan default.
VMware NSX pou timoun piti yo. Pati 4. Mete kanpe routage

Apre sa, nou ajoute Zòn. Yo ajoute Zòn 0 pa default. NSX Edge sipòte 3 kalite Zòn:
- Zòn zo rèl do (zòn 0 + Nòmal);
— Zòn estanda (Nòmal);
- Zòn ki pa tèlman boudi (NSSA).

Klike sou + nan jaden Definisyon Zòn pou ajoute yon nouvo Zòn.
VMware NSX pou timoun piti yo. Pati 4. Mete kanpe routage

Nan fennèt la ki parèt, endike jaden obligatwa sa yo:
- ID Zòn;
- Kalite zòn.
VMware NSX pou timoun piti yo. Pati 4. Mete kanpe routage

Si sa nesesè, konfigirasyon otantifikasyon. NSX Edge sipòte de kalite otantifikasyon: tèks klè (modpas) ak MD5.
VMware NSX pou timoun piti yo. Pati 4. Mete kanpe routage

Klike sou Kenbe.
VMware NSX pou timoun piti yo. Pati 4. Mete kanpe routage

Sove konfigirasyon an.
VMware NSX pou timoun piti yo. Pati 4. Mete kanpe routage

Koulye a, ajoute interfaces sou ki OSPF vwazen an pral leve soti vivan. Pou fè sa, klike sou + nan jaden an Interface Mapping.
VMware NSX pou timoun piti yo. Pati 4. Mete kanpe routage

Nan fenèt la ki parèt, presize paramèt sa yo:
— Entèfas – koòdone ki pral itilize nan pwosesis OSPF la;
- ID Zòn;
— Alo/Mouri entèval - pwotokòl timers;
— Priyorite – priyorite obligatwa pou chwazi DR/BDR;
— Pri se yon metrik ki nesesè pou kalkile pi bon chemen an. Klike sou Kenbe.
VMware NSX pou timoun piti yo. Pati 4. Mete kanpe routage

VMware NSX pou timoun piti yo. Pati 4. Mete kanpe routage

Ann ajoute yon Zòn NSSA nan routeur nou an.
VMware NSX pou timoun piti yo. Pati 4. Mete kanpe routage

VMware NSX pou timoun piti yo. Pati 4. Mete kanpe routage

Sove konfigirasyon an.
VMware NSX pou timoun piti yo. Pati 4. Mete kanpe routage

Nan Ekran ki anba a nou wè:
1. etabli sesyon;
2. etabli wout nan RIB.

VMware NSX pou timoun piti yo. Pati 4. Mete kanpe routage

Mete kanpe BGP

Ale nan tab la BGP.
VMware NSX pou timoun piti yo. Pati 4. Mete kanpe routage

Pèmèt pwosesis BGP la.
Si sa nesesè, enfim Graceful rekòmanse, ki se aktive pa default. Isit la ou ka aktive anons la nan wout la default, menm si li pa nan RIB la - opsyon nan Default Originate.
Nou endike AS nan NSX Edge nou an. Sipò AS 4-byte disponib sèlman nan NSX 6.3
VMware NSX pou timoun piti yo. Pati 4. Mete kanpe routage

Pou ajoute yon parèy Neighbours, klike sou +.
VMware NSX pou timoun piti yo. Pati 4. Mete kanpe routage

Nan fenèt la ki parèt, presize paramèt sa yo:
— Adrès IP—BGP adrès parèy;
— Remote AS—AS nimewo nan kanmarad BGP la;
— Pwa – yon metrik ak ki ou ka jere trafik sortan;
— Kenbe Alive/Kenbe Tan - revèy pwotokòl.
VMware NSX pou timoun piti yo. Pati 4. Mete kanpe routage

Apre sa, an n configure BGP Filtres. Pou yon sesyon eBGP, pa default, tout prefiks pibliye ak resevwa sou routeur sa a yo filtre, eksepte wout default la. Li fè piblisite lè l sèvi avèk opsyon nan orijin default.
Klike sou + pou ajoute yon filtè BGP.
VMware NSX pou timoun piti yo. Pati 4. Mete kanpe routage

Mete kanpe yon filtè pou mizajou sortan yo.
VMware NSX pou timoun piti yo. Pati 4. Mete kanpe routage

Mete kanpe yon filtè pou mizajou k ap vini yo.
VMware NSX pou timoun piti yo. Pati 4. Mete kanpe routage

Klike sou Kenbe pou konplete konfigirasyon an.
VMware NSX pou timoun piti yo. Pati 4. Mete kanpe routage

Sove konfigirasyon an.
VMware NSX pou timoun piti yo. Pati 4. Mete kanpe routage

Fè.
VMware NSX pou timoun piti yo. Pati 4. Mete kanpe routage

Nan Ekran ki anba a nou wè:
1. etabli sesyon.
2. resevwa prefiks (4 prefiks /24) nan men parèy BGP la.
3. defo wout anonsman. Prefiks 172.20.0.0/24 la pa pibliye paske li pa ajoute nan BGP.
VMware NSX pou timoun piti yo. Pati 4. Mete kanpe routage

Mete kanpe redistribisyon wout

Ale nan tab Redistribisyon wout la.
VMware NSX pou timoun piti yo. Pati 4. Mete kanpe routage

Pèmèt enpòte wout pou pwotokòl la (BGP oswa OSPF).
VMware NSX pou timoun piti yo. Pati 4. Mete kanpe routage

Pou ajoute yon prefiks IP, klike sou +.
VMware NSX pou timoun piti yo. Pati 4. Mete kanpe routage

Espesifye non prefiks IP ak prefiks li menm.
VMware NSX pou timoun piti yo. Pati 4. Mete kanpe routage

VMware NSX pou timoun piti yo. Pati 4. Mete kanpe routage

Ann konfigirasyon tab distribisyon wout la. Klike sou +.
VMware NSX pou timoun piti yo. Pati 4. Mete kanpe routage

— Non prefiks — chwazi prefiks ki pral enpòte nan pwotokòl ki koresponn lan.
— Learner Protocol — pwotokòl kote nou pral enpòte prefiks la;
— Pèmèt aprann — pwotokòl ki soti nan ki nou ekspòte prefiks la;
— Aksyon — aksyon ki pral aplike nan prefiks sa a.
VMware NSX pou timoun piti yo. Pati 4. Mete kanpe routage

Sove konfigirasyon an.
VMware NSX pou timoun piti yo. Pati 4. Mete kanpe routage

Fè.
VMware NSX pou timoun piti yo. Pati 4. Mete kanpe routage

Ekran ki anba a montre ke yon anons ki koresponn parèt nan BGP.
VMware NSX pou timoun piti yo. Pati 4. Mete kanpe routage

Sa a tout pou mwen sou routage lè l sèvi avèk NSX Edge. Mande si gen anyen ki pa klè. Pwochenn fwa nou pral fè fas ak balans lan.

Sous: www.habr.com

Add nouvo kòmantè