how to configure DHCP packet tracer cisco code example
Example 1: how to create dhcp server in cisco packet tracer using router
Router(config)#ip dhcp excluded-address 192.168.1.1 192.168.1.10
Example 2: how to create dhcp server in cisco packet tracer using router
Router>enable
Router#config terminal
Router(config)#int fa0/0
Router(config-if)#ip add 192.168.1.1 255.255.255.0
Router(config-if)#no shutdown
Router(config-if)#exit