In small and medium enterprise network interconnection, there are many connections using Frame Relay networks because the transmission mode is similar to a leased line and supports Traffic Transmission. If it is a frame relay network, then, the interfaces connecting the vswitch are all various frame relay nodes. In this way, multiple virtual connection channels are formed and attached to a network line. Therefore, this is more economical than the leased line.
Frame relay is a service that provides two-way transmission of user information between user-network interfaces and maintains the same order of information. A frame relay network consists of a frame relay node and a transmission link. The Network provides connections between two or more user terminals for communication. In the frame relay network, it is difficult to connect each frame relay node to each other economically or in terms of construction. Therefore, it is very important to establish a network reasonably.
Frame Relay has the following features: VC, or virtual connection. However, there is still a fundamental difference from a leased line network; this virtual connection virtual channel is only considered as a logical connection. The leased line is determined to have a specific leased line interface, and the channel on the leased line network interface is dedicated.
While VC is only a connection, it is also a logical virtual connection, using a statistical service. It is different from the leased line, so the efficiency will be slightly different.
There are two ways for VC: one is that the logic of the svc transmission mode is not fixed each time. This means that after one-time data transmission is complete, the channel will be automatically disconnected; the other type is pvc, which is a permanent virtual channel. setting a fixed virtual channel will always exist. Note that VC, a virtual channel, does not support broadcasting; therefore, this connection method is not a broadcast method; NMBA is not a broadcast Multi-Channel Access Network.
Example experiment:
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131227/0442353D6-0.jpg "title =" 1 Structure Topology .jpg "alt =" 114145724.jpg"/>
In this enterprise Internet, a Headquarters has two branches. In order to connect them, the intermediate cloud maps are connected using the network's frame relay network; because the others are Ethernet, while the middle Wan is frame relay, the middle Internet cloud maps are prepared by the operator;
Therefore, the implementation restrictions cannot be implemented using a layer-3 Switch. Therefore, only vro connections can be used for Frame Relay switching );
The headquarters and branches are connected to the network through Ethernet interfaces. Because the inter-network is set to a frame relay network, the interfaces connecting to the switch are various frame relay nodes; in this way, multiple VC virtual connection channels are attached to a network line. Therefore, this is more cost-effective than the leased line.
There are two vc virtual connection cables from the headquarters to the Branch. If you want to test it, you need to simulate the frame relay switch. You can set the route as a frame relay node; therefore, six routers can be used to simulate experiments.
Path:
Headquarters -- route forwarding -- frame relay interface -- Frame Relay Network -- route forwarding -- Branch
Set the Headquarters R1, branch R2, and branch R3, and the routes corresponding to the frame relay node are FR1, FR2, and FR3 respectively;
The number of the VC virtual channel from the headquarters to the branch: 100 -- 101 -- 102; the other is set to 200 -- 201--202.
Port Settings:
R1, R2, and R3 are all Ethernet interfaces with four serial ports. FR1, FR2, and FR3 are also Ethernet interfaces and four serial ports;
Address and port connection:
Headquarters R1 address: 192.168.1.0
Address pipe headquarters R1: S1/0 192.168.4.1 -- >>> branch R2 S1/0 192.168.4.2
Address pipe headquarters R1: S1/0 192.168.5.1 -- >>>> branch R3 S1/0 192.168.5.2
Branch R2 192.168.2.0
Branch R3 192.168.3.0
Connection Port:
R1--S1/0 --> FR1 -- S0/0
R2--S1/0 --> FR2 -- S0/0
R3--S1/0 --> FR3 -- S0/0
Frame Relay Network)
FR1--S0/1 --> FR2 -- connections between S0/1 frame relay nodes)
FR1--S0/2 --> FR3 -- S0/2
Nodes are also directly connected to all networks. Plan the topology:
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131227/0442356106-1.jpg "title =" topology .jpg "alt =" 111088103.jpg"/>
Describes the configuration process:
Set the frame relay node/the first node is also the FR1 route setting device;
FR1]
You can set a name named fr1.
The route settings are called frame relay node first:
Farm-relay switching
The purpose is to change the routing device to a vswitch)
Then, set the port;
Int s0/0
This port processes the frame structure, so it needs to be split ;)
To illustrate what kind of frame is my frame:
Atm-dxi/frame-relay/hdlc/lapb/ppp/smds/x25
Encapsulation frame-relay ietf
This is because the frame relay network is used, so it is called the sub-assembly Frame Relay (Standard ietf format)
The carrier's port is DCE because it can control the number rate and the device's port DTE; therefore, you must set its type.
(In fact, there is also a kind of nni called network-to-Network Interface)
Frame-relay intf-type dce
Set the port channel type
Clock rate 64000
Describes how the status of the pipeline is set; whether a signaling is required for the maintenance of the entire pipeline,
This signaling method is also called the local management interface. It is a type of maintenance signaling and mainly transmits status information;
There are 3 formats: cisco ansi q.933a, which is used to maintain pipeline signals;
This is a cisco simulation, so cisco is used;
Frame-relay lm-type cisco
Then there is the forwarding table and the interface for setting the pipeline going through;
Frame-relay route 100 interface s0/1 101
Logical Channel Number of the virtual link between the Headquarters and the two branches;
Frame-relay route 200 interface s0/2 201
Enable port s0/0.:
Int s0/0
No shutdown
After the configuration is complete, you can check whether the configuration content is effective:
Show runningconfig
After the Frame Relay port is set, the interface is changed to an exchange-type frame relay interface, so you do not need to configure the address ;)
Then configure s0/1 and s0/2.:
Int s0/1
No shutdown
Next, package the relay interface type forwarding interface pipeline:
Encapsulation frame-relay
Frame-relay intf-type dce
Clock rate 64000
Because signaling only exists in one network segment, each segment of the interface must be configured.
Frame-relay lm-type cisco
Frame-relay route 101 int s0/0 100
(Line Interface)
Port s0/2
Step-by-Step Relay
Config
Int s0/2
No shutdown
Encapsulation frame-relay
Frame-relay intf-type dce
Clock rate 64000
Frame-relay lm-type cisco
Frame-relay route 201 int s0/0 200
Frame relay node 2
FR2]
To facilitate observation, you can change the name;
Enable
Config
Host
Hostname FR-2
Link console 0
Logg
Logging synchronous
No exec-timeout
Exit
Frame-relay switching
Int s0/0
Encapsulation frame-relay
Frame-relay intf-type dce
Clock rate 64000
Frame-relay lm-type cisco
Frame-relay route 102 int s0/1 101
(Set the numbers of incoming and outgoing virtual pipelines)
Int s0/1
No shutdown
Encapsulation frame-relay
Frame-relay intf-type dte
(Because dce must be consistent with the device on the upstream line)
Frame-relay lm-type cisco
Frame-relay route 101 int s0/0 102
Show frame-relay pvc
(Check the MPs queue status. If the test configuration is correct, a message indicating the number of virtual connection MPs queues in the switched network is displayed. If it is a vro, its name is local, is local. The status and connection port are also displayed .)
Then frame relay node 3
FR3]
Enable
Config
Host
Hostname fr-3
Exit
Frame-relay switching
Int s0/0
No shutdown
Encapsulation frame-relay
Frame-relay intf-type dce
The user-oriented port is dce ;)
Clock rate 64000
This is because what type of switch is built on what type of network, if it is a frame relay network, that is, a frame relay switch, and if it is an Ethernet switch, it is Ethernet. Obviously, this is a frame relay network.
Frame-relay lm-type cisco
Frame-relay route 202 int s0/2 201
Int s0/2
No shutdown
Encapsulation frame-relay
Frame-relay intf-type dte
Frame-relay lm-type cisco
The following is the forwarding table:
Frame-relay route 201 int s0/0 202
Next, configure the route:
R1]
Enable
Config
Host
Hostname r1
Link console 0
Logg
Logging synchronous
No exec-timeout
Exit
Int f0/0(Configure the Ethernet Interface)
Ip add 192.168.1.1 255.225.255.0
No shutdown
Int s1/0
The operation port for graph setting should have two addresses
Ip add 192.168.4.1 255.255.255.0
Ip add 192.168.5.1 255.255.255.0 secondary
(It indicates a secondary address. If it is not added, the address of 4.1 will be dropped ;)
No shutdown
Encapsulation frame-relay
Frame-relay intf-type dteThe next interface type does not need to be configured)
Frame-relay lm-type cisco
Then start ing; R1 wants to get the address of R2, 100 Pipe
Frame-relay map ip 192.168.4.2 100
Frame-relay map ip 192.168.5.2 200
Exit
Now the port configuration is complete, and then the route table is created. The global configuration is still as follows:
Config
Ip route 192.168.2.0 255.255.255.0 192.168.4.2
Ip route 192.168.3.0 255.255.255.0 192.168.5.2
Then show runningconfig;
Check that the next hop address of an address forwarding table is in the 100 pipeline. Similarly, the next hop from R1 to branch 3.0 to 5.2 is in the 200 pipeline; you can also check the MPs queue status ;)
Show frame-relay pvc
The test shows that the two pipelines are on one physical link)
Branch route Configuration
R2]
Int f0/0
Ip add 192.168.2.1 255.255.255.0
No shut down
Int s1/0
Ip add 192.168.4.2 255.255.255.0
No shut down
Then perform the sub-assembly;
Encapsulation frame-relay
Frame-relay lm-type cisco
Frame-relay map ip 192.168.4.1 102
This type of network is called multi-channel access and MV network, and 4.1 of pipelines are required to reach 102;
Then, configure the route;
Exit
Config in global configuration mode:
Ip route 0.0.0.0 0.0.0.0 192.168.4.1
In fact, you can perform a test: access the R1 network address on R2; If yes, the entire 100 101 102 pipeline can communicate; you can also show frame-relay pvc; let's take a look at the pipeline of this number. Its usage is local, its status is activated, and the port to which it is bound; you can also see the following details about how many packages are included, how many packages are going out, and how many errors are generated ;)
Configure another branch route:
R3]
Enable
Config
Host
Hostname r3
Link console 0
Logg
Logging synchronous
No exec-timeout
Exit
Int f0/0
Ip add 192.168.3.1 255.255.255.0
No shutdown
Int s1/0
Ip add 192.168.5.2 255.255.255.0
No shutdown
Encapsulation frame-relay
Frame-relay lm-type cisco
Signaling format)
Frame-relay map ip 192.168.5.1 202
Specify the next hop address and the 202 route to be taken)
Exit
Next, the route table;
Ip route 0.0.0.0 0.0.0.0 192.168.5.1
The address goes through the next hop)