OptiXstar HN8010Ts-20 XGS-PON Terminal (it is setup to run on ip 192.168.100.1)
4x2.5 gbps RJ45 sockets (igc0 to igc3)igc0: <Intel(R) Ethernet Controller I226-IT> mem 0xfc900000-0xfc9fffff,0xfca00000-0xfca03fff at device 0.0 on pci4igc0: Using 1024 TX descriptors and 1024 RX descriptorsigc0: Using 4 RX queues 4 TX queuesigc0: Using MSI-X interrupts with 5 vectorsigc0: Ethernet address: d0:63:b4:05:47:3figc0: netmap queues/slots: TX 4/1024, RX 4/10242xSFP+ sockets (ax0 and ax1)ax0: <AMD 10 Gigabit Ethernet Driver> mem 0xfcb60000-0xfcb7ffff,0xfcb40000-0xfcb5ffff,0xfcb82000-0xfcb83fff at device 0.2 on pci10ax0: Using 512 TX descriptors and 512 RX descriptorsax0: Using 3 RX queues 3 TX queuesax0: Using MSI-X interrupts with 7 vectorsax0: Ethernet address: d0:63:b4:05:47:43ax0: xgbe_config_sph_mode: SPH disabled in channel 0ax0: xgbe_config_sph_mode: SPH disabled in channel 1ax0: xgbe_config_sph_mode: SPH disabled in channel 2ax0: RSS Enabledax0: Receive checksum offload Enabledax0: VLAN filtering Enabledax0: VLAN Stripping Enabledax0: Checking GPIO expander validityax0: GPIO configuration validax0: SFP detected:ax0: vendor: OEMax0: part number: SFP-H10GB-CU5Max0: revision level: 09ax0: serial number: CSC231202820014ax0: netmap queues/slots: TX 3/512, RX 3/512ax1: xgbe_phy_sfp_signals: port_sfp_inputs: 0x7ax1: xgbe_phy_sfp_detect: mod absentax1: xgbe_phy_sfp_signals: port_sfp_inputs: 0x2ax1: SFP detected:ax1: vendor: Walsunax1: part number: HXSX-ATRI-1ax1: revision level: 1.0ax1: serial number: H230S014913ax1: xgbe_phy_sfp_signals: port_sfp_inputs: 0x01xwifi (iwlwifi0_wlan1) 2x5G SIM slots.
OPNsense 24.1-amd64FreeBSD 13.2-RELEASE-p9OpenSSL 3.0.12FreeBSD OPNsense.localdomain 13.2-RELEASE-p9 FreeBSD 13.2-RELEASE-p9 stable/24.1-n254969-8659880248c SMP amd6
In Interfaces-->Assignments-->I added 2 RJ45 lan interfaces (igc0 and igc1)
Interfaces-->Other Types-->VLAN hit the plus to add a VLAN selected the SFP+ (ax1) as parent, set VLAN tag to 300 and saved it, then:In Interfaces-->Assignments i assign device VLAN to sfp+ (ax1) interface and set it to dhcp.
This should work but does not, it shows as if no cable is connected and says "no carrier". Connecting via ssh to the opnsense box and checking with ifconfig the interfaces, the sfp+ (ax1) interface showsmedia: Ethernet autoselectstatus: no carrier
enp7s0f0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 10.133.120.3 netmask 255.255.255.0 broadcast 10.133.120.255 inet6 fe80::3efd:feff:fe9e:cb7c prefixlen 64 scopeid 0x20<link> ether 3c:fd:fe:9e:cb:7c txqueuelen 1000 (Ethernet) RX packets 3380 bytes 612591 (598.2 KiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 647268 bytes 94844545 (90.4 MiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0enp7s0f1: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500 inet6 fe80::3efd:feff:fe9e:cb7e prefixlen 64 scopeid 0x20<link> ether 3c:fd:fe:9e:cb:7e txqueuelen 1000 (Ethernet) RX packets 67949 bytes 26850373 (25.6 MiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 76359 bytes 10329417 (9.8 MiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
ethtool enp7s0f0Settings for enp7s0f0: Supported ports: [ FIBRE ] Supported link modes: 10000baseT/Full Supported pause frame use: Symmetric Receive-only Supports auto-negotiation: No Supported FEC modes: Not reported Advertised link modes: 10000baseT/Full Advertised pause frame use: No Advertised auto-negotiation: No Advertised FEC modes: Not reported Speed: 10000Mb/s Duplex: Full Auto-negotiation: off Port: Direct Attach Copper PHYAD: 0 Transceiver: internal Supports Wake-on: g Wake-on: g Current message level: 0x00000007 (7) drv probe link Link detected: yesethtool enp7s0f1Settings for enp7s0f1: Supported ports: [ FIBRE ] Supported link modes: 10000baseT/Full Supported pause frame use: Symmetric Receive-only Supports auto-negotiation: No Supported FEC modes: Not reported Advertised link modes: 10000baseT/Full Advertised pause frame use: No Advertised auto-negotiation: No Advertised FEC modes: Not reported Speed: Unknown! Duplex: Unknown! (255) Auto-negotiation: off Port: Direct Attach Copper PHYAD: 0 Transceiver: internal Supports Wake-on: g Wake-on: g Current message level: 0x00000007 (7) drv probe link Link detected: no
ax0: xgbe_phy_sfp_signals: port_sfp_inputs: 0x0ax0: SFP detected:ax0: vendor: OEMax0: part number: SFP-H10GB-CU5Max0: revision level: 09ax0: serial number: CSC231202820016ax1: xgbe_phy_sfp_signals: port_sfp_inputs: 0x7ax1: xgbe_phy_sfp_detect: mod absentax1: xgbe_phy_sfp_signals: port_sfp_inputs: 0x2ax1: SFP detected:ax1: vendor: Walsunax1: part number: HXSX-ATRI-1ax1: revision level: 1.0ax1: serial number: H230S014913ax1: xgbe_phy_sfp_signals: port_sfp_inputs: 0x0
ax0: flags=8867<UP,BROADCAST,DEBUG,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 description: OPT1 (opt1) options=4e0032b<RXCSUM,TXCSUM,VLAN_MTU,JUMBO_MTU,TSO4,TSO6,RXCSUM_IPV6,TXCSUM_IPV6,NOMAP> ether d0:63:b4:05:47:43 inet 10.133.120.125 netmask 0xffffff00 broadcast 10.133.120.255 media: Ethernet autoselect status: no carrier nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>ax1: flags=8867<UP,BROADCAST,DEBUG,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 description: LANSFP (opt1) options=4e0032b<RXCSUM,TXCSUM,VLAN_MTU,JUMBO_MTU,TSO4,TSO6,RXCSUM_IPV6,TXCSUM_IPV6,NOMAP> ether d0:63:b4:05:47:44 media: Ethernet autoselect status: no carrier nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
I'm having some trouble to get my Internet working with Odido in NL, so I thought to start this threat which hopefully when solved can be a guide for people to use their own modem/router as well for Odido in NL.
ax1: xgbe_phy_sfp_detect: mod absentax1: xgbe_phy_sfp_signals: port_sfp_inputs: 0x0status: no carrier
thanks, indeed with odido that should work as you say, though I wonder if I could also replace the PON and directly plug the fiber cable into the baremetal.
As for the spf+ "no carrier" problem, it seems to be a driver issue, tried freebsd 14 live and still not working but in ubuntu it does. Also posted here https://forums.freebsd.org/threads/cant-get-sfp-nic-to-work-amd-driver-issue.93186/ let's see if it can be fixed somehow.