
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

12
EnableDHCP,whichisenabledbydefault. R1(config)#servicedhcp DefineaDHCPpoolandgiveitaname: R1(config)#ipdhcppoolMY_POOL Definenetworkandmasktouseinthispool,thedefaultgateway,andDNSservers: R1(dhcp-config)#network192.168.1.0255.255.255. R1(dhcp-config)#default-router192.168.1.1 R1(dhcp-config)#dns-server213.131.65.208.8.8.8 Confinetheleasetime(OPTIONAL): R1(dhcp-config)#lease 2 !Days Defineoneormorescopesofexcluded(reserved)addresses(OPTIONAL): R1(config)#ipdhcpexcluded-address192.168.1.1192.168.1.100 R1(config)#ipdhcpexcluded-address192.168.1.200192.168.1. ConfigurerouterasaDHCPrelayagenttoforwardDHCPpacketstoaDHCPserver: Router(config)#interfacefastethernet0/0 Router(config-if)#iphelper-address172.16.20.2
Showsthestatusofthespecifiedpoolandtheleasedaddressesfromthatpool: R1#showipdhcppoolMY_POOL ShowsalltheleasedipaddressesfromallconfiguredDHCPpools: R1#showipdhcpbinding