Simple frame relay Experiment

Source: Internet
Author: User

Anti-frame function:

If you have a company in Beijing that needs to connect to the following remote branches in Shijiazhuang and Shanghai, if your company has only one serial port on the router, pull the leased line, two leased lines need to be connected to two different subsidiaries, and two serial ports need to be connected to the corresponding vro. If frame relay is used, only one serial port is needed, to put it bluntly, communication between Beijing and Shijiazhuang and Shanghai companies needs to pull two lines, but frame relay only needs to pull one line. In fact, it is to share a physical line, which is cheaper than renting a leased line.

 

Frame Relay principle:

 

The frame relay protocol is a simplified X.25 Wan protocol that provides multiple virtual circuits on a single physical link. Each link is identified by a dlci (data link connection identifier ), dlci is valid only on the local interface and the connected peer interface, but not globally valid. That is to say, the same dlci on different physical interfaces does not represent the same virtual circuit.

 

 

Tutorial topology:

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M00/39/59/wKioL1O5R7CRmhFEAAFJcWIQZ48467.jpg "Title =" image001.png "alt =" wkiol1o5r7crmhfeaafjcwiqz48467.jpg "/>

 

Two network segments are required for connecting Beijing routers to Shijiazhuang and Shanghai, one from Beijing to Shijiazhuang and one from Shanghai.

I designed the network segments from Beijing to Shijiazhuang 192.168.1.0/24, and from Beijing to Shanghai 192.168.2.0/24.

Set a point-to-point network because the Beijing router communicates directly with the Shijiazhuang or Shanghai router.


Configure two logic notifications on frame relay.

Beijing to Shijiazhuang is 101 to 102,102 to 103

Beijing to Shanghai is 201 to 202,202 to 203

 

Configuration process:

Permanent virtual circuit configuration

 

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/39/59/wKiom1O5R-vAbIHjAAF9nvLOTrQ934.jpg "style =" float: none; "Title =" image003.png "alt =" wKiom1O5R-vAbIHjAAF9nvLOTrQ934.jpg "/>

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M01/39/59/wKioL1O5R7yT0NcQAAGLVOWItvQ246.jpg "style =" float: none; "Title =" image005.png "alt =" wkiol1o5r7yt0ncqaaglvowitvq246.jpg "/>


 

 

R1 router configuration

 

Physical Interface Configuration

R1 (config) # interface serial 1/0

R1 (config-If) # encapsulation frame-relay

R1 (config-If) # No Shutdown

 

Sub-interface configuration

 

R1 (config) # interface serial 1/0. 1point-to-point

R1 (config-subif) # IP address 192.168.1.1255.20.255.0

R1 (config-subif) # frame-relay interface-dlci101

R1 (config-fr-dlci) # exit

R1 (config-subif) # exit

R1 (config) # interface serial 1/0. 2point-to-point

R1 (config-subif) # IP address 192.168.2.1255.255.255.0

R1 (config-subif) # frame-relay interface-dlci201

 

R2 router configuration

 

R2 (config) # interfaceserial 1/0

R2 (config-If) # encapsulationframe-relay

R2 (config) # interfaceserial 1/0. 1 point-to-point

R2 (config-subif) # IPaddress 192.168.1.2 255.255.255.0

R2 (config-subif) # frame-relayinterface-dlci 103

 

R3 router configuration

 

R3 (config) # interfaceserial 1/0

R3 (config-If) # encapsulationframe-relay

R3 (config-If) # exit

R3 (config) # interfaceserial 1/0. 1 point-to-point

R3 (config-subif) # IPaddress 192.168.2.2 255.255.255.0

R3 (config-subif) # frame-relayinterface-dlci 203

 

After the experiment is configured, the network in Beijing can access Shijiazhuang and Shanghai, but the network in Shanghai and Shijiazhuang cannot communicate with each other. If they need to communicate with each other, they need to set up virtual links between them.


This article is from the "flying Ice" blog, please be sure to keep this source http://wangjunkang.blog.51cto.com/8809812/1435099

Related Article

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.