0% found this document useful (0 votes)
18 views12 pages

Dinh Thuyen!!

The document describes the configuration of three routers - R1, R2, and R3 - to establish routing between their connected networks. It details the configuration of interface and IP addresses on each router, as well as the enabling of RIP routing and addition of networks to the RIP routing process. Static routes are also configured on each router to reach networks connected to the other routers.

Uploaded by

anhvietnamdota2
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views12 pages

Dinh Thuyen!!

The document describes the configuration of three routers - R1, R2, and R3 - to establish routing between their connected networks. It details the configuration of interface and IP addresses on each router, as well as the enabling of RIP routing and addition of networks to the RIP routing process. Static routes are also configured on each router to reach networks connected to the other routers.

Uploaded by

anhvietnamdota2
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 12

Dinh tuyen dong

R1 Router>ena Router#conf ter Enter configuration commands, one per line. End with CNTL/Z. Router(config)#hostname R1 R1(config)#int s0/3/0 R1(config-if)#ip add 192.168.13.1 255.255.255.0 R1(config-if)#clock rate 64000 This command applies only to DCE interfaces R1(config-if)#no shut %LINK-5-CHANGED: Interface Serial0/3/0, changed state to down R1(config-if)#exit R1(config)#int s0/3/1 R1(config-if)#ip add 192.168.12.1 255.255.255.0 R1(config-if)#clock rate 64000 This command applies only to DCE interfaces

R1(config-if)#no shut %LINK-5-CHANGED: Interface Serial0/3/1, changed state to up R1(config-if)#exit R1(config)#int f0/0 %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/3/1, changed state to up R1(config-if)#ip add 192.168.1.1 255.255.255.0 R1(config-if)#no shut %LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up R1(config-if)#exit R1(config)#router rip R1(config-router)#network 192.168.12.0 R1(config-router)#network 192.168.13.0 R1(config-router)#network 192.168.1.0 R1(config-router)#end

R3

Router>ena Router#conf ter Enter configuration commands, one per line. End with CNTL/Z. Router(config)#hostname R3 R3(config)#int s0/3/0 R3(config-if)#ip add 192.168.13.2 255.255.255.0 R3(config-if)#clock rate 64000 R3(config-if)#no shut %LINK-5-CHANGED: Interface Serial0/3/0, changed state to up R3(config-if)#exit %LINK-5-CHANGED: Interface Serial0/3/0, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/3/0, changed state to up R3(config)#int s0/3/1 R3(config-if)#ip add 192.168.2.1 255.255.255.0 R3(config-if)#clock rate 64000 R3(config-if)#no shut

%LINK-5-CHANGED: Interface Serial0/3/1, changed state to up R3(config-if)#exit %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/3/1, changed state to up R3(config)#int f0/0 R3(config-if)#ip add 192.168.3.1 255.255.255.0 R3(config-if)#no shut %LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up R3(config-if)#exit R3(config)#router rip R3(config-router)#network 192.168.13.0 R3(config-router)#network 192.168.23.0 R3(config-router)#network 192.168.3.0 R3(config-router)#end R3# %SYS-5-CONFIG_I: Configured from console by console %SYS-5-CONFIG_I: Configured from console by console

R2

Router>ena Router#conf ter Enter configuration commands, one per line. End with CNTL/Z. Router(config)#hostname R2 R2(config)#int s0/3/0 R2(config-if)#ip add 192.168.12.2 255.255.255.0 R2(config-if)#clock rate 64000 R2(config-if)#no shut %LINK-5-CHANGED: Interface Serial0/3/0, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/3/0, changed state to up R2(config-if)#exit R2(config)#int s0/3/1 R2(config-if)#ip add 192.168.23.2 255.255.255.0 R2(config-if)#clock rate 64000

This command applies only to DCE interfaces R2(config-if)#no shut %LINK-5-CHANGED: Interface Serial0/3/1, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/3/1, changed state to up R2(config-if)#exit R2(config)#int f0/0 R2(config-if)#ip add 192.168.2.1 255.255.255.0 R2(config-if)#no shut %LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up R2(config-if)#exit R2(config)#router rip R2(config-router)#network 192.168.23.0 R2(config-router)#network 192.168.12.0 R2(config-router)#network 192.168.2.0 R2(config-router)#exit

Dinh tuyen tinh

R2

Router>ena Router#conf ter Enter configuration commands, one per line. End with CNTL/Z. Router(config)#hostname R2 R2(config)#int s0/3/1 R2(config-if)#ip add 192.168.23.2 255.255.255.0 R2(config-if)#clock rate 64000 This command applies only to DCE interfaces Router(config-if)#no shut %LINK-5-CHANGED: Interface Serial0/3/1, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/3/1, changed state to up R2(config-if)#ip route 192.168.3.0 255.255.255.0 192.168.23.1 R2(config)#int s0/3/0

R2(config-if)#ip add 192.168.12.2 255.255.255.0 R2(config-if)#clock rate 64000 R2(config-if)#no shut %LINK-5-CHANGED: Interface Serial0/3/0, changed state to up Router(config-if)#ip route 192.168.2 %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/3/0, changed state to up R2(config-if)#ip route 192.168.1.0 255.255.255.0 192.168.12.1 R2(config)#int f0/0 R2(config-if)#ip add 192.168.2.1 255.255.255.0 R2(config-if)#no shut %LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up

R1

Router> Router>

Router>ena Router#conf ter Enter configuration commands, one per line. End with CNTL/Z. Router(config)#hostname R1 R1(config)#int s0/3/0 R1(config-if)#ip add 192.168.13.1 255.255.255.0 R1(config-if)#clock rate 64000 This command applies only to DCE interfaces R1(config-if)#no shut %LINK-5-CHANGED: Interface Serial0/3/0, changed state to down Router(config-if)#ip route 192.168.3.0 255.255.255.0 192.168.13.2 %SYS-5-CONFIG_I: Configured from console by console R1(config)#int s0/3/1 R1(config-if)#ip add 192.168.12.1 255.255.255.0 R1(config-if)#clock rate 64000 This command applies only to DCE interfaces R1(config-if)#no shut %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/3/1, changed state to up

%LINK-5-CHANGED: Interface Serial0/3/0, changed state to up Router(config-if)#ip route 192.168.2.0 255.255.255.0 192.168.12.2 R1(config)#int f0/0 R1(config-if)#ip add 192.168.1.1 255.255.255.0 R1(config-if)#no shut %LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up

R3

Router>ena Router#conf ter Enter configuration commands, one per line. End with CNTL/Z. Router(config)#hostname R3 R3(config)#int s0/3/0 R3(config-if)#ip add 192.168.13.2 255.255.255.0 R3(config-if)#clock rate 64000

Router(config-if)#no shut %LINK-5-CHANGED: Interface Serial0/3/0, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/3/0, changed state to up R3(config-if)#ip route 192.168.1.0 255.255.255.0 192.168.13.1 R3(config)#int s0/3/1 R3(config-if)#ip add 192.168.23.1 255.255.255.0 R3(config-if)#clock rate 64000 R3(config-if)#no shut %LINK-5-CHANGED: Interface Serial0/3/1, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/3/1, changed state to up R3(config-if)#ip route 192.168.2.0 255.255.255.0 192.168.23.2 R3(config)#int f0/0 R3(config-if)#ip add 192.168.3.1 255.255.255.0 R3(config-if)#no shut %LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up

You might also like