Build a simple router in a UNIX Operating System

Source: Internet
Author: User
Article Title: setting up a simple router in a UNIX operating system. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.

Many X servers have built-in routing functions, that is, even Windows series can be built into a simple router.

Vrouters deployed on Unix and Linux have two advantages:

1. The price is relatively low. The routing service can be an auxiliary service of the host.

2. A vro with strong self-control and firewall functions can be set up.

Sco unix contains 3 daemon.

Routed gated irdd supports different protocols.

For example, routed only supports rip.

The routed daemon uses/etc/route ways to initialize static routes.

When the vro is started, routed loads the file and broadcasts its route table.

To find other rip-based routers (which is no different from cisco ).

If you want to set it, you can view the comment of gateways.

The format of each line in the/etc/gateways file is as follows:

Net host name1 gateway name2 metric val active passive external

Val indicates the number of routers that pass through the vro.

Active is the information exchanged with other routers.

Passive is the same as above. It is a non-profit exchange.

Instance:

In the following example, I did this on SCO 5.05 last year.

As I have been very busy recently, please take care of the basic area.

Thank you first. I am very willing to help you with similar network setup problems.

1. Configure two NICs, one of which is 202.23.25.20. Connect to the ISP's 202.23.25.27.

The other is the Intranet address: 10.10.10.17 Intranet: 10.10.10.16 ~ 30

 

[1] [2] Next page

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.