Many x servers have built-in routing capabilities, even the Windows family can be built into a simple router.
Routers mounted on UNIX and Linux have 2 advantages:
1 The price comparison bottom, the routing service can be a host's auxiliary service.
2 can control the strong, can be set up to take into account the firewall function of the router.
SCO UNIX contains 3 daemon processes.
Routed gated Irdd difference is to support different protocols.
such as routed only supports RIP.
The routed daemon uses/etc/gateways to initialize static routes.
When the router is started, routed loads the file and broadcasts its routing table.
To discover other RIP protocol routers (no different from Cisco).
If you want to set up, you can check the gateways comments.
/etc/gateways file per line format:
NET | Host NAME1 Gateway name2 metric val Active | Passive | External
Where Val is routed through the number of routers.
Active is the exchange of information with other routers
Passive ditto, contrary. Is the information that does not permit exchange.
Instance:
In addition, this example is what I did on SCO 5.05 last year.
Since I have been very busy recently, I also ask you to take more care of the basic area.
Thanks for the first. If there is a similar network erection problem, I am very willing to help.
1 Configure 2 network cards, of which a piece of 202.23.25.20. Received the ISP's 202.23.25.27.
The other is intranet address: 10.10.10.17 Intranet is: 10.10.10.16~30
2 edition/etc/gateways.
Add:
NET 202.23.25.27 Gateway 10.10.10.17 Metric 1 Active
NET 10.10.10.16 Gateway 202.23.25.20 Metric 1 Active
3 inconfig Set the IP packet to the direction of the command.
# inconfig-v Ipforwording 1
# inconfig-v Ipnonlocalsrcroute 1
# inconfig-v Ipsendredirects 1
4 routed process. Write a program under the/ETC/RC2.D directory. Add a static route
Route add default 202.23.25.27
5 Check the configuration.
# NETSTATE-RN
Can see everything you do ~
This post is more useful, especially in this simple router, and then set up a proxy-level firewall.
Solaris,hp-ux,x-bsd are similar to each other, and Linux already supports simple routers at the kernel level.