OPNsense Forum

Archive => 16.7 Legacy Series => Topic started by: jandal on January 05, 2017, 12:38:17 pm

Title: DHCP Server (No Internet)
Post by: jandal on January 05, 2017, 12:38:17 pm
Hi to all,

Good day!

I would like to seek your help regarding to my problem in DHCP.

Setup

DHCP Server : LAN Static
WAN 1: Public IP

My opnsense device have an internet.
My DHCP Server broadcast an ip to the client but the cliest has no internet connections.

Please help.

Thanks,
Title: Re: DHCP Server (No Internet)
Post by: fabian on January 05, 2017, 01:30:42 pm
There are two possible reasons:

1. You have NAT disabled but you need to enable it (packets will get lost or dropped)
2. You configured the firewall to do exactly what it does (Drop all packets which are not allowed to pass)
Title: Re: DHCP Server (No Internet)
Post by: jandal on January 06, 2017, 03:59:56 am
Thanks for your reply, will try this.

I have another concern on my DHCP:

DHCP Server: Enabled in Lan

The client and the OPNSense device cannot ping each other.

Title: Re: DHCP Server (No Internet)
Post by: bartjsmit on January 06, 2017, 10:42:02 am
Can the client see the web interface? You may need to check your ICMP rule.

Bart...
Title: Re: DHCP Server (No Internet)
Post by: fabian on January 06, 2017, 11:27:22 am
Do you provide the correct IP address range and gateway to the client?
Title: Re: DHCP Server (No Internet)
Post by: jandal on January 09, 2017, 04:17:30 am
Hi bartjsmit,

as of checking client did not see the web interface. I will try to add the ICMP rule in my device later.
I will give you update once it is done. Thanks for your reply.

Hi fabian,

Yes, the device broadcast a correct IP Address, but the connection is limited, they cannot see each other even they have acquire the IP from the OPNSense DHCP Server.

Thanks,
Title: Re: DHCP Server (No Internet)
Post by: jandal on January 10, 2017, 12:58:10 pm
Hi to all Senior Support Team,

I allow all the rules also the details that you said, but problem still the same, I have no internet in my DHCP client.

Hoping for your usual support and help.

Thanks,
Title: Re: DHCP Server (No Internet)
Post by: bartjsmit on January 10, 2017, 01:45:31 pm
HiJandal,

Just to be clear; this forum mainly consists of fellow users backed up by project developers. Official Deciso support is through the website.

Have you tried a client with a static IP?

Bart...
Title: Re: DHCP Server (No Internet)
Post by: jandal on January 10, 2017, 02:06:46 pm
Thanks,

Yes I already try this but still limited connection, also no internet, cannot ping dhcp server

Title: Re: DHCP Server (No Internet)
Post by: jandal on January 10, 2017, 02:11:22 pm
See attached file include the added rules in lan interfaces.
Title: Re: DHCP Server (No Internet)
Post by: fabian on January 12, 2017, 09:04:49 pm
Your ruleset has issues anyway.

What is LANGW? A LAN usually does not have a gateway.
From this point of view I think there is something wrong with the routing.