Configuration and unidentified network

Started by xthakila, October 23, 2020, 02:51:18 PM

Previous topic - Next topic
I am facing a problem where the lan cable from my opnsense build running to my PC shows as an unidentified network with no IP or gateway assigned.

I can connect when i configure a static ip on my pc and i manually assign the gateway.

I understand this is because my lan in opnsense is set to static ip.

The moment i switch this to DHCP, the manual assignment of ip and gateway also stops working.

This is my first opnsense build and I would appreciate if I can connect with someone who can help me with where i am going wrong while setting this up.

in Services: DHCPv4: [LAN]
"Deny unknown clients": unchecked
"Static ARP": unchecked

Please report back.
,,The S in IoT stands for Security!" :)

October 23, 2020, 04:00:41 PM #2 Last Edit: October 23, 2020, 04:02:17 PM by xthakila
"Deny unknown clients": unchecked
"Static ARP": unchecked

These were already unchecked.

Do I need to enable DHCP server on the lan interface?  Once I do this is stops accepting even the static config from my PC.

October 23, 2020, 04:14:49 PM #3 Last Edit: October 23, 2020, 04:18:57 PM by Gauss23
If you want DHCP on your network and OPNsense should be the DHCP server, then you need to enable that.

Normally it should not break your network and static config should still be possible. Sounds like the switch has some kind of DHCP guarding to protect your network from rogue DHCP servers. Is your switch manageable?
,,The S in IoT stands for Security!" :)

Not using a switch. I am directly using a build with opnsense installed. I am using the lan port on the opnsense build and plugging it into my other PC to access the gui.

Another issue that I am facing is that the ping works in the diagnostic in the opnsense ui but when i connect to the lan port, i am unable to connect to the internet.

Is this a bare metal server or some kind of VM?

Never had such problems. You're sure that you've identified the WAN and LAN port correctly?
,,The S in IoT stands for Security!" :)

I am running a intel i3 6th gen pc with an MSI motherboard. I upgraded so not using it anymore. i have a 4 port pcie lan card, the onboard lan port and 8 gigs of ram.

Yup E0 is wan
E4 is lan.

So its really weird. I can attach screenshots if that helps. 

Yes please. Screenshots of "Interfaces: Overview" with all relevant interfaces expanded.
And maybe the DHCP server on the LAN interface.
,,The S in IoT stands for Security!" :)

Ok I am just doing that. Do you think it could be because I am assigning the LAN port as the motherboard port instead of on the pcie card?

It took a little bit of tinkering but i finally got it to work. No clue what changes made it start working. But it did...