OPNsense Forum

English Forums => General Discussion => Topic started by: evi on November 08, 2017, 01:37:06 pm

Title: Can't get Opnsense box not getting IP on LAN or WAN
Post by: evi on November 08, 2017, 01:37:06 pm
I'm building OPNsense on a new Protectli FW6C system. It installs fine and I do the initial configuration while disconnected (as I am using my Internet connection). I've plugged a monitor into the HDMI port and used the text setup.

Odd thing is I can't seem to get connected to the Internet or get a LAN IP. I haved tried several times to reset it and made sure it has the proper LAN DHCP scope but I get not Internet IP and no LAN IP. I'm only get APIPA addresses locally. On the monitor of my OPNsense box I see:

em0 link state changed to UP when I plug it in and down when I unplug it but still I get no IP.

I've tried to reset to the defaults and do the setup twice and it doesn't work.

Is there something I'm missing?

Thanks so much!
Title: Re: Can't get Opnsense box not getting IP on LAN or WAN
Post by: evi on November 08, 2017, 04:05:55 pm
Sorry this is my first experience with OPNsense so I made a mistake in previous attempts to configure it. The issues was that when configuring the interfaces I was putting using interface autoconfiguration and it wasn't working.

Is em0 supposed to be configured to be the LAN port? Because my hardware has it labeled WAN. So I manually configured the interfaces. Once I specified em0/em1 it all worked fine.  ;D

Is there a plan to add more post install configuration information to documentation?

Nice work on the project, love it so far!
Title: Re: Can't get Opnsense box not getting IP on LAN or WAN
Post by: franco on November 08, 2017, 05:29:27 pm
Yes, by default em0 is LAN, em1 is WAN. An old m0n0wall quirk.

We are planning to open source the docs on github which will enable us and everyone else to collaborate and intensify its content with 18.1 forward.


Cheers,
Franco