OPNsense Forum

Archive => 20.7 Legacy Series => Topic started by: xthakila on October 23, 2020, 02:51:18 PM

Title: Configuration and unidentified network
Post by: xthakila on October 23, 2020, 02:51:18 PM
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.
Title: Re: Configuration and unidentified network
Post by: Gauss23 on October 23, 2020, 03:16:52 PM
in Services: DHCPv4: [LAN]
"Deny unknown clients": unchecked
"Static ARP": unchecked

Please report back.
Title: Re: Configuration and unidentified network
Post by: xthakila on October 23, 2020, 04:00:41 PM
"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.
Title: Re: Configuration and unidentified network
Post by: Gauss23 on October 23, 2020, 04:14:49 PM
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?
Title: Re: Configuration and unidentified network
Post by: xthakila on October 23, 2020, 04:37:45 PM
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.
Title: Re: Configuration and unidentified network
Post by: xthakila on October 23, 2020, 07:00:43 PM
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.
Title: Re: Configuration and unidentified network
Post by: Gauss23 on October 23, 2020, 07:08:21 PM
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?
Title: Re: Configuration and unidentified network
Post by: xthakila on October 23, 2020, 07:30:48 PM
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. 
Title: Re: Configuration and unidentified network
Post by: Gauss23 on October 23, 2020, 07:39:42 PM
Yes please. Screenshots of "Interfaces: Overview" with all relevant interfaces expanded.
And maybe the DHCP server on the LAN interface.
Title: Re: Configuration and unidentified network
Post by: xthakila on October 23, 2020, 07:54:17 PM
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?
Title: Re: Configuration and unidentified network
Post by: xthakila on October 24, 2020, 12:04:57 AM
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...