Skip to content

Instantly share code, notes, and snippets.

@jdillon
Created January 21, 2019 02:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jdillon/23967319d60bedf859cace4a50a41179 to your computer and use it in GitHub Desktop.
Save jdillon/23967319d60bedf859cace4a50a41179 to your computer and use it in GitHub Desktop.
I've tried 3 different options:
* direct-connect cable from netgate
* direct-connect cable for unifi
* fiber module from netgate to fiber module for unifi
sfp direct-connect from netgate
> ifconfig -v ix0
ix0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=e400bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,VLAN_HWTSO,RXCSUM_IPV6,TXCSUM_IPV6>
ether 00:08:a2:0e:c5:11
hwaddr 00:08:a2:0e:c5:11
inet6 fe80::208:a2ff:fe0e:c511%ix0 prefixlen 64 scopeid 0x1
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
media: Ethernet autoselect
status: no carrier
plugged: SFP/SFP+/SFP28 Unknown (Copper pigtail)
vendor: Intel Corp PN: 821-24-011-02 SN: INS11IB0579 DATE: 2013-01-01
sfp direct-connect from unifi
> ifconfig -v ix0
ix0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=e400bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,VLAN_HWTSO,RXCSUM_IPV6,TXCSUM_IPV6>
ether 00:08:a2:0e:c5:11
hwaddr 00:08:a2:0e:c5:11
inet6 fe80::208:a2ff:fe0e:c511%ix0 prefixlen 64 scopeid 0x1
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
media: Ethernet autoselect
status: no carrier
plugged: SFP/SFP+/SFP28 Unknown (Copper pigtail)
vendor: 10Gtek PN: SFP-H10GB-CU1M SN: WTS11I73482 DATE: 2018-07-01
sfp fiber with netgate fiber module and unifi fiber module
> ifconfig -v ix0
ix0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=e400bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,VLAN_HWTSO,RXCSUM_IPV6,TXCSUM_IPV6>
ether 00:08:a2:0e:c5:11
hwaddr 00:08:a2:0e:c5:11
inet6 fe80::208:a2ff:fe0e:c511%ix0 prefixlen 64 scopeid 0x1
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
media: Ethernet autoselect
status: no carrier
plugged: SFP/SFP+/SFP28 10G Base-SR (LC)
vendor: Intel Corp PN: FTLX8571D3BCV-IT SN: INSSRIC4531 DATE: 2010-09-13
module temperature: 22.10 C Voltage: 3.31 Volts
RX: 0.49 mW (-3.01 dBm) TX: 0.46 mW (-3.34 dBm)
The unifi side of this sees the modules, and reports status: (RX Fault). The cable i'm using for the fiber connection: https://www.amazon.com/gp/product/B00T5796DQ/ref=ppx_yo_dt_b_asin_title_o04__o00_s00?ie=UTF8&psc=1
With the fiber connection, I changed speed/duplex on netgate to 1000baseSX and now this is what I see:
> ifconfig -v ix0
ix0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=e400bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,VLAN_HWTSO,RXCSUM_IPV6,TXCSUM_IPV6>
ether 00:08:a2:0e:c5:11
hwaddr 00:08:a2:0e:c5:11
inet6 fe80::208:a2ff:fe0e:c511%ix0 prefixlen 64 scopeid 0x1
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
media: Ethernet 1000baseSX (1000baseSX <full-duplex,rxpause,txpause>)
status: active
plugged: SFP/SFP+/SFP28 10G Base-SR (LC)
vendor: Intel Corp PN: FTLX8571D3BCV-IT SN: INSSRIC4531 DATE: 2010-09-13
module temperature: 31.09 C Voltage: 3.30 Volts
RX: 0.46 mW (-3.28 dBm) TX: 0.46 mW (-3.29 dBm)
... which at least looks a lot better now.
If I change back to one of the direct-connect modules, I only see 10gbase-twinax in the speed/duplex drop-down.
The switch its connecting to is a unifi switch-16 POE-150W which IIUC only supports 1g; though if I use the same cable between 2 of these its happy; so i'm guessing that its a 10g vs 1g issue here?
I was hoping to use the direct-connect between these, but I wasn't sure which is why I got the fiber modules and cable.
With the fiber module and setting "1000baseXS" I am able to confirm that its "active" on netgate and and seems to be connected to the Unifi switch.
I swear I tried this before too, oh well. It does seem that these modules work.
I am still not exactly sure how to confgure the XG-7100 to use it as a LAN port.
... I guess I'd rather have used the direct-connect modules, but since I have the fiber connection bits its viable still.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment