Welcome to our Online Store!

Router how to configure static routing, static routing configuration method

2018-01-15 15:55:04

with the development of the society, the router USES more and more, the main function of the router is to connect multiple networks, data packets can be forwarded to the network and other network number itself, the premise is the router with network need to be connected to each other on the other side, the following will talk about how to static routing of router configuration.

first opens the CISCO simulator software, finds out the Cisco 2811 router 4, Cisco 2960 switch 3, PC 4, arranges them in the corresponding order, and connects them with the corresponding twisted pair lines, as shown below:

planning of each PC IP address, subnet mask and gateway, and put them in the configuration of the corresponding PC, PC0 IP 192.168.40.10/24 192.168.40.1 PC11 address, IP address is 192.168.10.10/24 192.168.10.1, pc21 IP 192.168.20.10/24 192.168.20.1 pc31 address, IP address is 192.168.30.10/24 192.168.30.1, as shown below:

names the corresponding names for each router. The name of router A is a. The name of routers B is B. The name of router C is C, and the name of router ISP is ISP, as shown below:

configures the router a to allocate the IP address for each interface of the router a. The configuration commands are as follows:

a(config)#int s0/0/0

a(config-if)#description line to b-s0/0/0

a(config-if)#clock rate 64000

a(config-if)#ip add 192.168.100.1 255.255.255.0

a(config-if)#no shut

%LINK-5-CHANGED: Interface Serial0/0/0, changed state to down

a(config)#int s0/0/1

a(config-if)#description line to c-s0/0/0

a(config-if)#clock rate 64000

a(config-if)#ip add 192.168.200.1 255.255.255.0

a(config-if)#no shut

%LINK-5-CHANGED: Interface Serial0/0/1, changed state to down

a(config-if)#int f0/1

a(config-if)#description line to isp-f0/1

a(config-if)#ip add 192.168.110.1 255.255.255.0

a(config-if)#no sh

a(config-if)#int f0/0

a(config-if)#description line to lan10

a(config-if)#ip add 192.168.10.1 255.255.255.0

a(config-if)#no shut

configuring the command and using “ The show IP route "command to view the routing table situation of the router a, as shown in the following diagram:

configuration router B interface configuration, router C interface configuration, as routers a configuration method, as shown in the following figure:

gives routers a, router B and router C static routing configuration, and the static routing commands of router a are:

a#conf t

a (config) #ip route 192.168.20.0 255.255.255.0 192.168.100.2

a (config) #ip route 192.168.30.0 255.255.255.0 192.168.200.2

a (config) #

The static routing command of the

configuration router B is:

b#conf t

b (config) #ip route 192.168.10.0 255.255.255.0 192.168.100.1

b (config) #ip route 192.168.30.0 255.255.255.0 192.168.100.1

The static routing command of the

configuration router C is:

c#conf t

c (config) #ip route 192.168.10.0 255.255.255.0 192.168.200.1

c (config) #ip route 192.168.20.0 255.255.255.0 192.168.200.1

as shown in the following figure:

uses &ldquo, The show IP route "command to see the routers of all routers on all routers, and then use ping command to Ping connectivity between PC units. Only PC0 can not communicate with other computers, as shown below:

configures the default routing on the router B, and the configuration command is:

b#conf t

b (config) #ip route 0.0.0.0 0.0.0.0 192.168.100.1

as shown in the following figure:

configures the interface address of the router ISP, static routing, configuration command is:

now each PC can communicate with each other, as shown in the following figure:

note

When configuring a router in, you need to configure it in the global configuration mode.With

"Throughout the show IP route &;The command to view such as remember to check in privileged mode.

Taiwan static routing the next-hop route to the configured, the next jump is looking for the next address to the interface of communication.

static routing configuration, the default route configuration.

above the static routing is router configuration method iconography, operation is not very difficult, not friends can refer to this paper, the hope can help to you.

Address: Room110,No.389 Jinwan Road,Shanghai,China

Email: daisy.dai@ccitel.com
service time: 7x24 hour

CCIT ICT PRODUCTS