ex9a_R4_DHCP_byRouter
Router
RA
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
| enable configure terminal hostname RA no ip domain-lookup line console 0 password cisco login exit line vty 0 4 password cisco transport input ssh login local exit enable secret ccna service password-encryption interface fa 0/1 ip address 100.xy.1.1 255.255.255.0 no shutdown interface se 0/2/0 ip address 10.255.xy.2 255.255.255.248 clock rate 1000000 no shutdown interface fa 1/0 ip address 10.255.xy.11 255.255.255.248 no shutdown exit ip dhcp excluded-address 100.xy.1.1 100.xy.1.10 ip dhcp pool POOL_100_xy_1 network 100.xy.1.0 255.255.255.0 default-router 100.xy.1.1 exit router ospf xy router-id 1.1.1.1 network 100.xy.1.0 0.0.0.255 area xy network 10.255.xy.2 0.0.0.7 area xy network 10.255.xy.8 0.0.0.7 area xy exit exit copy r s
|
RB
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
| enable configure terminal hostname RB no ip domain-lookup line console 0 password cisco login exit line vty 0 4 password cisco transport input ssh login local exit enable secret ccna service password-encryption interface fa 0/1 ip address 100.xy.2.1 255.255.255.0 no shutdown interface se 0/2/0 ip address 10.255.xy.3 255.255.255.248 clock rate 1000000 no shutdown interface fa 1/1 ip address 10.255.xy.19 255.255.255.248 no shutdown interface fa 0/0 ip address 10.255.xy.33 255.255.255.248 no shutdown exit ip dhcp excluded-address 100.xy.2.1 100.xy.2.10 ip dhcp pool POOL_100_xy_2 network 100.xy.2.0 255.255.255.0 default-router 100.xy.2.1 exit router ospf xy router-id 1.1.1.2 network 100.xy.2.0 0.0.0.255 area xy network 10.255.xy.3 0.0.0.7 area xy network 10.255.xy.19 0.0.0.7 area xy network 10.255.xy.33 0.0.0.7 area xy exit exit copy r s
|
RC
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
| enable configure terminal hostname RC no ip domain-lookup line console 0 password cisco login exit line vty 0 4 password cisco transport input ssh login local exit enable secret ccna service password-encryption interface fa 0/1 ip address 100.xy.3.1 255.255.255.0 no shutdown interface se 0/1/0 ip address 10.255.xy.25 255.255.255.248 clock rate 1000000 no shutdown interface fa 1/0 ip address 10.255.xy.10 255.255.255.248 no shutdown interface fa 1/1 ip address 10.255.xy.18 255.255.255.248 no shutdown exit ip dhcp excluded-address 100.xy.3.1 100.xy.3.10 ip dhcp pool POOL_100_xy_3 network 100.xy.3.0 255.255.255.0 default-router 100.xy.3.1 exit router ospf xy router-id 1.1.1.3 network 100.xy.3.0 0.0.0.255 area xy network 10.255.xy.10 0.0.0.7 area xy network 10.255.xy.18 0.0.0.7 area xy network 10.255.xy.25 0.0.0.7 area xy exit exit copy r s
|
RD
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
| enable configure terminal hostname RD no ip domain-lookup line console 0 password cisco login exit line vty 0 4 password cisco transport input ssh login local exit enable secret ccna service password-encryption interface fa 0/1 ip address 100.xy.4.1 255.255.255.0 no shutdown interface fa 1/1 ip address 99.99.9.1 255.255.255.128 no shutdown interface se 0/0 ip address 10.255.xy.26 255.255.255.248 clock rate 1000000 no shutdown interface fa 0/0 ip address 10.255.xy.34 255.255.255.248 no shutdown exit ip dhcp excluded-address 100.xy.4.1 100.xy.4.10 ip dhcp pool POOL_100_xy_4 network 100.xy.4.0 255.255.255.0 default-router 100.xy.4.1 exit router ospf xy router-id 1.1.1.4 network 100.xy.4.0 0.0.0.255 area xy network 10.255.xy.26 0.0.0.7 area xy network 10.255.xy.34 0.0.0.7 area xy network 99.99.9.0 0.0.0.127 area xy exit exit copy r s
|