cancel
Showing results for 
Search instead for 
Did you mean: 
Post a Question
J_Saun
Nickel

DHCP on external interface. How to get full IP details

Jump to solution

I am setting up a Gaia R80.20 firewall in my home lab. The Internet facing interface obtains an IP from my ISP but I am unsure what the default gateway is. How can I get the full DHCP lease details on the Gaia firewall? ie: IP, mask, gateway, DNS, etc

0 Kudos
1 Solution

Accepted Solutions
Employee+
Employee+

Re: DHCP on external interface. How to get full IP details

Jump to solution

Take a look at the /var/lib/dhclient/dhclient.leases file

It provides the information about the data received from the upstream dhcp server.

4 Replies

Re: DHCP on external interface. How to get full IP details

Jump to solution

Hi J Saun, 

It depends on the type of internet connection you have? Is it a PPPOE connection? What is the purpose for needing those details when obtaining via DHCP?

Regards

Mark

0 Kudos
J_Saun
Nickel

Re: DHCP on external interface. How to get full IP details

Jump to solution

It's not PPPOE. It's Cable Internet. I need the gateway for the IP they provide so I can set my default route.

0 Kudos
Employee+
Employee+

Re: DHCP on external interface. How to get full IP details

Jump to solution

Take a look at the /var/lib/dhclient/dhclient.leases file

It provides the information about the data received from the upstream dhcp server.

J_Saun
Nickel

Re: DHCP on external interface. How to get full IP details

Jump to solution

Thanks! That file had all the info I need. Appreciate the help!