DHCP
DHCP
Advantages of DHCP:
o Primary advantage of DHCP is easier management of IP addresses etc.
o Another advantage of DHCP is centralized the network client configuration.
o DHCP greatly reduce the time required to configure & reconfigure computers.
o DHCP Server assigning IP addresses automatically avoid configuration errors.
o Dynamic Host Configuration Protocol use ease of adding new clients to network.
o The DHCP sever, reuse of IP addresses reducing the total number of IP addresses.
o In Dynamic Host Configuration Protocol, no need to reconfigure each client separately.
o Dynamic Host Configuration Protocol configure the network from a centralized area.
o Using DHCP sever, easy handling of new users and reuse of IP address can be achieved.
DHCP Client:
o The DHCP client is a host using DHCP to obtain configuration parameters.
o The endpoint that receives configuration information from a DHCP server.
o DHCP client is anything needing an IP address that is not configured as a static.
o Palo Alto Unit Firewall can be configure as both DHCP servers and DHCP clients.
o DHCP clients use UDP broadcasts to send their initial DHCPDISCOVER messages.
o DHCP Client uses User Datagram Protocol port 67 to send messages to the server.
DHCP Relay:
o DHCP relay agent is any host that forwards DHCP packets between clients & servers.
o DHCP Relay allows clients to obtain DHCP info from a server on a different subnet.
o Relay agents are used to forward requests and replies between clients and servers.
o Relay agents are used to forward request when they are not on same physical subnet.
o The devices that do the forwarding are referred or called it as the DHCP relay agents.
o The DHCP Relay agents forward packets differently than the normal IP forwarding.
o Relay agents receive DHCP message & generate new message out another interface.
o The DHCP Relay agent adds a GIADDR (Gateway Address of Packet) field to packet.
o The DHCP Relay also add the Relay agent information DHCP option 82 if enabled.
Create Zones:
Let’s configure three zones names Inside , Outside and DMZ. Go to Network> Zone>Add, Give
the name Inside, select Type to be Layer3 and click OK. Create the same way other two Zones
Configure Interfaces:
Go to Network>Interfaces Click on ethernet1/1 interface change Interface Type: Layer3, set
Virtual Router: default, set Security Zone: Outside , Click on IPv4 tab Assign IP Address:
192.168.122.100/24 and Click OK.
Configure NAT/PAT:
Let’s configure NAT using Dynamic IP and Port means translate all local LAN to only one IP
address. I will NAT my Inside LAN 192.168.1.0/24 to 192.168.122.100 IP address of WAN.
Policies > NAT > Add Let’s name it Inside-To-Outside.
Then let’s go to Translated Packet, Translation Type: Dynamic IP And Port, Address Type:
Interface Address, Interface: our WAN interface ethernet 1/1 and IP Address: WAN IP. OK