Professional Documents
Culture Documents
1229118-Никола Колев - Упражнение 10
1229118-Никола Колев - Упражнение 10
1229118-R1(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up
1229118-R1(config-if)#
1229118-R1(config-if)#exit
1229118-R1(config)#int g0/1
1229118-R1(config-if)#ip address 192.168.1.1 255.255.255.0
1229118-R1(config-if)#no shutdown
1229118-R1(config-if)#
%LINK-5-CHANGED: 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 128000
1229118-R1(config-if)#ip address 192.168.2.253 255.255.255.252
1229118-R1(config-if)#no shutdown
Router>enable
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#no ip domain-lookup
Router(config)#hostname 1229118-R2
1229118-R2(config)#int s0/0/0
1229118-R2(config-if)#ip address 192.168.2.254 255.255.255.252
1229118-R2(config-if)#no shutdown
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 128000
1229118-R2(config-if)#ip address 209.165.200.226 255.255.255.224
1229118-R2(config-if)#no shutdown
Router>enable
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#no ip domain lookup
Router(config)#hostname 1229118-ISP
1229118-ISP(config)#int s0/0/1
1229118-ISP(config-if)#ip address 209.165.200.225 255.255.255.224
1229118-ISP(config-if)#no shutdown
1229118-ISP(config-if)#
%LINK-5-CHANGED: Interface Serial0/0/1, changed state to up
1229118-ISP(config-if)#end
1229118-ISP#
%SYS-5-CONFIG_I: Configured from console by console
1229118-R2(config-router)#default-information originate
1229118-R2(config-router)#exit
1229118-R2(config)#ip route 0.0.0.0 0.0.0.0 209.165.200.225
1229118-R2(config)#exit
1229118-R2#
%SYS-5-CONFIG_I: Configured from console by console
ISP
1229118-ISP>enable
1229118-ISP#conf t
Enter configuration commands, one per line. End with CNTL/Z.
1229118-ISP(config)#ip route 192.168.0.0 255.255.252.0 209.165.200.226
1229118-ISP(config)#exit
1229118-ISP#
%SYS-5-CONFIG_I: Configured from console by console
PC2
1229118-R2#conf t
Enter configuration commands, one per line. End with CNTL/Z.
1229118-R2(config)#ip dhcp excluded-address 192.168.0.1 192.168.0.9
1229118-R2(config)#ip dhcp excluded-address 192.168.1.1 192.168.1.9
1229118-R2(config)#ip dhcp pool R1G1
1229118-R2(dhcp-config)#network 192.168.1.0 255.255.255.0
1229118-R2(dhcp-config)#default-router 192.168.1.1
1229118-R2(dhcp-config)#dns-server 209.165.200.225
1229118-R2(dhcp-config)#domain-name ccna-lab.com
1229118-R2(dhcp-config)#lease 2
^
% Invalid input detected at '^' marker.
1229118-R2(dhcp-config)#exit
1229118-R2(config)#ip dhcp pool R1G0
1229118-R2(dhcp-config)#network 192.168.0.0 255.255.255.0
1229118-R2(dhcp-config)#default-router 192.168.0.1
1229118-R2(dhcp-config)#dns-server 209.165.200.225
1229118-R2(dhcp-config)#domain-name ccna-lab.com
1229118-R2(dhcp-config)#lease 2
^
% Invalid input detected at '^' marker.
1229118-R2(dhcp-config)#end
1229118-R2#
%SYS-5-CONFIG_I: Configured from console by console
Bluetooth Connection:
C:\>
Bluetooth Connection:
Connection-specific DNS Suffix..:
Physical Address................: 00E0.B046.5155
Link-local IPv6 Address.........: ::
IPv6 Address....................: ::
IPv4 Address....................: 0.0.0.0
Subnet Mask.....................: 0.0.0.0
Default Gateway.................: ::
0.0.0.0
DHCP Servers....................: 0.0.0.0
DHCPv6 IAID.....................:
DHCPv6 Client DUID..............: 00-01-00-01-86-CE-43-37-00-01-63-E8-4A-83
DNS Servers.....................: ::
0.0.0.0
C:\>
PC-A
1229118-R1>enable
1229118-R1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
1229118-R1(config)#int g0/0
1229118-R1(config-if)#ip helper-address 192.168.2.254
1229118-R1(config-if)#exit
1229118-R1(config)#int g0/1
1229118-R1(config-if)#ip helper-address 192.168.2.254
1229118-R1(config-if)#end
1229118-R1#
%SYS-5-CONFIG_I: Configured from console by console
Bluetooth Connection:
C:\>
Bluetooth Connection:
C:\>
PC2
1229118-R2>enable
1229118-R2#show ip dhcp binding
IP address Client-ID/ Lease expiration Type
Hardware address
192.168.1.10 0001.63E8.4A83 -- Automatic
192.168.0.10 0002.1640.5254 -- Automatic
1229118-R2#
Pool R1G1 :
Utilization mark (high/low) : 100 / 0
Subnet size (first/next) : 0 / 0
Total addresses : 254
Leased addresses : 1
Excluded addresses : 2
Pending event : none
Pool R1G0 :
Utilization mark (high/low) : 100 / 0
Subnet size (first/next) : 0 / 0
Total addresses : 254
Leased addresses : 1
Excluded addresses : 2
Pending event : none
PC2:
1229118-R2#ping 192.168.0.10
1229118-R2#ping 192.168.1.10
1229118-R2#ping 192.168.1.10
1229118-R2#
PC-A
C:\>ping 192.168.1.10
C:\>ping 192.168.0.10
C:\>
PC-A:
1229118-R1#show running-config
Building configuration...
1229118-R1#
PC2:
1229118-R2#show running-config
Building configuration...
1229118-R2#
PC3:
1229118-ISP#show running-config
Building configuration...
1229118-ISP#
PC-A
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
1229118-R1#
PC3
1229118-ISP#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-ISP#
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#