On 5.1.2023. 18:43, Hrvoje Popovski wrote: > On 4.1.2023. 14:20, Ivo Chutkin wrote: >> On 2.1.2023 г. 16:58 ч., Hrvoje Popovski wrote: >>> On 28.12.2022. 20:21, Stuart Henderson wrote: >>>> On 2022-12-28, Hrvoje Popovski <hrv...@srce.hr> wrote: >>>>> Hi all, >>>>> >>>>> I don't have much experience with BiDi sfp, so I'm asking you guys, >>>>> should openbsd ix work with 1G BiDi sfp. >>>> >>>> should do, yes. >>>> >>>> in case you're not aware, bidi transceivers come in different types, >>>> e.g. >>>> your MaxLink ML-S5531-20 transmits at 1550nm and receives at 1310nm, so >>>> must be paired with a transceiver that transmits at 1310nm and receives >>>> at 1550nm (e.g. the MaxLink model is ML-S3155-20) - do you have that? >>>> >>>> also, they should normally be used with single-mode fibre (due to how >>>> the bidi optics are coupled into the fibre they *can* also work with >>>> multimode fibre, though if you do that, insertion loss is high so >>>> distance is much more limited, plus it's even more sensitive to bending >>>> than usual in that case). >>>> >>>> >>> >>> Hi, >>> >>> everything is fine regarding transceiver and fiber. I've played with it >>> for few days with my ISP and that BiDI sfp works on mikrotik >>> RB5009UG+S+IN and cisco 2960 switch. On aruba 2540 (allow unsupported >>> transceiver), ibm switch and openbsd ix(4) it won't work. >>> >>> I've ordered few BiDi sfp from fs.com and maybe my ISP will lend me >>> MaxLink sfp so I could test them in lab. >>> >>> Thank you Stuart for information ... >>> >> Hi Hrvoje, >> >> Can you try setting NIC to use speed 1G since it is SFP, not 10G SFP+ >> module. >> My experience is that "media: Ethernet autoselect" not always work. >> > > Hi, > > yes that's one of the problems. I couldn't set media to 1000baseLX and > ifconfig ix0 media only showed me autoselect, even when BiDi was > inserted into nic. > > Maybe that's problem with x552 but i didn't have x520 near me at that time. > > Good thing is that BiDi sfp's arrived and I will play with them. >
Hi all, It seems that ix(4) is having problems with 1G BiDi sfp. I've tested FS.COM 1G BiDi and they are working on mikrotik and some switches but on OpenBSD I'm getting "status: no carrier" what ever I do. I've tried: advertise 1G without auto-negotiation and speed 1Gbps full duplex advertise 1G with auto-negotiation With those sfp's in OpenBSD I just can't disable auto-neg or configure media to advertise 1G full-duplex. With normal 1G sfp everything is working as expected on OpenBSD ix(4). For link to be UP between network equipment with 1G BiDi i needed to configure interfaces to advertise 1G without auto-negotiation and speed 1Gbps full duplex. On other hand 10G BiDi is working as expected with auto negotiation, means that I didn't need to configure anything for link to be up. 1G BiDi OpenBSD ix0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 lladdr a0:36:9f:2e:96:a0 index 1 priority 0 llprio 3 media: Ethernet autoselect status: no carrier transceiver: SFP LC, 1490 nm, 10.0km SMF model: FS SFP-GE-BX rev A0 serial: F2130238999, date: 2022-03-28 voltage: 3.28 V, bias current: 12.90 mA temp: 41.18 C (low -10.00 C, high 80.00 C) tx: -6.42 dBm (low -10.00 dBm, high -2.00 dBm) rx: -7.24 dBm (low -23.98 dBm, high -2.00 dBm) inet 10.255.1.3 netmask 0xffffff00 broadcast 10.255.1.255 ix0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 lladdr a0:36:9f:2e:96:a0 index 1 priority 0 llprio 3 media: Ethernet autoselect status: no carrier supported media: media autoselect inet 10.255.1.3 netmask 0xffffff00 broadcast 10.255.1.255 mikrotik name: sfp-sfpplus1 status: no-link sfp-module-present: yes sfp-rx-loss: no sfp-tx-fault: no sfp-type: SFP-or-SFP+ sfp-connector-type: LC sfp-link-length-sm: 10km sfp-vendor-name: FS sfp-vendor-part-number: SFP-GE-BX sfp-vendor-revision: A0 sfp-vendor-serial: F2040345575 sfp-manufacturing-date: 22-04-06 sfp-wavelength: 1310nm sfp-temperature: 34C sfp-supply-voltage: 3.265V sfp-tx-bias-current: 9mA sfp-tx-power: -6.333dBm sfp-rx-power: -6.203dBm eeprom-checksum: good 10G BiDi OpenBSD ix0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 lladdr a0:36:9f:2e:96:a0 index 1 priority 0 llprio 3 media: Ethernet autoselect (autoselect rxpause,txpause) status: active transceiver: SFP LC, 1270 nm, 10.0km SMF model: FS SFP-10G-BX serial: F2220232065, date: 2022-06-28 voltage: 3.32 V, bias current: 39.09 mA temp: 41.07 C (low -43.00 C, high 88.00 C) tx: -1.68 dBm (low -10.00 dBm, high 2.00 dBm) rx: -1.70 dBm (low -16.50 dBm, high 2.50 dBm) inet 10.255.1.3 netmask 0xffffff00 broadcast 10.255.1.255 ix0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 lladdr a0:36:9f:2e:96:a0 index 1 priority 0 llprio 3 media: Ethernet autoselect (autoselect rxpause,txpause) status: active supported media: media autoselect inet 10.255.1.3 netmask 0xffffff00 broadcast 10.255.1.255 mikrotik name: sfp-sfpplus1 status: link-ok rate: 10Gbps full-duplex: yes tx-flow-control: no rx-flow-control: no sfp-module-present: yes sfp-rx-loss: no sfp-tx-fault: no sfp-type: SFP-or-SFP+ sfp-connector-type: LC sfp-link-length-sm: 10km sfp-vendor-name: FS sfp-vendor-part-number: SFP-10G-BX sfp-vendor-serial: F2220214175 sfp-manufacturing-date: 22-08-04 sfp-wavelength: 1330nm sfp-temperature: 48C sfp-supply-voltage: 3.302V sfp-tx-bias-current: 45mA sfp-tx-power: -1.705dBm sfp-rx-power: -1.124dBm