No IP given by the DHCP Server

Started by mrkinaujr, February 11, 2021, 12:16:52 PM

Previous topic - Next topic
February 11, 2021, 12:16:52 PM Last Edit: February 11, 2021, 12:34:00 PM by mrkinaujr
Hello,

i got a old PC today and i wanted to get OpnSense running on it via Unraid. My current Problem is that i can't reach the WebUI via a LAN Port.
I checked ipconfig and i do not get a IP Address from OpnSense but i can not reach it's Web Interface.

I'm currently directly connected via a CAT6 Cable from the Nic to my Laptop.

My server specs are:
CPU: AMD Ryzen 5 2600
RAM: 16 GB G.Skill Aegis @ 3000mhz
MB: MSI B450 Gaming Pro Carbon AC
NIC: InLine 4x Gigabit Netzwerkkarte, PCIe x4, 4x 1GBit/s

It's currently running Unraid Version 6.8.3
I currently have OPNsense 21.1 VM installed. [current KVM Config for OPNsense]
OPNsense can see the NIC and has driver out of the box.
I configured re0 as a WAN Port (currently not connected)
re1 is a LAN Port
re2 and re3 are OPT Ports

I configured each LAN and OPT ports to have a static IP and started the dhcp server on them via the Console.

Does anyone have a idea what i could be doing wrong and might point me in the right direction?

Have you configured the DHCPv4 service for each of the interfaces? You need to configure address pool etc. in the UI.
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

i can't configure the DHCPv4 service since i can't get into the GUI. I just installed it and it seems that i can't get any connectivity between server and my client.

use the serial console for initial interface setup
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare

felix eichhorns premium katzenfutter mit der extraportion energie

A router is not a switch - A router is not a switch - A router is not a switch - A rou....

I've done that. But i still get no real connection going so i can get into the Web GUI

Quote from: mrkinaujr on February 11, 2021, 03:26:18 PM
.. i still get no real connection going so i can get into the Web GUI

What is an "unreal" connection? If you get an IP via DHCP, there is some kind of traffic flowing back and forth.

Is the interface an OPTx? Then there might be firewall rules missing, the anti-lock out rule is only on LAN iirc.
Dunno anymore if the GUI is listening on OPTx out of the box...
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare

felix eichhorns premium katzenfutter mit der extraportion energie

A router is not a switch - A router is not a switch - A router is not a switch - A rou....

You need to configure your desktop system statically to connect to the OPNsense for initial setup. Then use the UI to proceed from there.
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

Quote from: pmhausen on February 11, 2021, 04:18:25 PM
You need to configure your desktop system statically to connect to the OPNsense for initial setup. Then use the UI to proceed from there.

Setting my IP, Netmask and Gateway manually did not help either sadly.

Just to doublecheck
IP: 192.168.1.2
Netmask: 255.255.255.0
Gateway: 192.168.1.1

Any other idea what i might be able to do? I can see my Connection via ifconfig re1 in the shell so i can for sure say that i'm plugged into the right port.

Quote from: chemlud on February 11, 2021, 04:13:36 PM
Quote from: mrkinaujr on February 11, 2021, 03:26:18 PM
.. i still get no real connection going so i can get into the Web GUI

What is an "unreal" connection? If you get an IP via DHCP, there is some kind of traffic flowing back and forth.

Is the interface an OPTx? Then there might be firewall rules missing, the anti-lock out rule is only on LAN iirc.
Dunno anymore if the GUI is listening on OPTx out of the box...

Unreal meant not working. Sorry english isn't my first language. I did not get any IP via DHCP but i can verify that i'm on the right interface since the terminal says LAN (re1) and if i do ifconfig re1 i can see that i'm indeed connected.