...Draft...
Document revision 17-May-2002
This document applies to the MikroTik RouterOS v2.4 and v2.5
The MikroTik RouterOS supports the following Cyclades PC300 Adapter hardware:
For more information about the Cyclades PCI Adapter hardware please see the relevant documentation:
[MikroTik] > system package print Flags: I - invalid # NAME VERSION BUILD-TIME UNINSTALL 0 system 2.5.5 may/16/2002 12:13:14 no 1 ppp 2.5.5 may/16/2002 12:13:33 no 2 pppoe 2.5.5 may/16/2002 12:13:39 no 3 pptp 2.5.5 may/16/2002 12:13:38 no 4 prism 2.5.5 may/16/2002 12:14:31 no 5 routing 2.5.5 may/16/2002 12:17:36 no 6 thinrouter-pcipc 2.5.5 may/16/2002 12:15:54 no 7 advanced-tools 2.5.5 may/16/2002 12:35:53 no 8 cyclades 2.5.5 may/16/2002 12:34:06 no 9 framerelay 2.5.5 may/16/2002 12:34:18 no 10 moxa-c101 2.5.5 may/16/2002 12:36:05 no 11 option 2.5.5 may/16/2002 12:13:25 no [MikroTik] >
[MikroTik] >system resource irq print Flags: U - unused IRQ OWNER 1 keyboard 2 APIC U 3 4 serial port U 5 U 6 U 7 U 8 9 ether1 U 10 11 [Cyclades-PC300] U 12 U 13 14 IDE 1 [MikroTik] >system resource io print PORT-RANGE OWNER 20-3F APIC 40-5F timer 60-6F keyboard 80-8F DMA A0-BF APIC C0-DF DMA F0-FF FPU 1F0-1F7 IDE 1 2F8-2FF serial port 3C0-3DF VGA 3F6-3F6 IDE 1 3F8-3FF serial port CF8-CFF [PCI conf1] EE00-EEFF [Realtek Semiconductor Co., Ltd. RTL-8139] EE00-EEFF [8139too] EF80-EFFF [Cyclades Corporation PC300 TE 1] EF80-EFFF [PLX Registers] FC00-FC7F [Cyrix Corporation 5530 IDE [Kahlua]] FC00-FC07 IDE 1 FC08-FC0F IDE 2 [MikroTik] >
The basic installation steps of the PCI adapter should be as follows:
The Cyclades PC300 PCI Adapter should be recognized by your motherboard automatically and appear on the list of PCI devices as "Simple COMM Controller" with the IRQ assigned to it.
[MikroTik] >driver print Flags: I - invalid, D - dynamic # DRIVER IRQ IO MEMORY ISDN-PROTOCOL 0 D Cyclades 1 D RealTek 8139 [MikroTik] >
There can be several reasons for a failure to load the driver, for example:
[MikroTik] interface> print Flags: X - disabled, D - dynamic # NAME TYPE MTU 0 ether1 ether 1500 1 X cyclades1 cyclades 1500 [MikroTik] interface> enable 1 [MikroTik] interface> print Flags: X - disabled, D - dynamic # NAME TYPE MTU 0 ether1 ether 1500 1 cyclades1 cyclades 1500 [MikroTik] interface>
More configuration and statistics parameters can be found under the '/interface cyclades' menu. For the Cyclades PC300/RSV Synchronous PCI Adapter you should set the mtu to 1500, and have other argument values as below:
[MikroTik] interface cyclades> print Flags: X - disabled 0 name="cyclades1" mtu=1500 line-protocol=cisco-hdlc media-type=V35 clock-rate=64000 clock-source=external line-code=B8ZS framing-mode=ESF line-build-out=0dB rx-sensitivity=short-haul frame-relay-lmi-type=ansi frame-relay-dce=no chdlc-keepalive=10s [MikroTik] interface cyclades>
Argument description:
number - Interface number in the list
name - Interface name
mtu - Maximum Transmit Unit (68...1500 bytes). Deafault value is 1500 bytes.
line-protocol - Line protocol (cisco-hdlc/ frame-relay /sync-ppp)
media-type - The hardware media used for this interface (E1 / T1 / V24 / V35 / X21)
clock-rate - The clock mode or clock rate in bps. If '0', the external clock mode is selected. For V.35 should be set to '0' to use the external clock from the modem. Valeus greater than '0' represent the clock speed (which implies an internal clock).
clock-source - (external / internal / tx-internal) Source of the clock
line-code - For T1/E1 channels only. The line code (AMI / B8ZS / HDB3 / NRZ)
framing-mode - For T1/E1 channels only. The frame mode (CRC4 / D4 / ESF / Non-CRC4 / Unframed)
line-build-out - For T1 channels only. Line Build Out Signal Level(0dB / 15dB / 22.5dB / 7.5dB)
rx-sensitivity - For T1/E1 channels only. Receiver sensitivity (long-haul / short-haul)
The Cyclades PC300/RSV Synchronous PCI Adapter comes with a V.35 cable. This cable should work for all standard modems, which have V.35 connections. For synchronous modems, which have a DB-25 connection, you should use a standard DB-25 cable.
Connect a communication device, e.g., a baseband modem, to the V.35 port and turn it on. The MikroTik driver for the Cyclades Synchronous PCI Adapter allows you to unplug the V.35 cable from one modem and plug it into another modem with a different clock speed, and you do not need to restart the interface or router.
Let us consider the following network setup with MikroTik Router connected to a leased line with baseband modems and a CISCO router at the other end:
The driver for the Cyclades PC300/RSV Synchronous PCI Adapter should load automatically. The interface should be enabled according to the instructions given above. The IP addresses assigned to the cyclades interface should be as follows:
[MikroTik] ip address> add address=1.1.1.1/32 interface=cyclades1 [MikroTik] ip address> print Flags: X - disabled, I - invalid, D - dynamic # ADDRESS NETWORK BROADCAST INTERFACE 0 10.0.0.219/24 10.0.0.0 10.0.0.255 ether1 1 1.1.1.1/32 1.1.1.1 1.1.1.1 cyclades1 2 192.168.0.254/24 192.168.0.254 192.168.0.255 ether2 [MikroTik] ip address> /ping 1.1.1.2 1.1.1.2 64 byte pong: ttl=255 time=12 ms 1.1.1.2 64 byte pong: ttl=255 time=8 ms 1.1.1.2 64 byte pong: ttl=255 time=7 ms 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 7/9.0/12 ms [MikroTik] ip address> /tool flood-ping 1.1.1.2 size=1500 count=50 sent: 50 received: 50 min-rtt: 1 avg-rtt: 1 max-rtt: 9 [MikroTik] ip address>
Note, that for the point-to-point link the network mask is set to 32 bits, the argument 'network' is set to the IP address of the other end, and the broadcast address is set to 255.255.255.255. The default route should be set to the gateway router 1.1.1.2:
[MikroTik] ip route> add gateway 1.1.1.2 interface cyclades1 [MikroTik] ip route> print Flags: X - disabled, I - invalid, D - dynamic, J - rejected, C - connect, S - static, R - rip, O - ospf, B - bgp # DST-ADDRESS G GATEWAY DISTANCE INTERFACE 0 DC 10.0.0.0/24 r 0.0.0.0 0 ether1 1 DC 192.168.0.0/24 r 0.0.0.0 0 ether2 2 DC 1.1.1.2/32 r 0.0.0.0 0 cyclades1 3 S 0.0.0.0/0 r 1.1.1.2 1 cyclades1 [MikroTik] ip route>
The configuration of the CISCO router at the other end (part of the configuration) is:
CISCO#show running-config Building configuration... Current configuration: ... ! interface Ethernet0 description connected to EthernetLAN ip address 10.1.1.12 255.255.255.0 ! interface Serial0 description connected to MikroTik ip address 1.1.1.2 255.255.255.252 serial restart-delay 1 ! ip classless ip route 0.0.0.0 0.0.0.0 10.1.1.254 ! ... end CISCO#
Send ping packets to the MikroTik router:
CISCO#ping 1.1.1.1 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 1.1.1.1, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 28/32/40 ms CISCO#