Professional Documents
Culture Documents
Class Less Subnetting
Class Less Subnetting
Router#configure
Router(config)#hostname R1-DHCP
R1-DHCP(config)#interface g0/0
R1-DHCP(config-if)#ip address 192.168.10.160 255.255.255.224
Bad mask /27 for address 192.168.10.160
R1-DHCP(config-if)#ip address 192.168.10.191 255.255.255.224
Bad mask /27 for address 192.168.10.191
R1-DHCP(config-if)#
R1-DHCP(config-if)#ip address 192.168.10.178 255.255.255.224
R1-DHCP(config-if)#
R1-DHCP(config-if)#no shut
R1-DHCP(config-if)#exit
R1-DHCP(config)#
R1-DHCP(config)#ip dhcp excluded-address 192.168.10.162 192.168.10.177
R1-DHCP(config)#ip dhcp pool P
R1-DHCP(dhcp-config)#network 192.168.10.160 255.255.255.224
R1-DHCP(dhcp-config)#default-router 192.168.10.178
R1-DHCP(dhcp-config)#^Z
R1-DHCP#
%SYS-5-CONFIG_I: Configured from console by console
R1-DHCP#
R1-DHCP#show run
R1-DHCP#show running-config
Building configuration...
R1-DHCP#
R1-DHCP#
R1-DHCP#
R1-DHCP#%DHCPD-4-PING_CONFLICT: DHCP address conflict: server pinged
192.168.10.178.
R1-DHCP#
R1-DHCP#
R1-DHCP#
R1-DHCP#show ip dhc
R1-DHCP#show ip dhcp poo
R1-DHCP#show ip dhcp pool
Pool P :
Utilization mark (high/low) : 100 / 0
Subnet size (first/next) : 0 / 0
Total addresses : 30
Leased addresses : 3
Excluded addresses : 1
Pending event : none