Professional Documents
Culture Documents
1229118-Никола Колев-Упр7
1229118-Никола Колев-Упр7
1229118-R1(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/1, changed state to
up
1229118-R1(config-if)#exit
1229118-R1(config)#int s0/0/0
1229118-R1(config-if)#clock rate 1000000
1229118-R1(config-if)#ip address 10.1.1.1 255.255.255.252
1229118-R1(config-if)#no shut
1229118-R2(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up
1229118-R2(config-if)#exit
1229118-R2(config)#int s0/0/0
1229118-R2(config-if)#ip address 10.1.1.2 255.255.255.252
1229118-R2(config-if)#no shut
1229118-R2(config-if)#
%LINK-5-CHANGED: Interface Serial0/0/0, changed state to up
1229118-R2(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up
1229118-R2(config-if)#exit
1229118-R2(config)#int s0/0/1
1229118-R2(config-if)#clock rate 1000000
1229118-R2(config-if)#ip address 10.2.2.2 255.255.255.252
1229118-R2(config-if)#no shut
1229118-R3(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/1, changed state to up
1229118-R3(config-if)#exit
1229118-R3(config)#int s0/0/1
1229118-R3(config-if)#ip address 10.2.2.1 255.255.255.252
1229118-R3(config-if)#no shut
1229118-R3(config-if)#
%LINK-5-CHANGED: Interface Serial0/0/1, changed state to up
1229118-R3(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/1, changed state to up
1229118-R3(config-if)#end
1229118-R3#
%SYS-5-CONFIG_I: Configured from console by console
PC-A:
1229118-R1>en
1229118-R1#show run
Building configuration...
1229118-R1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
1229118-R1(config)#router rip
1229118-R1(config-router)#version 2
1229118-R1(config-router)#passive-interface g0/1
1229118-R1(config-router)#do show ip route connected
C 10.1.1.0/30 is directly connected, Serial0/0/0
C 172.30.10.0/24 is directly connected, GigabitEthernet0/1
1229118-R1(config-router)#network 172.30.0.0
1229118-R1(config-router)#network 10.0.0.0
1229118-R1(config-router)#end
1229118-R1#
%SYS-5-CONFIG_I: Configured from console by console
1229118-R3(config-router)#network 10.0.0.0
1229118-R3(config-router)#network 172.30.0.0
1229118-R3(config-router)#end
1229118-R3#
%SYS-5-CONFIG_I: Configured from console by console
1229118-R2#ping 10.2.2.1
1229118-R2#conf t
Enter configuration commands, one per line. End with CNTL/Z.
1229118-R2(config)#router rip
1229118-R2(config-router)#version 2
1229118-R2(config-router)#do show ip route connected
C 10.1.1.0/30 is directly connected, Serial0/0/0
C 10.2.2.0/30 is directly connected, Serial0/0/1
C 209.165.201.0/24 is directly connected, GigabitEthernet0/0
1229118-R2(config-router)#network 10.0.0.0
1229118-R2(config-router)#end
1229118-R2#
%SYS-5-CONFIG_I: Configured from console by console
C:\>ping 172.30.30.3
C:\>ping 172.30.30.3
C:\>ping 209.165.201.2
C:\>
Проверяваме връзките на R2
1229118-R2#show ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
1229118-R2#
C:\>ping 172.30.10.1
C:\>
Проверяваме връзките на R3
1229118-R3>en
1229118-R3#show ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
1229118-R3#
Проверяваме връзките на R1
1229118-R1>en
1229118-R1#show ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
PC-B:
1229118-R2>en
1229118-R2#show ip protocols
Routing Protocol is "rip"
Sending updates every 30 seconds, next due in 1 seconds
Invalid after 180 seconds, hold down 180, flushed after 240
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Redistributing: rip
Default version control: send version 2, receive 2
Interface Send Recv Triggered RIP Key-chain
Serial0/0/0 2 2
Serial0/0/1 2 2
Automatic network summarization is in effect
Maximum path: 4
Routing for Networks:
10.0.0.0
Passive Interface(s):
Routing Information Sources:
Gateway Distance Last Update
10.1.1.1 120 00:00:05
10.2.2.1 120 00:00:25
Distance: (default is 120)
1229118-R2#
PC-C:
1229118-R3#show ip protocols
Routing Protocol is "rip"
Sending updates every 30 seconds, next due in 14 seconds
Invalid after 180 seconds, hold down 180, flushed after 240
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Redistributing: rip
Default version control: send version 2, receive 2
Interface Send Recv Triggered RIP Key-chain
Serial0/0/1 2 2
GigabitEthernet0/1 2 2
Automatic network summarization is in effect
Maximum path: 4
Routing for Networks:
10.0.0.0
172.30.0.0
Passive Interface(s):
Routing Information Sources:
Gateway Distance Last Update
10.2.2.2 120 00:00:13
Distance: (default is 120)
1229118-R3#
Връщаме се в R1:
1229118-R1>en
1229118-R1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
1229118-R1(config)#router rip
1229118-R1(config-router)#no auto-summary
1229118-R1(config-router)#end
1229118-R1#
%SYS-5-CONFIG_I: Configured from console by console
1229118-R1#clear ip route *
1229118-R1#
R3:
1229118-R3#conf t
Enter configuration commands, one per line. End with CNTL/Z.
1229118-R3(config)#router rip
1229118-R3(config-router)#no auto-summary
1229118-R3(config-router)#end
1229118-R3#
%SYS-5-CONFIG_I: Configured from console by console
1229118-R3#clear ip route *
1229118-R2#conf t
Enter configuration commands, one per line. End with CNTL/Z.
1229118-R2(config)#ip route 0.0.0.0 0.0.0.0 209.165.201.2
1229118-R2(config)#router rip
1229118-R2(config-router)#default-information originate
C:\>ping 172.30.30.1
PC-B:
1229118-R2#show ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route