Step and configure IP Connectivity DHCP and PAT
To step and configure IP connectivity DHCP and PAT, follow these steps:
Configure IP addresses on the interfaces of the router using the ip address command. For example:
Router(config)# interface gigabitethernet0/0
Router(config-if)# ip address 192.168.1.1 255.255.255.0
Configure the default gateway using the ip default-gateway command. For example:
Router(config)# ip default-gateway 192.168.1.254
Configure the DHCP server using the ip dhcp pool command. For example:
Router(config)# ip dhcp pool LAN
Router(dhcp-config)# network 192.168.1.0 255.255.255.0
Router(dhcp-config)# default-router 192.168.1.1
Router(dhcp-config)# dns-server 8.8.8.8
Configure NAT using the ip nat inside and ip nat outside commands on the appropriate interfaces. For example:
Router(config)# interface gigabitethernet0/0
Router(config-if)# ip nat outside
Router(config)# interface gigabitethernet0/1
Router(config-if)# ip nat inside
Configure PAT using the ip nat inside source list and interface commands. For example:
Router(config)# access-list 1 permit 192.168.1.0 0.0.0.255
Router(config)# ip nat inside source list 1 interface gigabitethernet0/0 overload
These steps configure IP connectivity using DHCP for automatic IP address assignment and PAT for Internet access.
Apply for Basic Network Support Certification Now!!
https://www.vskills.in/certification/certified-basic-network-support-professional