Community discussions

MikroTik App
 
Yochiro
just joined
Topic Author
Posts: 13
Joined: Mon Feb 08, 2021 12:56 pm

Combo port with 4G on CCR1009

Tue Jun 01, 2021 11:57 am

Hello,

I'm using a CCR1009-4G-1C-S+ with a combo port including SFP/Copper port.

I was wondering if it's possible to use the combo port with a Fiber on the SFP and a 4G via Chateau on the copper port?

If it's possible;
will there be an automatic toggle when the fiber is down ?

Thanks
Hugo
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 18958
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: Combo port with 4G on CCR1009

Tue Jun 01, 2021 2:12 pm

No my understanding on the combo port is that you can only use one of them at a time. Its not two ports its an either or port. I may be wrong but that is my understanding
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 11967
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: Combo port with 4G on CCR1009

Tue Jun 01, 2021 2:14 pm

Yes, you can change it with script:
/interface ethernet set [ find default-name=combo1 ] combo-mode=copper

/interface ethernet set [ find default-name=combo1 ] combo-mode=sfp
can be:

auto - the default
first plugged, first served
on reboot SFP take everytime the precedence
for SFP to considered active just be plugged the SFP (also not compatible) module

sfp - obvious, only the sfp

copper - obvious, only the ethernet

sfp-alt - I do not know what is for, I do not have any spare for test, only on productions...
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 18958
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: Combo port with 4G on CCR1009

Tue Jun 01, 2021 4:12 pm

Thanks rextended,
I reread the literature and its more than I thought.
Combo-port - a single 1Gbit software interface that has two hardware interfaces - an SFP cage and a Gigabit Ethernet port, allowing you to use any type of connection available to you. It is also possible to switch between both physical interfaces in RouterOS. In an event of disconnect the combo-port provides hardware fail-over feature.

I may have to rethink what I do with the combo port.
 
Yochiro
just joined
Topic Author
Posts: 13
Joined: Mon Feb 08, 2021 12:56 pm

Re: Combo port with 4G on CCR1009

Tue Jun 01, 2021 4:38 pm

Thanks for replying.

I meant to use combo-port as a fail-over, with the Fiber wan as a main network and the copper (4G Link with Mikrotik Chateau) as a Backup.
The point is to toggle to the 4G if the Fiber is down.

With many researchs and some externals helps, i'm feeling confident with a very simple setup;

SFP port - Fiber link
Copper port - 4G Link


Route failover
/ip route add gateway=192.168.1.1 distance=1 check-gateway=ping
/ip route add gateway=192.168.2.1 distance=2

Check if primary link is up, and after 2 timeouts it will mark the gateway as unreachable and t hen default gw with metric 2 is used instead of the metric 1.


Hugo
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 11967
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: Combo port with 4G on CCR1009

Tue Jun 01, 2021 6:34 pm

but you must change with script what interface is active, or all not work as you expect...
 
Yochiro
just joined
Topic Author
Posts: 13
Joined: Mon Feb 08, 2021 12:56 pm

Re: Combo port with 4G on CCR1009

Wed Jun 02, 2021 4:33 pm

Alright,
Thanks

Who is online

Users browsing this forum: No registered users and 58 guests