Previous Section  < Free Open Study >  Next Section

Forwarding Traffic Down Tunnels Using Static Routes

The easiest way to route traffic down an MPLS TE tunnel interface is to use static routes. There's nothing special about static routes over TE tunnels; they work just like static routes pointed down any other point-to-point interface. If you configure a route pointing down a tunnel interface, as in


ip route 10.0.0.0 255.0.0.0 Tunnel0

it's the exact same thing as if you had pointed the route out any other point-to-point interface, such as this:


ip route 10.0.0.0 255.0.0.0 POS0/0

Recursive static routes work normally as well. Basically, anything you can do with static routes down an interface, you can do with static routes down a TE tunnel interface.

Recursive Static Routes

A recursive static route is a static route that points not to an interface, but to a next hop:


ip route 10.0.0.0 255.0.0.0 192.168.1.1

This tells the router to send all packets for 10.0.0.0 255.0.0.0 to the same place it would send packets destined for 192.168.1.1. The router needs to have a route for 192.168.1.1 in the routing table.

Entering the following configuration sends all traffic for 10.0.0.0/8 down Tunnel0:


ip route 10.0.0.0 255.0.0.0 Tunnel0

If 192.168.1.1 is the tailend of your TE tunnel, entering the following command does the same:


ip route 192.168.1.1 255.255.255.255 Tunnel0

ip route 10.0.0.0 255.0.0.0 192.168.1.1

    Previous Section  < Free Open Study >  Next Section
    Hotel booking for hotels in Hamburg via HROS.Net