Basic MPLS Lab on GNS3 - NETSEC

Latest

Learning, Sharing, Creating

Cybersecurity Memo

Saturday, June 8, 2013

Basic MPLS Lab on GNS3

Topology:
IOS:  c3640-jk9s-mz.124-16.bin

GNS3 IOS Configuration:

Changed XTERM to gnome-terminal for better copy&paste feature:

In GNS3 Preference , replaced
xterm -T %d -e 'telnet %h %p' >/dev/null 2>&1 &
with
gnome-terminal --command='telnet %h %p' >/dev/null 2>&1 &


R1:
interface Serial0/0
 ip address 10.1.12.1 255.255.255.0
 mpls ip
interface Ethernet1/0
 ip address 10.1.13.1 255.255.255.0
 mpls ip
router eigrp 100
 network 10.1.12.0 0.0.0.255
 network 10.1.13.0 0.0.0.255
 auto-summary


R2:
interface Serial0/0
 ip address 10.1.12.2 255.255.255.0
 mpls ip
interface Ethernet1/0
 ip address 10.1.24.2 255.255.255.0
 half-duplex
 mpls ip
router eigrp 100
 network 10.1.12.0 0.0.0.255
 network 10.1.24.0 0.0.0.255
 auto-summary


R3:
interface Ethernet1/0
 ip address 10.1.13.3 255.255.255.0
 half-duplex
 mpls ip
router eigrp 100
 network 10.1.13.0 0.0.0.255
 auto-summary



R4;
interface Ethernet1/0
 ip address 10.1.24.4 255.255.255.0
 half-duplex
 mpls ip
router eigrp 100
 network 10.1.24.0 0.0.0.255
 auto-summary

Results:
R1# show mpls ldp neighbor 
    Peer LDP Ident: 10.1.24.2:0; Local LDP Ident 10.1.13.1:0
TCP connection: 10.1.24.2.56937 - 10.1.13.1.646
State: Oper; Msgs sent/rcvd: 45/46; Downstream
Up time: 00:35:42
LDP discovery sources:
 Serial0/0, Src IP addr: 10.1.12.2
        Addresses bound to peer LDP Ident:
          10.1.12.2       10.1.24.2       
    Peer LDP Ident: 10.1.13.3:0; Local LDP Ident 10.1.13.1:0
TCP connection: 10.1.13.3.37365 - 10.1.13.1.646
State: Oper; Msgs sent/rcvd: 46/46; Downstream
Up time: 00:35:20
LDP discovery sources:
 Ethernet1/0, Src IP addr: 10.1.13.3
        Addresses bound to peer LDP Ident:
          10.1.13.3  


Notes:
Cisco MPLS IOS for GNS3
Here are listed working IOS for MPLS LAB on GNS3:
  • c3640-jk9s-mz.124-16
  • c3640-jk9s-mz.124-16a
  • c3640-jk9o3s-mz.123-14.T7
  • c7200-adventerprisek9-mz.124-11.T
  • c3725-adventerprisek9-mz.124-15.T10

Note: c3640-jk9s-mz.124-16是学习Gisco过程中最我们最常用IOS,此IOS不单单支持路由交换实验,同时还支持IPv6、VPN、VOip、MPLS-VPN 等,所以人们通常称之为全能型IOS。

No comments:

Post a Comment