When adding LAN OPNSense Web GUI unreachable after addding it

Started by clnutter1984, December 01, 2022, 04:33:07 PM

Previous topic - Next topic
Hello,

I am new to OPNsense so I am trying to follow the basic setup instructions. 

Install of OPN sense went good. No errors.  I am able to setup the WAN port and connect to the Web GUI. 

Then I go to the Wizard to do the setup BUT as I add the LAN port the OPNsense Wed GUI becomes unreachable.  I am unable to Ping the WAN ip or the LAN ip.  Both Links are showing as up. Both IPs are unreachable. 

WAN is showing x.x.x.204 DHCP
LAN is showing 192.168.1.1 

I can log in as root via console.  The only way I can regain Web GUI is restoring to factory default.


I know I am missing something but what can someone please help me out?   I can provide more info if needed.

Current version is:
OPNsense 22.7.9-amd64
FreeBSD 13.1-RELEASE-p5
OpenSSL 1.1.1s 1 Nov 2022

...more likely than not you simply choose the wrong interface for WAN/LAN. Try via console with "auto detection" and plug in an RJ45 (connected to a computer on the other end...) to the respective port when asked for...
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....

Nothing.  Both Links show as up.  But I can not access the Web GUI.

I have to reset to factory default to be able to connect to it.

Quote from: chemlud on December 01, 2022, 04:36:12 PM
...more likely than not you simply choose the wrong interface for WAN/LAN. Try via console with "auto detection" and plug in an RJ45 (connected to a computer on the other end...) to the respective port when asked for...

chemlud: yeah, I rechecked again and its correct.

igc0 is set to WAN
igc1 When I set it to LAN it seems to lock out the Web GUI

Quote from: clnutter1984 on December 01, 2022, 05:06:58 PM
Quote from: chemlud on December 01, 2022, 04:36:12 PM
...more likely than not you simply choose the wrong interface for WAN/LAN. Try via console with "auto detection" and plug in an RJ45 (connected to a computer on the other end...) to the respective port when asked for...

chemlud: yeah, I rechecked again and its correct.

igc0 is set to WAN
igc1 When I set it to LAN it seems to lock out the Web GUI

By default that would be backwards. Opnsense uses the first interface as LAN, so you really are probably reversing them as said.
Config it the way you want it, then reverse the cables.

Quote from: Demusman on December 01, 2022, 05:25:45 PM
Quote from: clnutter1984 on December 01, 2022, 05:06:58 PM
Quote from: chemlud on December 01, 2022, 04:36:12 PM
...more likely than not you simply choose the wrong interface for WAN/LAN. Try via console with "auto detection" and plug in an RJ45 (connected to a computer on the other end...) to the respective port when asked for...

chemlud: yeah, I rechecked again and its correct.

igc0 is set to WAN
igc1 When I set it to LAN it seems to lock out the Web GUI

By default that would be backwards. Opnsense uses the first interface as LAN, so you really are probably reversing them as said.
Config it the way you want it, then reverse the cables.

Again, no. I reset redid it both ways twice now.  Also tried the cable idea.  It has not worked.

Neither IP is reachable.  LAN OR WAN Can not ping them or connect to them.

This is how it is setup:

Interfaces: [OPT1] (This would be LAN BUT its not enabled or labled.)

Enable    Enable Interface (NOT ENABLED because as soon as it is everything becomes unreachable)
Lock    Prevent interface removal (NOT Locked)
igc0
The real device name of this interface.
Description    
OPT1  (as soon as it is named LAN or the interface is added everything becomes unreachable)
Enter a description (name) for the interface here.


Why are you trying to switch the interfaces? On a brand new default configuration OPNsense

  • the first interface is LAN
  • the second interface is WAN

Why don't you just use the box that way? Plug into the first port and you get connectivity to your OPNsense UI. Plug the second port into your uplink and configure that one according to the needs of your connection/ISP. Done.
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

Quote from: pmhausen on December 01, 2022, 09:30:53 PM
Why are you trying to switch the interfaces? On a brand new default configuration OPNsense

  • the first interface is LAN
  • the second interface is WAN

Why don't you just use the box that way? Plug into the first port and you get connectivity to your OPNsense UI. Plug the second port into your uplink and configure that one according to the needs of your connection/ISP. Done.

I will try it in that order and see what happens.

Quote from: pmhausen on December 01, 2022, 09:30:53 PM
Why are you trying to switch the interfaces? On a brand new default configuration OPNsense

  • the first interface is LAN
  • the second interface is WAN

Why don't you just use the box that way? Plug into the first port and you get connectivity to your OPNsense UI. Plug the second port into your uplink and configure that one according to the needs of your connection/ISP. Done.

Unable to connect

An error occurred during a connection to 192.168.1.1.

    The site could be temporarily unavailable or too busy. Try again in a few moments.
    If you are unable to load any pages, check your computer's network connection.
    If your computer or network is protected by a firewall or proxy, make sure that Firefox is permitted to access the web.

IT first asks to configure WAN.  Then LAN.  If I configure WAN first I can access the Web GUI.   IF I then configure LAN it will NOT ALLOW me to connect to the web gui on either interface.    IF I skip WAN and configure LAN it will not allow me to connect to the web gui even if i configure the WAN second.

I am not trying to change interfaces I have tried doing this every way and still nothing. 

Any ideas?  This is really getting frustrating. 

This is a hardware appliance, right? Or a virtual machine? How many ports are there on it?
You should not need to do anything with any OPT interfaces at this point.
If you're following the normal setup and not working, I suspect something related to the hardware you're using. It would be good to know what it is or how is it connected to the rest of your setup.

What precisely are you configuring for LAN?
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

Quote from: cookiemonster on December 01, 2022, 10:18:53 PM
This is a hardware appliance, right? Or a virtual machine? How many ports are there on it?
You should not need to do anything with any OPT interfaces at this point.
If you're following the normal setup and not working, I suspect something related to the hardware you're using. It would be good to know what it is or how is it connected to the rest of your setup.

Hardware Appliance: Hardware as follows.
X86 Fanless Mini PC Intel Celeron J4125 Quad Core 2x i226 Intel-V 2.5G Nics 16gb RAM. 256gb NVME.2 USB 3.O.  So 2 nic ports.   

Setup as follows:  Windstream Modem to  WAN PORT ( OPNsense Appliance ) --- LAN PORT (Unmanged Switch)  --- The rest of my network.

Windstream is static IP.   OPNSense is setup as static on WAN.  --- DHCP on LAN. --- Unamanged Switch -- ALL Clients setup to DHCP.

Hope this helps.

Quote from: pmhausen on December 01, 2022, 10:40:12 PM
What precisely are you configuring for LAN?

LAN port is configured default showing 192.168.1.1.

Yes it does.
And you are connecting to the appliance how during and after physical installation?
I wonder if you have your machine needing to renew the dhcp lease as it might have a different from the old assignment?