לא מצליח - vrf over BGP ? - טכנולוגיית מידע - IT - HWzone פורומים
עבור לתוכן
  • צור חשבון

לא מצליח - vrf over BGP ?


digitalseeker

Recommended Posts

אהלן,

יצרתי מעין "CORE" של כמה נתבים בGNS - המטרה כמובן לתירגול.

עכשיו אני מעוניין להשתמש בVRF.

נעזרתי בפקודות מפה -

http://www.hilltelecom.co.uk/9851422501.htm

הגדרתי VRF בין שני נתבים עם אותו RT וכמובן עם RD שונה.

הIBGP הרגיל עובד ביניהם - אבל הVRF לא לומד את הניתוב אחד מהשני.

ניסיתי גם את הפקודות תחת הBGP שמציע הלינק - אך בכל זאת כאשר אני בודק את הניתוב של הVRF אני רואה שהוא לא לומד מהשכן שהוא חלק מהCORE.

כמובן יש לציין שהחיבור בין שני נתבי הוא ישיר ולא עובר דרך VRF ואני רוצה שהם ידעו לצאת דרך הראשי כדי להגיע לVRF - הכיצד ?

קישור לתוכן
שתף באתרים אחרים

Batnun - צודק לא חשבתי על זה

בכל אופן - לאחר התעמקות בנושא פתרתי את הבעיה ואני שמח כמובן גם לשתף בפיתרון.

יש שני נקודות שגרמו לבעיה ובאשמתי :

  • אני נעזרתי בIBGP בשביל ההפצות פנים וזה לא נכון , יש צורך להשתמש בIGP אחר למשל OSPF שבו השתמשתי לפיתרון
  • הדבר השני שחשוב זה שתי פקודות שלא ידעתי על קיומן עד לא מזמן שאחראיות על הפצת הRT בין הנתבים:



router bgp <as>
address-family vpn4
neighbor x.x.x.x activate
neighbor x.x.x.x send-community extended

להלן צירוף הRUNNING CONFIG של אחד הנתבים:

R2#sh run

Building configuration...

Current configuration : 1782 bytes

!

version 12.4

service timestamps debug datetime msec

service timestamps log datetime msec

no service password-encryption

!

hostname R2

!

boot-start-marker

boot-end-marker

!

!

no aaa new-model

!

resource policy

!

ip subnet-zero

!

!

ip cef

no ip domain lookup

no ip dhcp use vrf connected

!

!

ip vrf test

rd 10:2

route-target export 10:10

route-target import 10:10

!

!

!

!

!

!

!

!

!

!

!

!

!

!

!

!

!

!

!

!

!

interface Loopback0

ip address 22.22.22.22 255.255.255.255

!

interface Ethernet0/0

no ip address

shutdown

duplex auto

!

interface GigabitEthernet0/0

no ip address

duplex full

speed 1000

media-type gbic

negotiation auto

!

interface GigabitEthernet0/0.555

description toR1

encapsulation dot1Q 555

ip address 172.23.1.2 255.255.255.252

ip ospf 1 area 0

no snmp trap link-status

!

interface FastEthernet1/0

no ip address

duplex auto

speed auto

!

interface FastEthernet1/0.222

description toR5

encapsulation dot1Q 222

no snmp trap link-status

!

interface FastEthernet1/1

no ip address

shutdown

duplex auto

speed auto

!

router ospf 1

log-adjacency-changes

network 22.22.22.22 0.0.0.0 area 0

!

router bgp 6810

no synchronization

bgp log-neighbor-changes

neighbor 11.11.11.11 remote-as 6810

neighbor 11.11.11.11 update-source Loopback0

neighbor 11.11.11.11 next-hop-self

neighbor 11.11.11.11 soft-reconfiguration inbound

no auto-summary

!

address-family vpnv4

neighbor 11.11.11.11 activate

neighbor 11.11.11.11 send-community extended

exit-address-family

!

address-family ipv4 vrf test

no auto-summary

no synchronization

exit-address-family

!

ip classless

!

no ip http server

no ip http secure-server

!

!

!

!

!

control-plane

!

!

!

!

!

!

gatekeeper

shutdown

!

!

line con 0

stopbits 1

line aux 0

stopbits 1

line vty 0 4

login

!

!

end

קישור לתוכן
שתף באתרים אחרים

ארכיון

דיון זה הועבר לארכיון ולא ניתן להוסיף בו תגובות חדשות.

×
  • צור חדש...