Routes of the static routes - from scratch to learn RouterOS Series 12

The main content of this chapter is to explain RouterOS achieve static route.

There are two cases:

1. The single-line static routing

2. export multi-line static routing


What is static routing, static routing a major role in what?

Static routing is to use is to tell the router or the IP network from the gateway or interface out, so that the destination address of the router route match rule, this rule will be in accordance to perform.

First, the single-line static routing

Suppose we have two routers connected to, the needs of both sides of the PC is able to ping each other!


webp

R1 can ping R2, by ping 192.168.0.2


webp

So we want to ping 192.168.11.254 192.168.12.254, so this time we must add a static route.

Look at our PC's IP configuration:

webp

At this point we are trying to ping each other whether it can pass between the PC!

webp

Obviously, the barrier, a network timeout. We can now look at how the routing information!

Click IP> Routes

webp

Look at R1 routing table:

webp

R2 routing table:

webp

At this point we have to configure a static route!

Configuring static routes is to tell the router can send or past IP interface information from that.

Because straight network segments R1 and R2. So we should use IP as a gateway to the end:

R1 Configuration

webp

Also, the configuration in which R2 is as follows:

webp

At this point we are trying to ping it on your PC

webp

This is the basic static routing.


Second, under the multi-line static routing exports

The assumption that the line how much we export, export-specify a certain IP or network segment, then static routing how to handle it?

Look at our topology, we have three public network export, Telecom, China Unicom and PPPOE.

We go PPPOE default, but if we want to access through Telecom's IP 114.114.114.114 IP to go, how to do it.


webp

First look at our track routing is how:

We can see a second

Routing is the gateway into our PPPOE:


webp


At this point we should also only in the routing table inside to add a static route to make it out to 100.1.1.1


webp

At this point we go down the route towards track


webp

So we completed a multi-line static routing capabilities.

Multi-line access router, you need to come and go with such static routes manually specify the best route for data forwarding, so as to avoid a number of different operators due to network or network unreachable very slow.


Guess you like

Origin blog.51cto.com/13796759/2429037