Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What is the Internet configuration method of Router OS PPPOE and fixed IP

2025-01-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)05/31 Report--

This article mainly introduces "what is the Internet configuration method of Router OS PPPOE and fixed IP". In daily operation, I believe that many people have doubts about the Internet configuration method of Router OS PPPOE and fixed IP. The editor consulted all kinds of materials and sorted out simple and easy-to-use operation methods. I hope it will be helpful to answer the doubts of "what is the Internet configuration method of Router OS PPPOE and fixed IP?" Next, please follow the editor to study!

RouterOS is equipped with PPPOE dial-up and fixed IP Internet access.

There are two situations for NOTE:PPPOE dialing:

The first is that the light cat has been set to bridge mode, and we can dial directly from the router.

The second is just cat dialing, and the router can directly access the static IP to surf the Internet. (ROS as a secondary route)

If the second method wants to be changed to the first, then we need to find the operator master to deal with it and change it to the bridge.

Let's start with a topology! We're just going to configure the blue part.

Topological graph

First of all, suppose our account is ppp1 and our password is ppp1.

Configure PPPOE dialing

1. Click Interface > Click + sign > Click PPPoE Client

A pop-up window pops up, click General, and select the dialing interface (here is the third network port)

Then click Dial Out, write relevant information first, and finally click OK.

two。 At this point, if you see the R at the beginning, it means it's connected.

2. Configure fixed IP

The configuration of fixed IP is similar to the configuration of LAN port IP in section 1. As shown in the topology diagram, the fixed IP assumption of our Telecom fixed IP and Unicom is 100.1.1.121 shock 29100.2.2.193 Universe 29.

Then we need to configure these two IP in IP address.

Do you think it's done like this?

You can't surf the Internet yet.

Configure nat to surf the Internet

Click IP > Firewall to jump to NAT

We need to add three new rules. They are dial-up, telecom IP and Unicom IP.

When you are done, switch to Action, select masquerade (camouflage), and then click OK.

There are also two more rules, namely, the NAT rules of Telecom and China Unicom.

Can you surf the Internet now? But in fact, it is almost, because dial-up access has already added a default route, but the dedicated lines of Telecom and Unicom do not have a celestial static route!

Fourth, configure the default route of China Telecom and China Unicom, which is fixed IP and can also access the Internet.

Click IP > Routes

Click the plus sign to fill in the gateway, two routing tables!

Fill it out and you can surf the Internet!

Explanation of distance values of different routes

What does it mean to see something like the routing table?

As you can see, we used the ping detection gateway (see CheckGateway in the figure).

The default route distance of PPPoE is the smallest and the most priority, and the default is to go online first. If ping detects a PPPOE drop, the default route is routed sequentially to the telecom with a distance of 2, which is at the top of the telecom. Similarly, it will be topped by Unicom.

The advantage of this is that the default route is redundant, and the user's unaware ROS automatically helps to switch network egress, which saves us a lot of trouble.

This feature is similar to Cisco SLA Track's static floating route, but that requires a lot of commands, and it can be done in one step.

At this point, the study on "what is the method of configuring Router OS PPPOE and fixed IP on the Internet" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Network Security

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report