R1(config)#int g0/0 R1(config-if)#ip address dhcp R1(config-if)#do show ip int GigabitEthernet0/0 is administratively down, line protocol is down (disabled) Internet protocol processing disabled GigabitEthernet0/1 is up, line protocol is up (connected) Internet address is 192.168.1.1/24 Broadcast address is 255.255.255.255 Address determined by setup command MTU is 1500 bytes Helper address is not set Directed broadcast forwarding is disabled Outgoing access list is not set Inbound access list is not set Proxy ARP is enabled Security level is default Split horizon is enabled ICMP redirects are always sent ICMP unreachables are always sent ICMP mask replies are never sent IP fast switching is disabled IP fast switching on the same interface is disabled IP Flow switching is disabled IP Fast switching turbo vector IP multicast fast switching is disabled
R1(config-if)#do show ip int g0/0 GigabitEthernet0/0 is administratively down, line protocol is down (disabled) Internet protocol processing disabled
R1(config-if)#no shutdown
R1(config-if)# %LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0, changed state to up
R1(config-if)#do sh ip int g0/0 GigabitEthernet0/0 is up, line protocol is up (connected) Internet address is 203.0.113.2/30 Broadcast address is 255.255.255.255 Address determined by DHCP MTU is 1500 bytes Helper address is not set Directed broadcast forwarding is disabled Outgoing access list is not set Inbound access list is not set Proxy ARP is enabled Security level is default Split horizon is enabled ICMP redirects are always sent ICMP unreachables are always sent ICMP mask replies are never sent IP fast switching is disabled IP fast switching on the same interface is disabled IP Flow switching is disabled IP Fast switching turbo vector IP multicast fast switching is disabled IP multicast distributed fast switching is disabled Router Discovery is disabled
3. Configure R1 as a DHCP relay agent for the 192.168.1.0/24 subnet.