dhcp server router cisco packet tracer code example
Example 1: dhcp on cisco router
conf t
ip dhcp pool name
network 192.168.1.0 255.255.255.0
default-router 192.168.0.1
dns-server 8.8.8.8
!ip dhcp excluded-address 192.168.0.128
!domain-name domain
!lease 10
Example 2: how to create dhcp server in cisco packet tracer using router
Router(config)
Router(config)
Router(dhcp-config)
Router(dhcp-config)
Router(dhcp-config)
Example 3: how to create dhcp server in cisco packet tracer using router
Router(config)
Example 4: how to create dhcp server in cisco packet tracer using router
Router>enable
Router
Router(config)
Router(config-if)
Router(config-if)
Router(config-if)