Relay Miscellaneous DHCP relay information You can also review the DHCP pool details as shown in the image below when you execute the show ip dhcp pool command. You can see the IP addresses and MAC addresses assigned to the clients with the show ip dhcp binding command on the router. Ping over PC3 to the 1.0 network will also be successful. When you test the network connection by pinging PC0 to 2.0, this will be successful as follows. PC2 will also obtain the IP address successfully because the DHCP pool is configured for the 192.168.2.0/24 network on the Cisco router. To do this, click on PC0, click IP Configuration in the window that opens, and then activate the DHCP option.Īfter enabling DHCP on PC0, an IP address request will be sent as in the following image.ĭHCP will allocate an IP address by responding to PC0’s request.Įnable the DHCP option for computers on the 192.168.2.0/24 network and check the status. %SYS-5-CONFIG_I: Configured from console by consoleĪfter you apply the Cisco DHCP commands, you must set up the computers that you add to the Packet Tracer workspace for the automatic IP address. Router(config)#ip dhcp excluded-address 192.168.2.1 Router(config)#ip dhcp excluded-address 192.168.1.1 %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/1, changed state to up %LINK-5-CHANGED: Interface GigabitEthernet0/1, changed state to up Router(config)#interface gigabitethernet 0/1 %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0, changed state to up %LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up Router(config)#interface gigabitethernet 0/0 Router>enableĮnter configuration commands, one per line. Then, enable DHCP by executing the following commands to automatically distribute IP information from the Router to the clients. If you select Yes on this screen, the Cisco router will ask you step-by-step to make basic settings.Īssign IP addresses and open ports to Cisco router interfaces according to the network topology you create. In the Router0 window, click the CLI command prompt tab and in the initial configuration screen, type No and press Enter. With the DHCP service, you can configure the following parameters automatically:īy using Cisco’s network simulator software to create a new network topology and add multiple clients and one Cisco Router to the network, you can automatically configure it with the DHCP service instead of manually configuring the TCP/IP configuration of all clients that will be connected to the network.įirst, create a network topology with two separate segments (192.168.1.0/24 and 192.168.2.0/24) in Packet Tracer. The DHCP protocol uses UDP as the transport protocol, UDP port 67 is the destination port of a server, and the client uses UDP port 68. This server is also responsible for configuring the DNS servers of the connected equipment, but because of the firmware installed by the providers on their routers, the DNS added by default is the manufacturer’s DNS.ĭynamic Host Configuration Protocol is the protocol that allows the automatic assignment of IP addresses. The DHCP server is responsible for providing an IP address and network parameters (subnet mask and gateway) to all equipment and devices connected to it. The easiest way to configure a network is to take advantage of DHCP servers located on routers. How to Enable and Configure DHCP on a Cisco Router This software is a network simulator program from Cisco and is completely free. With Cisco Packet Tracer, you can create network topologies and gain experience.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |