Cloud pt cisco что это
Перейти к содержимому

Cloud pt cisco что это

Cloud pt cisco что это

CLOUD-PT — Frame Relay Configuration

Frame Relay is an encapsulation technique used between local area networks over WAN connection. It does by modelling virtual circuits over leased or regular communication lines. The theoretical parts of frame-relay is not handled during this class. But as they are important in order to model some of the network simulation, we present here the typical configuration of the Frame-relay component of Cloud-PT component in Packet Tracer.

In the above figure we have three routers (R1, R2, R3) and a Cloud PT component in the middle. The role of the Cloud-PT component here is to simulate a black box that is irrelevant from our network topology. It could hide for example a complex network infrastructure that is not relevant for the problem we are simulating.

Configuring a Cloud-PT component relies on configuring some virtual circuits in Cloud-PT and some particular configurations on the routers. In the current case we are going to:

� Set up a Virtual circuit from R1 to R3 (R1-R3)

� Set up a Virtual Circuit from R2 to R3 (R2-R3)

� Configure the point-to-point connections between R1 and R3 and R2 and R3 over the Serial links connected into the Cloud-PT

� Setup routing over the Cloud-PT

Cloud-PT circuits setup:

Setting up router R1 (encapsulation is changed to frame-relay on interface Serial0/1/0 and no IP assigned to that interface). A new sub-interface is configured:

interface Serial0/1/0.103 point-to-point

ip address 193.226.40.1 255.255.255.252

frame-relay interface-dlci 103

Add a default route through Cloud-PT. The default route is setup as being attached to the sub-interface.

ip classless

ip route 0.0.0.0 0.0.0.0 Serial0/1/0.103 2

Notice the identifier of the sub-interface Serial0/0/0.103 with the DLCI number we setup on the Cloud-PT. It is the subinterface with frame-relay encapsulation now that will have an IP address and handle the traffic.

The same operations are repeated on router R2.

On Router R3 we need to configure two sub-interfaces on the Serial0/0/0 � one for each virtual circuit (one for R1 and one for R2)

interface Serial0/0/0

no ip address

encapsulation frame-relay

interface Serial0/0/0.301 point-to-point

ip address 65.65.65.1 255.255.255.0

frame-relay interface-dlci 301

interface Serial0/0/0.302 point-to-point

ip address 65.65.66.2 255.255.255.0

frame-relay interface-dlci 302

Notice we need a different IP on each sub-interface. We also need some routes added towards R1 and R2 trough the virtual circuits and a default route through a gateway (we chose R1 here):

ip classless

ip route 193.226.40.0 255.255.255.252 Serial0/0/0.301

ip route 193.226.40.4 255.255.255.252 Serial0/0/0.302

ip route 0.0.0.0 0.0.0.0 193.226.40.1

The resulting configuration should be able to:

� ping R3 from R1 and R2

� R1 and R2 should be able to ping each other through the direct link between them

� R3 should be able to ping R1 (public IP: 193.226.40.1 through the cloud-pt)

� R3 should be able to ping R2 (public IP: 193.226.40.5 through the cloud-pt over the virtual circuit directly)

� R3 should be able to ping R1 and R2 private IPs (192.168.2.x) through the VC between R3-R1.

Check pinging R2 (192.168.2.1) from R3 in Simulation mode and notice how the ping (echo-request) goes from R3-R1 (default route on R3) and then to R2, while the answer (echo reply) goes back through the VC between R2-R3 directly (the default route on R2) � packets having thus asymmetric paths.

Построение опорной сети

Для соединения маршрутизаторов между собой с помощью технологии DSL необходимо в окне «Выбор оборудования» выбрать WAN Emulation, а среди предложенных им устройств выбрать DSLModem и Cloud-PT-Empty (рис. 2):

Рис. 2- выбор оборудования для DSL

Для соединения модема и маршрутизатора используется технология Fast Ethernet, и в качестве среды передачи данных можно использовать кабель «витая пара» или оптоволокно.

Для соединения модема с устройством эмуляции глобальной вычислительной сети используются порты, которые имеют название Modem и телефонный кабель – рис.3

Рис.3 – подключение роутера к телефонной сети через модем

Чтобы сделать эти соединения, в устройство эмуляции глобальной вычислительной сети (WAN, Cloud) нужно установить платы расширения: это может быть Fiber Gigabit Ethernet или просто Ethernet, а для подключения телефонного кабеля — плату с интерфейсом Line ( RJ-11), предварительно выключив устройство (рис.4).

Рис.4 — Физическое представление устройства Cloud

На вкладке Interface окна Config отображаются все порты, которые установлены в устройство эмуляции глобальной вычислительной сети Cloud.

Для передачи от DSL модема, к устройству Cloud, подсоединенному к порту GigabitEthernet, необходимо установить соответствие этих портов во вкладыше DSL окна Config (рис. 5). В окне конфигурации настраивается взаимодействие портов устройства между собой.

Рис.5 — Окно конфигурации устройства эмуляции глобальной вычислительной сети

Для имитации работы телефонной сети используется пара устройств эмуляции глобальной вычислительной сети, которые соединены между собой (рис.6):

Рис.6 — Схема соединения маршрутизаторов с помощью технологии DSL

4.2.2 Настройка связи между маршрутизаторами сети по технологии Frame Relay

Наиболее эффективным является применения Frame Relay в ситуации, когда существует необходимость объединить несколько офисов. Затраты на установку и арендную плату в такой ситуации при использовании Frame Relay будут ниже, чем при организации аналогичной схемы связи с использованием выделенных каналов, которое достигается за счет оптимизации использования канальных ресурсов.

Также применение технологии Frame Relay позволяет оптимально использовать ресурсы при организации доступа к глобальной сети Интернет.

Приведем пример моделирования настройки технологии Frame Relay при построении опорной сети которая состоит из четырех маршрутизаторов.

Для эмуляции работы WAN (Wide Area Network – распределительная вычислительная сети) используется устройство Cloud-PT, который находится на панели WAN Emulation. С помощью последовательного кабеля Serial DTE (Serial Data Terminal Equipment – последовательный кабель терминального оборудования) из панели Connections необходимо последовательно соединить каждый маршрутизатор с WAN. Таким образом, будет собрана схема, которая отображена на рисунке 7.

Рис. 7 – Схема модели опорной сети, построеной по технологии Frame Relay

На каждом маршрутизаторе необходимо настроить последовательный интерфейс, указав IP-Адрес, маску подсети, тактовую частоту и инкапсуляцию кадров Frame Relay. После выполнения этих действий, необходимо сохранить настройки в основной памяти устройства. Следует отметить, что IP-Адреса всех маршрутизаторов должны принадлежать к одной и той же подсети.

Настройка маршрутизатора №1:

Building1(config)#interface serial 2/0

Building1(config-if)#ip address 10.1.1.1 255.255.255.0

Building1(config-if)#clock rate 64000

Building1(config-if)#encapsulation Frame Relay

Настройка маршрутизатора №2:

Building2(config)#interface serial 2/0

Building2(config-if)#ip address 10.1.1.2 255.255.255.0

Building2(config-if)#clock rate 64000

Building2(config-if)#encapsulation Frame Relay

Настройка маршрутизатора №3:

Building3(config)#interface serial 2/0

Building3(config-if)#ip address 10.1.1.3 255.255.255.0

Building3(config-if)#clock rate 64000

Building3(config-if)#encapsulation Frame Relay

Настройка маршрутизатора №4:

Building4(config)#interface serial 2/0

Building4(config-if)#ip address 10.1.1.4 255.255.255.0

Building4(config-if)#clock rate 64000

Building4(config-if)#encapsulation Frame Relay

В технологии Frame Relay каждому окончанию виртуальной цепи назначается идентификатор соединения. Коммутационное оборудование провайдера поддерживает таблицу, которая соотносит эти идентификаторы и исходные порты. При получении фрейма коммутатор анализирует идентификатор и доставляет фрейм на соответствующий исходный порт. В сетях Frame Relay такой идентификатор называется DLCI (Data-Link Connection Identifier – канальный идентификатор соединения). Он идентифицирует виртуальный канал. Для создания постоянных виртуальных каналов коммутатор использует два идентификатора DLCI для каждой пары конечных маршрутизаторов.

Для организации WAN провайдер услуг Frame Relay назначает своим клиентам номера DLCI. Клиентам провайдер услуг назначает номера DLCI в диапазоне от 16 до 1007. Некоторые провайдеры услуг Frame Relay могут разрешить своим клиентам выбрать собственные номера DLCI.

Настройка последовательных портов устройства Cloud-PT происходит на вкладыше Config в разделе Interface. Для каждого из портов указывается набор DLCI и их названия. Т.е. создаются идентификаторы для всех последовательных портов устройства (рис.8). Таким образом, для четирёхпортового устройства, каждый интерфейс должен иметь по три идентификатора DLCI

а б
в г

Рис. 8 – Настройка последовательных интерфейсов

Serial 1 (а), Serial 2 (б), Serial 3 (в), Serial 0 (г) устройства Cloud-PT

Основная конфигурация протокола Frame Relay выполняется в одноименном пункте раздела Connections вкладыша Config. Так как, протокол Frame Relay использует коммутацию точка-точка, то в окне его конфигурации необходимо соединить каждый последовательный интерфейс с каждым (рис. 9).

Рис. 9 – Настройка протокола Frame Relay

Таким образом, для четырех последовательных интерфейсов необходимо шесть попарных соединений.

Packet Tracer 7.2.1 tutorial — Frame Relay configuration

Frame Relay is a protocol standard for WAN internetworking which provides a fast and efficient method of transmitting packets through the network. Frame Relay offers an attractive alternative to both dedicated lines and X.25 networks for WAN links. The success of the Frame Relay protocol is based on the following two factors:

  • Virtual circuits consume bandwidth only when they transport data. Consequently, many virtual circuits can exist across a given transmission line, which is an improvement compared to dedicated leased lines. In addition, each device can use more than the allowed bandwidth as necessary, and thus operate at higher speeds.
  • The increased error-handling sophistication at end stations and the improved reliability of communication lines allows the Frame Relay protocol to discard bad frames and thus eliminate time-consuming error-handling processing.

Cisco Packet Tracer 7.2.1 includes a «Cloud-PT» device for WAN emulation. This device can be configured as a Frame Relay switch. Router are connected to the Frame Relay switch using serial connections. Virtual circuits, LMI types, and DLCI are configured using the Serial and Frame Relay tabs of the «Cloud-PT» device.

Network topology used in this tutorial

A hub and sopke sample network topology is created in Cisco Packet Tracer 7.2.2 :

  • R0 router is the spoke router
  • R1 and R2 routers are frame-relay spokes
  • All frame relay routers are interconnected through a Cisco Packet Tracer Cloud device which emulates frame relay circuits.

Packet Tracer 7.1.1 frame relay sample network

Frame Relay configuration — WAN cloud

Configure the LMI type and DLCI of virtual circuits on each serial interface of the cloud used for Frame Relay operation.

Frame Relay configuration — ISR router configuration

Frame relay hub router configuration (R0)

The hub router is configured with two sub-interfaces to create a virtual circuit with each spoke. Each frame relay sub-interface is mapped with the DLCI number of the corresponding circuit configured in the Packet Tracer WAN emulation Cloud. The DLCI number defines a single virtual connection through the WAN and are the Frame Relay equivalent to a hardware address.

The encapsulation frame-relay command is mandatory on the main serial interface before configuring frame-relay sub interfaces.

The clock rate defines the speed on the serial interface

Frame relay spoke routers configuration (R1 and R2)

The spoke routers have only one virtual circuit configured to reach the hub router. The DLCI configured on both spoke routers is the same as the DLCI is locally significant between the WAN Cloud and each customer.

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *