Soon I have Internet from my ISP on fiber optic cables.
I rented a media converter (FIBRAIN FMU-APA12G-E) with two SFP inserts that work of WDM technology (Bi-Di) (FTS-S12G-B35S-005 & FTS-S12G-B53Y-005) for test.
Of course, soon I checked the operation of these inserts SFP on the two media converters - operate in bridge mode. Action without a problem.
Then one of the cartridges plugged into Turris Omnia, a media converter is my “WAN”.
After connecting the fiber optic patchcord on the Omnia LED lights up on the WAN.
Unfortunately, the media converter has no connections with the Omnia. I tried to replace the pads SFP and the media converter, etc., but still no reaction to established the connection.
root@turris:/# cat /tmp/log/messages |grep sfp
2017-01-26T18:11:57+01:00 err sfpswitch.py[1569]: Switching NIC mode to phy-sfp.
2017-01-26T18:11:59+01:00 err sfpswitch.py[1569]: Shutting down interface eth1
2017-01-26T18:11:59+01:00 err sfpswitch.py[1569]: Bringing up interface eth1
2017-01-26T18:12:12+01:00 emerg sfpswitch.py[1569]: Called /etc/init.d/kresd start
2017-01-26T18:12:14+01:00 emerg sfpswitch.py[1569]: line not found
2017-01-26T18:12:14+01:00 emerg sfpswitch.py[1569]: DIE:
2017-01-26T18:12:14+01:00 emerg sfpswitch.py[1569]: [string "transaction"]:351: No journal to recover
2017-01-26T18:12:14+01:00 emerg sfpswitch.py[1569]: Aborted
2017-01-26T18:12:16+01:00 emerg sfpswitch.py[1569]: setting up led Auto-configuration for PCI1
2017-01-26T18:12:16+01:00 emerg sfpswitch.py[1569]: setting up led Auto-configuration for PCI2
2017-01-26T18:12:16+01:00 emerg sfpswitch.py[1569]: setting up led Auto-configuration for PCI3
2017-01-26T18:18:55+01:00 err sfpswitch.py[1569]: Switching NIC mode to phy-def.
2017-01-26T18:18:56+01:00 err sfpswitch.py[1569]: Shutting down interface eth1
2017-01-26T18:18:56+01:00 err sfpswitch.py[1569]: Bringing up interface eth1
2017-01-26T18:18:59+01:00 err sfpswitch.py[1569]: Switching NIC mode to phy-sfp.
2017-01-26T18:19:00+01:00 err sfpswitch.py[1569]: Shutting down interface eth1
2017-01-26T18:19:00+01:00 err sfpswitch.py[1569]: Bringing up interface eth1
root@turris:/# dmesg |grep eth1
[ 26.642290] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[ 28.372632] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[ 30.126585] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[ 427.120619] mvneta f1034000.ethernet eth1: Link is Up - 1Gbps/Full - flow control off
[ 427.120640] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[ 429.123837] mvneta f1034000.ethernet eth1: Link is Down
[ 447.120634] mvneta f1034000.ethernet eth1: Link is Up - 1Gbps/Full - flow control off
[ 448.102011] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[ 451.386702] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
Just to be sure… The link is up, the line from log
eth1: Link is Up - 1Gbps/Full
popped up (right) after inserting fiber into the SFP but you can’t see any incomming packets, am I right? (Can you please run tcpdump on eth1 to see whether there are at least outgoing packets?)
Do you know what is on the other side of the router? Or even read counters when the Omnia is connected there so we can see whether there are some packets in any direction?
root@turris:/# ethtool -m eth1
Cannot get module EEPROM information: Not supported
When sfp is connection:
Settings for eth1:
Supported ports: [ TP MII ]
Supported link modes: 1000baseT/Half 1000baseT/Full
Supported pause frame use: No
Supports auto-negotiation: Yes
Advertised link modes: 1000baseT/Half 1000baseT/Full
Advertised pause frame use: No
Advertised auto-negotiation: Yes
Speed: 10Mb/s
Duplex: Half
Port: MII
PHYAD: 2
Transceiver: external
Auto-negotiation: on
Link detected: no
When SFP is not connection:
root@turris:/# ethtool eth1
Settings for eth1:
Supported ports: [ TP MII ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Half 1000baseT/Full
Supported pause frame use: No
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Half 1000baseT/Full
Advertised pause frame use: No
Advertised auto-negotiation: Yes
Speed: 1000Mb/s
Duplex: Half
Port: MII
PHYAD: 1
Transceiver: external
Auto-negotiation: on
Link detected: no
Modern optical SFP transceivers support standard digital diagnostics monitoring (DDM) functions.[29] This feature is also known as digital optical monitoring (DOM). Modules with this capability give the end user the ability to monitor parameters of the SFP, such as optical output power, optical input power, temperature, laser bias current, and transceiver supply voltage, in real time. This functionality is commonly implemented for monitoring on routers, switches and optical transport equipment via SNMP.
To disable auto-negotionation only on side ISP ?
In this case, I had to understand something wrong before.
I grab everything to simple configuration with two inserts SFP started as a “bridge” that is, the transfer of DHCP to Turris Omnia.
Tests only connect locally with another router.