CCIE LAB IN GNS3

سلام به  همه دوستان  

مدتی  هست دارم  روی  MPLS  کار میکنم  و  توی  نت  در این  رابطه LAB  خیلی  زیاد  نیست  واسه  همین  تصمیم گرفتم که  این تاپیک رو بزنم  و  سناریوهایی  رو که با GNS3   کار  میکنم  رو  اینجا  میذارم   خوشحال میشم که  دوستان دیگه هم در این راه کمک  کنند و اگه سناریو  بدربخوری  دارند  اینجا بذارن  که بقیه هم استفاده کنن 

البته بنده با توجه به سواد کمم ادعای  CCIE  رو  ندارم و فقط چون  سطح مطالب  بالاتر از  بقیه بخش ها ست جایی بهتر از این برای پست زدن پیدا نکردم ...


سناریو  اول  



[IMG]http://s3.picofile.com/file/8101412600/MPLS.jpg[/IMG]


           





[QUOTE][LEFT]

A1:

nterface Loopback0

 ip address 192.168.1.1 255.255.255.0


interface Serial1/0

 ip address 172.16.1.2 255.255.255.252



ip route 0.0.0.0 0.0.0.0 Serial1/0

[/LEFT][/QUOTE]


[QUOTE][LEFT]

B1:


!

interface Loopback0

 ip address 192.168.1.1 255.255.255.0


interface Serial1/0

 ip address 172.16.2.2 255.255.255.252


ip route 0.0.0.0 0.0.0.0 Serial1/0

[/LEFT][/QUOTE]


[QUOTE][LEFT]

A2:



interface Loopback0

 ip address 192.168.2.1 255.255.255.0


interface Serial1/0

 ip address 172.16.3.2 255.255.255.252


ip route 0.0.0.0 0.0.0.0 Serial1/0

[/LEFT][/QUOTE]

[QUOTE][LEFT]

B2:



interface Loopback0

 ip address 192.168.2.1 255.255.255.0


interface Serial1/0

 ip address 172.16.4.2 255.255.255.252


ip route 0.0.0.0 0.0.0.0 Serial1/0

[/LEFT][/QUOTE]


[QUOTE][LEFT]

PE1:



ip vrf A

 rd 1:100

 route-target export 1:1000

 route-target import 1:1000


ip vrf B

 rd 1:101

 route-target export 1:1001

 route-target import 1:1001



mpls label protocol ldp


interface Loopback0

 ip address 10.10.10.1 255.255.255.255


interface Serial1/0

 ip vrf forwarding B

 ip address 172.16.2.1 255.255.255.252



interface Serial1/1

 ip address 10.1.1.2 255.255.255.252

 mpls ip




interface Serial1/2

 ip vrf forwarding A

 ip address 172.16.1.1 255.255.255.252



router ospf 1

 network 10.0.0.0 0.255.255.255 area 0



router bgp 1


 neighbor 10.10.10.2 remote-as 1

 neighbor 10.10.10.2 update-source Loopback0

 no auto-summary



 address-family vpnv4

 neighbor 10.10.10.2 activate

 neighbor 10.10.10.2 send-community both

 neighbor 10.10.10.2 next-hop-self


 

 address-family ipv4 vrf B

 redistribute connected

 redistribute static

 

 address-family ipv4 vrf A

 redistribute connected

 redistribute static



ip route vrf A 192.168.1.0 255.255.255.0 Serial1/2

ip route vrf B 192.168.1.0 255.255.255.0 Serial1/0



mpls ldp router-id Loopback0

!

[/LEFT][/QUOTE]

[QUOTE][LEFT]P:




mpls label protocol ldp


interface Loopback0

 ip address 10.10.10.10 255.255.255.255



interface Serial1/0

 ip address 10.1.1.1 255.255.255.252

 mpls ip


interface Serial1/1

 ip address 10.1.2.1 255.255.255.252

 mpls ip



router ospf 1


 network 10.0.0.0 0.255.255.255 area 0




mpls ldp router-id Loopback0

![/LEFT][/QUOTE]


[QUOTE][LEFT]PE2:



ip vrf A

 rd 1:100

 route-target export 1:1000

 route-target import 1:1000


ip vrf B

 rd 1:101

 route-target export 1:1001

 route-target import 1:1001




mpls label protocol ldp



interface Loopback0

 ip address 10.10.10.2 255.255.255.255


interface Serial1/0

 ip address 10.1.2.2 255.255.255.252

 mpls ip

 

interface Serial1/1

 ip vrf forwarding A

 ip address 172.16.3.1 255.255.255.252


interface Serial1/2

 ip vrf forwarding B

 ip address 172.16.4.1 255.255.255.252



router ospf 1


 network 10.0.0.0 0.255.255.255 area 0


router bgp 1


 neighbor 10.10.10.1 remote-as 1

 neighbor 10.10.10.1 update-source Loopback0

 no auto-summary

 

 address-family vpnv4

 neighbor 10.10.10.1 activate

 neighbor 10.10.10.1 send-community both

 neighbor 10.10.10.1 next-hop-self



 address-family ipv4 vrf B

 redistribute connected

 redistribute static

 

 address-family ipv4 vrf A

 redistribute connected

 redistribute static



ip route vrf A 192.168.2.0 255.255.255.0 Serial1/1

ip route vrf B 192.168.2.0 255.255.255.0 Serial1/2



mpls ldp router-id Loopback0

[/LEFT][/QUOTE]!

نظرات 0 + ارسال نظر
برای نمایش آواتار خود در این وبلاگ در سایت Gravatar.com ثبت نام کنید. (راهنما)
ایمیل شما بعد از ثبت نمایش داده نخواهد شد