Serial port connection between two Routers

Source: Internet
Author: User

Sometimes, when the distance between the subsidiary company and the company is not far from each other, you can directly connect the two routers with serial lines. This method can save the cost of laying optical fiber, but the transmission speed will be affected, and the distance between the two routers must not be too far.
As shown in network topology 1, two vrouters A and B are connected to their S0 ports with A serial line.

Configuration command:
Router
Config t enters Configuration Mode
Int s0 entry S0 Interface
Ip address 192.168.1.1 255.255.255.0 sets the ip address and subnet mask for the S0 Interface
No shutdown enable S0 Port
Clock rate 64000 sets the serial port S0 clock frequency to 64000bit/s.
TIPS: due to the difference between DTE and DCE in Data Communication settings, you must set a clock for the DCE device. Only devices with the same clock frequency can communicate with each other. The unit of clock frequency is bit/s.
Router B
Config t enters Configuration Mode
Int s0 entry S0 Interface
Ip address 192.168.1.2 255.255.255.0 sets the ip address and subnet mask for the S0 Interface
No shutdown enable S0 Port
Clock rate 64000 sets the serial port S0 clock frequency to 64000bit/s.
Conclusion: After the same clock frequency is set and the correct route information is added, the serial ports of the two routers can communicate normally. The parameter bandwidth is also described here. By default, the default serial link bandwidth of any CISCO router is 1.544 Mb/s. You can use the bandwidth command to modify the bandwidth according to the actual situation, for example, bandwidth 64 indicates that the bandwidth is 64000bit/s.

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.