Manual:TE Tunnels Example

From MikroTik Wiki
Revision as of 12:31, 18 March 2010 by Marisb (talk | contribs)
Jump to navigation Jump to search

Introduction

Application example

Consider following setup:

IP Connectivity and LDP


R1

ether1 connects to R2, ether2 connects to R5

/system identity set name=R1

/interface bridge add name=lo0

/ip address
add address=192.168.55.1/30 interface=ether1
add address=192.168.55.18/30 interface=ether2
add address=10.255.1.1/32 interface=lo0


/routing ospf instance 
set default router-id=10.255.1.1

/routing ospf networks
add network=192.168.55.0/24 area=backbone
add network=10.255.1.0/24 area=backbone

/mpls ldp 
set enabled=yes lsr-id=10.255.1.1 transport-address=10.255.1.1

/mpls ldp interface
add interface=ether1
add interface=ether2


R2

ether1 connects to R1, ether2 connects to R3

/system identity set name=R2

/interface bridge add name=lo0

/ip address
add address=192.168.55.2/30 interface=ether1
add address=192.168.55.5/30 interface=ether2
add address=10.255.1.2/32 interface=lo0


/routing ospf instance 
set default router-id=10.255.1.2

/routing ospf networks
add network=192.168.55.0/24 area=backbone
add network=10.255.1.0/24 area=backbone

/mpls ldp 
set enabled=yes lsr-id=10.255.1.2 transport-address=10.255.1.2

/mpls ldp interface
add interface=ether1
add interface=ether2


R3

ether1 connects to R2, ether2 connects to R4

/system identity set name=R3

/interface bridge add name=lo0

/ip address
add address=192.168.55.6/30 interface=ether1
add address=192.168.55.9/30 interface=ether2
add address=10.255.1.3/32 interface=lo0


/routing ospf instance 
set default router-id=10.255.1.3

/routing ospf networks
add network=192.168.55.0/24 area=backbone
add network=10.255.1.0/24 area=backbone

/mpls ldp 
set enabled=yes lsr-id=10.255.1.3 transport-address=10.255.1.3

/mpls ldp interface
add interface=ether1
add interface=ether2


R4

ether1 connects to R3, ether2 connects to R5

/system identity set name=R4

/interface bridge add name=lo0

/ip address
add address=192.168.55.10/30 interface=ether1
add address=192.168.55.13/30 interface=ether2
add address=10.255.1.4/32 interface=lo0


/routing ospf instance 
set default router-id=10.255.1.4

/routing ospf networks
add network=192.168.55.0/24 area=backbone
add network=10.255.1.0/24 area=backbone

/mpls ldp 
set enabled=yes lsr-id=10.255.1.4 transport-address=10.255.1.4

/mpls ldp interface
add interface=ether1
add interface=ether2


R5

ether1 connects to R4, ether2 connects to R1

/system identity set name=R5

/interface bridge add name=lo0

/ip address
add address=192.168.55.14/30 interface=ether1
add address=192.168.55.17/30 interface=ether2
add address=10.255.1.5/32 interface=lo0


/routing ospf instance 
set default router-id=10.255.1.5

/routing ospf networks
add network=192.168.55.0/24 area=backbone
add network=10.255.1.0/24 area=backbone

/mpls ldp 
set enabled=yes lsr-id=10.255.1.5 transport-address=10.255.1.5

/mpls ldp interface
add interface=ether1
add interface=ether2


VPLS tunnel

TE Support

TE Tunnels

Secondary path

Reoptimization