Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - mtelle

#1
Habe die selbe Konfig von Vodafone/Business mit /30 Subnetz in BW.
Die eine Adresse bekommt die Fritzbox automatisch (test: PC an Fritzbox anschließen, sollte per DHCP eine Adresse zugewiesen bekommen, und kann damit ins Pimpernet).
Die andere Adresse bekommt Opnsense fest als Wan Schnittstelle zugewiesen mit Subnet 30. IP4 gw ist die Fritzbox.
Bei der Fritzbox musst Du unter Internet/Portfreigaben den entsprechenden Lan Port für Opnsense setzen (hier wird dann alles durchgeroutet für diese Adresse).
Wenn Du auf die Fritzbox zugreifen möchtest gibt es (soweit ich bis jetzt festgestellt habe) 2 Möglichkeiten. Einen anderen PC an eine andere LAN Schnittstelle anschließen (oder wlan), alternatix eine weitere LAN Schnittstelle des Opnsense an die Fritzbox mit entsprechender Konfiguration.
#2
23.1 Legacy Series / Re: Permit Interface removal
February 03, 2023, 07:15:25 AM
I tried to solve the problem - with no success.
I have now build a fresh installation 23.1 with an old board with 4 interfaces. No additional configuration.
next steps: update to 23.1_6, setup 1 ip to every interface (4 interfaces), setting the LAN interface as default gw. Only the LAN interface is connected.

Now the test, reboot the system. ifconfig shows 4 interfaces with the corresponding ip - fine. Now I unplug the LAN interface and put it in another port -> the ip of the LAN is away! Same, if I unplug the new port and put it into LAN, the LAN ip goes up, and the "new port" ip goes away.
I have tried to solve the issue with selecting the button "prevent interface removal" in the interface section for all interfaces - no change.

ifconfig (after reboot, connected LAN):
igb0: flags=8863<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        description: LAN (lan)
        options=4802028<VLAN_MTU,JUMBO_MTU,WOL_MAGIC,NOMAP>
        ether 00:0d:b9:4e:88:00
        inet 192.168.20.101 netmask 0xffffff00 broadcast 192.168.20.255
        media: Ethernet autoselect (1000baseT <full-duplex>)
        status: active
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
igb1: flags=8863<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        description: WAN (wan)
        options=4802028<VLAN_MTU,JUMBO_MTU,WOL_MAGIC,NOMAP>
        ether 00:0d:b9:4e:88:01
        inet 192.168.80.101 netmask 0xffffff00 broadcast 192.168.80.255
        media: Ethernet autoselect
        status: no carrier
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
...

and ifconfig after unplug LAN and put to igb1:
igb0: flags=8863<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        description: LAN (lan)
        options=4802028<VLAN_MTU,JUMBO_MTU,WOL_MAGIC,NOMAP>
        ether 00:0d:b9:4e:88:00
        media: Ethernet autoselect
        status: no carrier
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
igb1: flags=8863<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        description: WAN (wan)
        options=4802028<VLAN_MTU,JUMBO_MTU,WOL_MAGIC,NOMAP>
        ether 00:0d:b9:4e:88:01
        inet 192.168.80.101 netmask 0xffffff00 broadcast 192.168.80.255
        media: Ethernet autoselect (1000baseT <full-duplex>)
        status: active
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
...

Attached the corresponding config file (with option "prevent interface removal").

Regards, Martin
#3
23.1 Legacy Series / Re: Permit Interface removal
February 01, 2023, 05:26:35 PM
Sorry - I do not understand, and nevertheless thanks for your help Franco...
If you mean an reset to the tunables (system:setting) with the right trash icon - this did not solve the problem.
This opnsense is an update from the latest 22.7 (I think) to 23.1_6. On the 22.7 version, and before, everything was fine, the 1. problem was with 23.1...
And, that is really a problem, every service bound to this ip is not working if the pc connected to opnsense on this interface is down - for example unbound.

Martin
#4
23.1 Legacy Series / Permit Interface removal
February 01, 2023, 04:41:48 PM
I have a problem with the topic "permit interface removal".

I expect with the selection of this box the interface will not be removed - the ip4 and ip6 will still exist.
On this Interface (LAN) I have 1 pc connected - if the pc is on I have on this interface my ip's without problem.
If I turn off the pc, the ip's from this interface will be removed, and all services bound to this interface are not working! This only happens with version 23.1!

With opnsense version 22.x the ip's are still alive (with pc turned off or on) - is this an bug?

Regards, Martin