Saturday, August 14, 2010

INE Vol 1 - Lab 24 - MPLS TE Unequal Cost Load Balancing

Notes:

The objective asks you to configure TE tunnels with a total of 10 Mbps between 2 PE routers, R3 and R4. One third of the traffic between these PEs need to transit thru R5.

In order to accomplish this, I created to TE tunnels, Tun 0 and Tun 1, both explicit paths. Tun 0 bypassed R5 and Tun 1 went thru R5. The setup is identical until you get to the tunnels bandwidth statement. Since 1/3 has to go through R5, tunnel 1 has a bandwidth of 3333 kbps and tunnel 0 has 6667 kbps.

This is a good exercise to show that the RSVP Total BW is 10 Mbps so the sum of the individual tunnel bandwidths must be no more then 10 Mbps. This also achieves unequal cost load balancing via the bandwidth statements.

Config:
R3 - PE and TE Head End
interface Loopback0
ip address 150.1.3.3 255.255.255.255
!
interface Tunnel0
ip unnumbered Loopback0
tunnel destination 150.1.4.4
tunnel mode mpls traffic-eng
tunnel mpls traffic-eng autoroute announce
tunnel mpls traffic-eng priority 3 3
tunnel mpls traffic-eng bandwidth 6667
tunnel mpls traffic-eng path-option 1 explicit name THRU_R4
no routing dynamic
!
interface Tunnel1
ip unnumbered Loopback0
tunnel destination 150.1.4.4
tunnel mode mpls traffic-eng
tunnel mpls traffic-eng autoroute announce
tunnel mpls traffic-eng priority 3 3
tunnel mpls traffic-eng bandwidth 3333
tunnel mpls traffic-eng path-option 1 explicit name THRU_R5
no routing dynamic
!
interface Serial1/0
bandwidth 155000
ip address 150.1.13.3 255.255.255.0
mpls traffic-eng tunnels
mpls ip
fair-queue 64 256 313
serial restart-delay 0
ip rsvp bandwidth 10000
!
interface FastEthernet2/0
ip vrf forwarding SW1-SW2
ip address 10.1.37.3 255.255.255.0
duplex auto
speed auto
!
router ospf 1
mpls traffic-eng router-id Loopback0
mpls traffic-eng area 0
log-adjacency-changes
network 150.1.0.0 0.0.255.255 area 0
!
router bgp 1
no bgp default ipv4-unicast
bgp log-neighbor-changes
neighbor 150.1.4.4 remote-as 1
neighbor 150.1.4.4 update-source Loopback0
!
address-family vpnv4
neighbor 150.1.4.4 activate
neighbor 150.1.4.4 send-community extended
neighbor 150.1.4.4 next-hop-self
exit-address-family
!
address-family ipv4 vrf SW1-SW2
neighbor 10.1.37.7 remote-as 2
neighbor 10.1.37.7 activate
no synchronization
exit-address-family
!
ip explicit-path name THRU_R4 enable
next-address 150.1.13.1
next-address 150.1.12.2
next-address 150.1.24.4
next-address 150.1.4.4
!
ip explicit-path name THRU_R5 enable
next-address 150.1.13.1
next-address 150.1.12.2
next-address 150.1.25.5
next-address 10.1.45.4
next-address 150.1.4.4