Use the aux port to connect two vrouters back-to-back

Source: Internet
Author: User

During the experiment, we usually use the serial port to connect two routers. But what should I do if my serial port is used up? You can also use the aux port to connect two vrouters using PPP.

We know that a router generally has an aux port. There are two interface types: RJ45 (for example, 25 series and 26 series ), another type is DB25 (for example, 45 Series and 7000 Series). aux is a DTE device, so two DTE devices need to be connected using a rolover. If both ends are RJ45, it is directly connected with a reverse network cable; if the two ends of the DB25, it is necessary to use the middle of the conversion Head Of The RJ45-DB25 to connect a reverse line, or directly do a two ends are DB25 line, the connection sequence is as follows:

DB25 DB25
RxD23TxD
TxD32RxD
CTS45RTS
RTS54CTS
DTR620CD
DSR820CD
CD206DTR
CD208DSR
GND77GND
The topology is shown in.
The configuration is as follows:
Router 1
Version 11.1:
Service udp-small-servers
Service tcp-small-servers
!
Hostname Router1
!
Interface Ethernet0
No ip address
Shutdown
!
Interface Serial0
No ip address
Shutdown
!
Interface Serial1
No ip address
Shutdown
!
Interface Async1
! --- Allocate the dialing port to the AUX port
! --- You can use # sh line to view the line number of the AUX port.
Ip address 192.168.0.1 255.255.255.0
! --- The addresses of the two routers must be in one subnet.
Encapsulation ppp
! --- Use PPP to encapsulate data packets
Async dynamic routing
! --- Allow route protocol running on this line
Async mode dedicated
!
No ip classless
Ip route 0.0.0.0 0.0.0.0 Async1
! --- Set async1 as the default route Port
Logging buffered
!
Line con 0
Exec-timeout 0 0
Line aux 0
! --- Configure the link layer attribute of AUX
Modem InOut
Transport input all
! --- Allow all protocols on this line-this is very important, remember!
Rxspeed 38400
! --- Set the Rx speed (the two routers must be consistent)
Txspeed 38400
! --- Set the Tx speed (the two routers must be consistent)
Flowcontrol hardware
Line vty 0 4
Login
!
End
-------------------------------------------------
Router 2
Version 11.1:
Service udp-small-servers
Service tcp-small-servers
!
Hostname Router1
!
Interface Ethernet0
No ip address
Shutdown
!
Interface Serial0
No ip address
Shutdown
!
Interface Serial1
No ip address
Shutdown
!
Interface Async1
! --- Allocate the dialing port to the AUX port
! --- You can use # sh line to view the line number of the AUX port.
Ip address 192.168.0.2 255.255.255.0
! --- The addresses of the two routers must be in one subnet.
Encapsulation ppp
! --- Use PPP to encapsulate data packets
Async dynamic routing
! --- Allow route protocol running on this line
Async mode dedicated
!
No ip classless
Ip route 0.0.0.0 0.0.0.0 Async1
! --- Set async1 as the default route Port
Logging buffered
!
Line con 0
Exec-timeout 0 0
Line aux 0
! --- Configure the link layer attribute of AUX
Modem InOut
Transport input all
! --- Allow all protocols on this line-this is very important, remember!
Rxspeed 38400
! --- Set the Rx speed (the two routers must be consistent)
Txspeed 38400
! --- Set the Tx speed (the two routers must be consistent)
Flowcontrol hardware
Line vty 0 4
Login
!
End
If a problem occurs, how can I debug it? You can use the following command to View Details:
Show line
Show line aux 0
Shutdown and no shutdown to start and reset the aux port status
Debug ppp negotiation

Well, I have written so much. I hope everyone can successfully debug it!

Sorry: I have tried dynamic routing, such as rip, igrp, VPN, and ospf, but none of them are supported! It seems that this function is not very powerful!

Haha, come up with an async default routing on the ports on both sides. Otherwise, it cannot run the dynamic routing protocol. async dyn routing can be avoided because there is an async mode de

  1. 19 typical vro configurations
  2. What if there is a conflict between AUX port dialing and fast switching?

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.