среда, 27 марта 2013 г.

Connecting 2 Routers via Aux Port

Sometimes, even in our days, it's necessary to connect 2 routers via Aux 0 cable, if there is not enough Ethernet port in this routers.

There is a simple example (a little conclusion), thanks for cisco.com, where i've found huge amount of documentation about interconnection routers and other devices via Aux.







Let's begin with confuguration of  2 routers

10.0.0.1:

 interface Ethernet0
  no ip address
  shutdown
     
 interface Async1

  ip address 10.0.0.1 255.255.255.0

  encapsulation ppp

  async default routing

  async mode dedicated
 ip route 0.0.0.0 0.0.0.0 Async1


 logging buffered
 line con 0
  exec-timeout 0 0
 line aux 0

  modem InOut
  transport input all

  rxspeed 38400
  txspeed 38400

  flowcontrol hardware
 line vty 0 4
  login
 !
 end

10.0.0.2:

hostname Router2
 !
 interface Ethernet0
       
 interface Async1
  ip address 10.0.0.2 255.255.255.0

  encapsulation ppp

  async default routing
 
  async mode dedicated
 !
 no ip classless
 ip route 0.0.0.0 0.0.0.0 Ethernet0

 logging buffered
 !
 line con 0
  exec-timeout 0 0
 line aux 0

  modem InOut
  transport input all

  rxspeed 3840
  txspeed 38400


  flowcontrol hardware
 line vty 0 4
  login
 !
 end

In both configuration, first we must confige an Async interface with correct ip address, encapsulation, routing (it should be enabled) and mode, than its necessary to configure ip routing and static routing and lines with correct tx and rx speed (it should match on both routers)

Комментариев нет:

Отправить комментарий