bgronin Posted June 6, 2012 Report Share Posted June 6, 2012 Опитвам се да ползвам RB750,RB750GL,RB450G като MPLS-PE рутер. OSPF- a работи, loopbecite се разнасят коректно, BGP(MP-BGP) то работи, както и пакет farwording-a Създавам нов vrf instance, но не виждам възможност да добавя допълнително интерфейси във вече създаденият vrf instance ================================================================ /ip route vrf add disabled=no routing-mark=vpn-1 route-distinguisher=1:1 \ export-route-targets=1:1 import-route-targets=1:1 interfaces=ether3 ================================================================ /ip route vrf add disabled=no routing-mark=vpn-1 route-distinguisher=1:1 \ export-route-targets=1:1 import-route-targets=1:1 interfaces=ether2 Единственета възможност която виждам е да за всеки допълнителен интерфейс да създавам допълнителен vrf инстанс като дублирам RT-ta(през route leaking) да се виждат по между си. Някой може ли да удари едно рамо. 1 Link to comment Share on other sites More sharing options...
NetworkPro Posted June 6, 2012 Report Share Posted June 6, 2012 http://wiki.mikrotik.com/wiki/Manual:Virtual_Routing_and_Forwarding#PE2_Mikrotik_config ? https://wiki.mikrotik.com/wiki/NetworkPro_on_Quality_of_Service (archive) Link to comment Share on other sites More sharing options...
bgronin Posted June 6, 2012 Author Report Share Posted June 6, 2012 Не мога да разбера от къде произлиза невъзможноста да добавя допълнителен интерфеис във текущия vrf, от ограничение на хардуера, на софтуера. Необходимо ли е наистина да пачвам рутера при положение, че в момента на пръв поглед няма други проблеми и всичко работи нормално? Link to comment Share on other sites More sharing options...
Administrator 111111 Posted June 6, 2012 Administrator Report Share Posted June 6, 2012 Версия на софтуера и ниво на лиценза спомени. Харесай поста ^^^ Форумът е за взаимопомощ а не за свършване на чужда работа ɹɐǝɥ uɐɔ noʎ ǝɹoɯ ǝɥʇ 'ǝɯoɔǝq noʎ ɹǝʇǝınb ǝɥʇ Link to comment Share on other sites More sharing options...
bgronin Posted June 7, 2012 Author Report Share Posted June 7, 2012 RB750 ver 5.9 Level 4 Link to comment Share on other sites More sharing options...
Administrator 111111 Posted June 7, 2012 Administrator Report Share Posted June 7, 2012 актуалната версия е 5,17 Харесай поста ^^^ Форумът е за взаимопомощ а не за свършване на чужда работа ɹɐǝɥ uɐɔ noʎ ǝɹoɯ ǝɥʇ 'ǝɯoɔǝq noʎ ɹǝʇǝınb ǝɥʇ Link to comment Share on other sites More sharing options...
bgronin Posted June 8, 2012 Author Report Share Posted June 8, 2012 Версията е упдейтната до 5.17, нокато цяло резултата е същият. [admin@MikroTik] > interface vlan add vlan-id=10 interface=ether2 disabled=no name=vpn-1-1 [admin@MikroTik] > interface vlan add vlan-id=20 interface=ether2 disabled=no name=vpn-1-2 [admin@MikroTik] > ip route vrf add routing-mark=vpn-1 route-distinguisher=1:1 import-route-targets=1:1 export-route-targets=1:1 disabled=no interfaces=vpn-1-1 [admin@MikroTik] > ip route vrf add routing-mark=vpn-1 route-distinguisher=1:1 import-route-targets=1:1 export-route-targets=1:1 disabled=no interfaces=vpn-1-2 failure: there already exists vrf with this routing mark [admin@MikroTik] > [admin@MikroTik] > ip route vrf add routing-mark=vpn-1 interfaces=vpn-1-2 failure: there already exists vrf with this routing mark Имаш ли такъв работещ сетуп при теб? Link to comment Share on other sites More sharing options...
pavlan Posted June 8, 2012 Report Share Posted June 8, 2012 (edited) /ip route vrf add routing-mark=vpn-1 route-distinguisher=1:1 import-route-targets=1:1 export-route-targets=1:1 disabled=no interfaces=vpn-1-1,vpn-1-2 Виж така Error-a е достатъчно ясен " failure: there already exists vrf with this routing mark " [admin@vpn] /ip route vrf> add disabled=yes routing-mark=2 [admin@vpn] /ip route vrf> print Flags: X - disabled, I - inactive 0 X routing-mark=2 interfaces="" [admin@vpn] /ip route vrf> set 0 interfaces=bridge1,ether3-WAN [admin@vpn] /ip route vrf> print detail Flags: X - disabled, I - inactive 0 X routing-mark=2 interfaces=bridge1,ether3-WAN [admin@vpn] /ip route vrf> Edited June 8, 2012 by pavlan Link to comment Share on other sites More sharing options...
bgronin Posted June 12, 2012 Author Report Share Posted June 12, 2012 Благодаря за помоща. Така стана. Никога не бих се сетил. ======================================================= [admin@MikroTik] > ip route vrf print Flags: X - disabled, I - inactive 0 routing-mark=vpn-1 interfaces=vpn-1-1 route-distinguisher=1:1 import-route-targets=1:1 export-route-targets=1:1 [admin@MikroTik] > int print Flags: D - dynamic, X - disabled, R - running, S - slave # NAME TYPE MTU L2MTU MAX-L2MTU 0 ether1-gateway ether 1500 1600 4076 1 ether2-master-local ether 1500 1598 2028 2 ether3-slave-local ether 1500 1598 2028 3 ether4-slave-local ether 1500 1598 2028 4 R ether5-slave-local ether 1500 1598 2028 5 R ppp-out1 ppp-out 6 X ppp-out2 ppp-out 7 vpn-1-1 vlan 1500 1594 8 vpn-1-2 vlan 1500 1594 [admin@MikroTik] /ip route vrf> set 0 interfaces=vpn-1-2,ether3 [admin@MikroTik] /ip route vrf> print Flags: X - disabled, I - inactive 0 routing-mark=vpn-1 interfaces=vpn-1-2,ether3-slave-local route-distinguisher=1:1 import-route-targets=1:1 export-route-targets=1:1 ==================================================================================================================== Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now