Set enabled=yes transport-address=10.0.0.5 Set enabled=yes transport-address=10.0.0.4 Set enabled=yes transport-address=10.0.0.3 Set enabled=yes transport-address=10.0.0.2 Set enabled=yes transport-address=10.0.0.1 You only need to change the transport-address for each MPLS router, which is the same as the loopback IP address, you also need to specify which interfaces are involved into MPLS. When routing between CE1 and CE2 is working properly, you can enable MPLS. # ADDRESS LOSS SENT LAST AVG BEST WORST STD-DEV STATUS Sent=3 received=3 packet-loss=0% min-rtt=0ms avg-rtt=0ms > /tool traceroute 192.168.6.2 Test if CE1 can reach CE2 and check if the packet is routed through all routers in the path, use the following commands on > /ping 192.168.6.2.We are going to need to create routes for reach loopback IP address in the whole network. Routes for loopback IP addresses can also be advertised using dynamic routing protocols, but to make this setup as simple and straightforward as possible, we are going to use static routes for loopback IP addresses as well. In this example it is required not only for the traffic between CE1 and CE2 to be routable, but also the traffic between each MPLS enabled router to be routable using the loopback IP address. We are going to need routes that point to 192.168.1.0/24 and 192.168.6.0/24 networks for routers that are not connected directly to respective network. For this example we are going to use static routing and to make traffic from/to CE1 to/from CE2 routable you only a few static routes and IP addresses on each interface that is connected to a router. When using dynamic routing like OSPF or BGP, these routes can be advertised across the whole network. In this example we don't require traffic from any P or PE to be routable, we only require that CE1 and CE2 is able to route traffic to each other. Assign proper IP addresses on the loopback interface for each device (replace the X), use the following commands on PE1, P1, P2, P3 and PE2:Īdd address=10.0.0.X/32 interface=loopbackīefore MPLS can be enabled in a network, routing must be set up.Use the following commands on PE1, P1, P2, P3 and PE2 to create loopback interfaces:.It is highly recommended that you use loopback interfaces in MPLS setups. If you assign an IP address on a interface that is not a loopback interface, then the IP address will be inactive along with the interface, this will cause problems for routing protocols even if there are multiple paths to a single router. For stability reasons it is recommended to create a loopback interface on each router that is involved either in dynamic routing or MPLS.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |