linux-network operation related commands--route;rlogin

Source: Internet
Author: User

Route

1. Role
the route represents the manual generation, modification, and viewing of the routing table.
2. Format
#route [-add][-net|-host] targetaddress [-netmask nm][dev]if]
#route [-delete][-net|-host] targetaddress [GW GW] [-netmask Nm] [dev]if]
3. Main parameters
-add: Increase the route.
-delete: Deletes the route.
-net: The route arrives at a network, not a host.
-host: The route arrives at a host.
-netmask Nm: Specifies the subnet mask for the route.
GW: Specifies the gateway for the route.
[dev]if: Forces the routing chain to specify an interface.
4. Application examples
The route command is used to view and set routing information for Linux systems for communication with other networks. To achieve communication between two different subnets, you need a router that is connected to two networks, or a gateway to two networks.
In Linux systems, routing is usually done to address the problem that the Linux system has a gateway in a local area network that allows the machine to access the Internet, so the IP address of the machine needs to be set to the default route of the Linux machine. Use the following command to add a default route:
route add 0.0.0.0 192.168.1.1
rlogin
1. Role
rlogin is used for remote registration.
2. Format
rlogin [ -8EKLDX] [-e char] [-K realm] [-l username] host
3. Main parameters
-8: This option always allows 8-bit input data channels. This option allows the sending of formatted ANSI characters and other special codes. If this option is not used, the parity bit is removed unless the remote is not a terminating and starting character.
-E: Stops any characters from being treated as escape characters. When used with the-8 option, it provides a full transparent connection.
-K: Turns off all Kerberos acknowledgments. Use this option only if you are connected to a host that uses the Kerberos acknowledgment protocol.
-L: Allows the rlogin session to run in Litout mode. For more information, please refer to the TTY online help.
-D: Open socket Debugging for TCP sockets that communicates with the remote host. For more information, please consult the online Help for setsockopt.
- E: Sets the escape character for the rlogin session, and the default escape character is "~".
-K: request Rlogin to obtain the Kerberos license for the remote host in the specified zone instead of the Kerberos license for the remote host in the remote host zone determined by Krb_realmofhost (3).
-x: Open des encryption for all data transmitted over the Rlogin session. This affects response time and CPU utilization, but it can improve security.
4. Instructions for use
If you have an account on a different system in your network, or you can access someone else's account on another system, then to access the account on the other system, you must first register it with the system, and then register it remotely via the network to the system where the account resides. Rlogin can be remotely registered to another system, and its parameters should be a system name.

This article is from the "--" blog, please be sure to keep this source http://57388.blog.51cto.com/47388/1544776

linux-network operation related commands--route;rlogin

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.