Φίλε σε ευχαριστώ για την απάντηση σου.
Άλλαξα το target-scope σε 12 και μου έπαιξε κατευθείαν. Στο speetdest μου έβγαζε την ταχύτητα και απο τις δύο wan.
Όταν έκλεισα την WAN 1 (εκλεισα το Modem) το failover δεν έπαιξε. Επίσης δεν μου φώρτονε καμία σελίδα.
Όταν ξανα ενεργοποίησα την WAN1 , επανήλθε το ίντερνετ και σε speed test παίρνει μόνο την ταχύτητα της WAN1.
Εχω κάνει επανεκκινήσεις αλλά δεν λέει να διορθωθεί.
Τι μπορεί να είναι λάθος?
Εμφάνιση 16-30 από 140
-
28-08-22, 17:52 Απάντηση: [ROS7] Dual Wan Recursive Routes #16
Τελευταία επεξεργασία από το μέλος seatakias : 28-08-22 στις 18:02.
-
28-08-22, 18:53 Απάντηση: [ROS7] Dual Wan Recursive Routes #17
Επειδη δεν εχεις failover για αυτο. Για να εχεις πρεπει να κανεις ping σε externals hosts κατι το οποιο εσυ δε κανεις. Διαβασε το τοπικ απο την αρχη και θα βρεις την ακρη, αλλιως ξαναελα.
Άλλα Ντάλλα....
-
28-08-22, 19:18 Απάντηση: [ROS7] Dual Wan Recursive Routes #18
-
28-08-22, 19:56 Απάντηση: [ROS7] Dual Wan Recursive Routes #19
Λαθος μου, τωρα ειδα οτι εχεις external hosts, κανονικα θα επρεπε να σου δουλευει. Δλδ ποση ωρα περιμενεις και δε στο γυριζει. Θελει μερικα δευτερολεπτα.
Άλλα Ντάλλα....
-
29-08-22, 00:07 Απάντηση: [ROS7] Dual Wan Recursive Routes #20
-
29-08-22, 09:44 Απάντηση: [ROS7] Dual Wan Recursive Routes #21
Κανε αλλη μια δοκιμη. Αλλαξε το target scope σε 12 και στους to_wan1, to_wan2 κανονες
Άλλα Ντάλλα....
-
29-08-22, 14:33 Απάντηση: [ROS7] Dual Wan Recursive Routes #22
Έβαλα και στους κανόνες που μου είπες target scope 12. Χωρίς αποτέλεσμα!!
Δοκίμασα τους παρακατω κανόνες με netwatch και το failover παίζει κανονικά, αλλα δεν μου προσθέτει τις ταχύτητες των WAN.
Κώδικας:/ip route add dst-address="0.0.0.0/0" target-scope="10" distance="1" gateway="192.168.2.1" comment="ISP-1" check-gateway="ping" scope="30" add dst-address="0.0.0.0/0" target-scope="10" distance="2" gateway="192168.4.1" comment="ISP-2" check-gateway="ping" scope="30" add dst-address="8.8.8.8" target-scope="10" distance="1" gateway="192.168.2.1" comment="ISP-1-Check" scope="30" add dst-address="8.8.4.4" target-scope="10" distance="1" gateway="192168.4.1" comment="ISP-2-Check" scope="30" /tool netwatch add host="8.8.8.8" interval="5s" down-script="/ip route disable [find comment=\"ISP-1\"]" up-script="/ip route enable [find comment=\"ISP-1\"]" comment="ISP-1" add host="8.8.4.4" interval="5s" down-script="/ip route disable [find comment=\"ISP-2\"]" up-script="/ip route enable [find comment=\"ISP-2\"]" comment="ISP-2"
Mήπως έχω λάθος στο mangle και για αυτό δεν μου παίζει
Κώδικας:chain=prerouting action=accept dst-address=192.168.1.0/24 in-interface=LAN log=no log-prefix="" chain=prerouting action=accept dst-address=192.168.2.0/24 in-interface=LAN chain=prerouting action=accept dst-address=192.168.4.0/24 in-interface=LAN log=no log-prefix="" chain=prerouting action=accept dst-address=10.227.10.0/24 in-interface=LAN log=no log-prefix="" chain=prerouting action=accept dst-address=192.168.3.0/24 in-interface=LAN log=no log-prefix="" chain=prerouting action=mark-connection new-connection-mark=WAN1_conn connection-mark=no-mark in-interface=ether1 chain=prerouting action=mark-connection new-connection-mark=WAN2_conn connection-mark=no-mark in-interface=ether2 log=no log-prefix="" chain=prerouting action=mark-connection new-connection-mark=WAN1_conn dst-address-type=!local connection-mark=no-mark in-interface=LAN per-connection-classifier=both-addresses:2/0 chain=prerouting action=mark-connection new-connection-mark=WAN2_conn dst-address-type=!local connection-mark=no-mark in-interface=LAN per-connection-classifier=both-addresses:2/1 chain=prerouting action=mark-routing new-routing-mark=to_WAN1 connection-mark=WAN1_conn in-interface=LAN chain=prerouting action=mark-routing new-routing-mark=to_WAN2 connection-mark=WAN2_conn in-interface=LAN chain=output action=mark-routing new-routing-mark=to_WAN1 connection-mark=WAN1_conn chain=output action=mark-routing new-routing-mark=to_WAN2 connection-mark=WAN2_conn
-
29-08-22, 15:47 Απάντηση: [ROS7] Dual Wan Recursive Routes #23
Πως τσεκαρεις οτι δε γινεται bonding των γραμμων? Στο ookla speedtest δοκιμασες με τσεκαρισμενο το multi στα connections? Ειναι ακριβως απο κατω απο εκει που διαλεγεις server για να κανεις τεστ.
Άλλα Ντάλλα....
-
30-08-22, 23:33 Απάντηση: [ROS7] Dual Wan Recursive Routes #24
Τελικά σήμερα που είχα χρόνο. Εκανα επαναφορά του router και το ρυθμισα απο την αρχή.
Με τις παρακάτω ρυθμίσεις μου έπαιξε κανονικά. Ευχαριστώ για την βοήθεια.
Κώδικας:/ip firewall mangle add action=mark-connection chain=input in-interface="ether1" new-connection-mark="cm-ether1" passthrough=yes add action=mark-connection chain=input in-interface="ether2 " new-connection-mark="cm-ether2 " passthrough=yes add action=mark-routing chain=output connection-mark="cm-ether1" new-routing-mark="to-ether1" passthrough=yes add action=mark-routing chain=output connection-mark="cm-ether2 " new-routing-mark="to-ether2 " passthrough=yes add action=mark-connection chain=prerouting dst-address-list=!LOCAL-IP dst-address-type=!local new-connection-mark="cm-ether1" passthrough=yes per-connection-classifier=both-addresses-and-ports:2/0 src-address-list=LOCAL-IP add action=mark-connection chain=prerouting dst-address-list=!LOCAL-IP dst-address-type=!local new-connection-mark="cm-ether2 " passthrough=yes per-connection-classifier=both-addresses-and-ports:2/1 src-address-list=LOCAL-IP add action=mark-routing chain=prerouting connection-mark="cm-ether1" dst-address-list=!LOCAL-IP new-routing-mark="to-ether1" passthrough=yes src-address-list=LOCAL-IP add action=mark-routing chain=prerouting connection-mark="cm-ether2 " dst-address-list=!LOCAL-IP new-routing-mark="to-ether2 " passthrough=yes src-address-list=LOCAL-IP
Κώδικας:/ip route add distance=251 gateway=192.168.2.1 add distance=252 gateway=192.168.4.1 add gateway=192.168.2.1 routing-table=to-ether1 add gateway=192.168.4.1 routing-table=to-ether2 add dst-address=4.2.2.1/32 gateway=192.168.2.1 scope=11 add dst-address=4.2.2.2/32 gateway=192.168.4.1 scope=11 add check-gateway=ping distance=10 gateway=4.2.2.1 targetscope=11 add check-gateway=ping distance=20 gateway=4.2.2.2 targetscope=11
-
09-09-22, 21:27 Απάντηση: [ROS7] Dual Wan Recursive Routes #25
Το τσεκαρα πριν λιγο σε σχεση με ενα δικο μου και δειχνει να μην παιζει.
Αν εχεις την καλοσυνη κανε ενα κοπο και ξανατσεκαρε το.
Ανεβασε ολο το expοrt (αφαιρεσε τα κριτικαλ)
Ευχαριστω
-
10-09-22, 11:17 Απάντηση: [ROS7] Dual Wan Recursive Routes #26
Τι δε σου δουλευε εσενα?
Άλλα Ντάλλα....
-
10-09-22, 20:48 Απάντηση: [ROS7] Dual Wan Recursive Routes #27
Οπως το εβαλε δεν μου κανει bond τις γραμμες.
Απλό failover σε ros7
Κώδικας:/routing table add disabled=no fib name=rtab-1 /routing table add disabled=no fib name=rtab-2 /ip route add distance=1 gateway=10.30.30.1 /ip route add distance=2 gateway=10.40.40.1 /ip route add gateway=10.30.30.1 routing-table=rtab-1 /ip route add gateway=10.40.40.1 routing-table=rtab-2
Fault tolerance through recursive routes
Κώδικας:/routing table add disabled=no fib name=rtab-1 /routing table add disabled=no fib name=rtab-2 /ip firewall mangle add action=mark-connection chain=prerouting connection-mark=no-mark in-interface=ether1 new-connection-mark=con-isp1 passthrough=yes /ip firewall mangle add action=mark-connection chain=prerouting connection-mark=no-mark in-interface=ether2 new-connection-mark=con-isp2 passthrough=yes /ip firewall mangle add action=mark-routing chain=prerouting connection-mark=con-isp1 in-interface-list=!WAN new-routing-mark=rtab-1 passthrough=yes /ip firewall mangle add action=mark-routing chain=prerouting connection-mark=con-isp2 in-interface-list=!WAN new-routing-mark=rtab-2 passthrough=yes /ip firewall mangle add action=mark-routing chain=output connection-mark=con-isp1 new-routing-mark=rtab-1 passthrough=yes /ip firewall mangle add action=mark-routing chain=output connection-mark=con-isp2 new-routing-mark=rtab-2 passthrough=yes /ip route add disabled=no distance=1 dst-address=0.0.0.0/0 gateway=10.30.30.1 pref-src="" routing-table=main scope=30 suppress-hw-offload=no target-scope=10 /ip route add disabled=no distance=2 dst-address=0.0.0.0/0 gateway=10.40.40.1 pref-src="" routing-table=main scope=30 suppress-hw-offload=no target-scope=10 /ip route add gateway=10.30.30.1 routing-table=rtab-1 /ip route add gateway=10.40.40.1 routing-table=rtab-2 /ip route add dst-address=208.67.220.220/32 gateway=10.30.30.1 scope=11 /ip route add dst-address=208.67.222.222/32 gateway=10.40.40.1 scope=11 /ip route add check-gateway=ping disabled=no distance=1 dst-address=0.0.0.0/0 gateway=208.67.220.220 pref-src="" routing-table=main scope=30 suppress-hw-offload=no target-scope=11 /ip route add check-gateway=ping disabled=no distance=2 dst-address=0.0.0.0/0 gateway=208.67.222.222 pref-src="" routing-table=main scope=30 suppress-hw-offload=no target-scope=11
Και τέλος αναλόγως πως θελουμε το balance (μοιρασμα βαρους ή προσθεση)
Κώδικας:/routing table add disabled=no fib name=rtab-1 /routing table add disabled=no fib name=rtab-2 /ip firewall mangle add action=mark-connection chain=input in-interface=ether1 new-connection-mark=con-isp1 passthrough=yes /ip firewall mangle add action=mark-connection chain=input in-interface=ether2 new-connection-mark=con-isp2 passthrough=yes /ip firewall mangle add action=mark-routing chain=output connection-mark=con-isp1 new-routing-mark=rtab-1 passthrough=yes /ip firewall mangle add action=mark-routing chain=output connection-mark=con-isp2 new-routing-mark=rtab-2 passthrough=yes #Αναλόγως τι θέλουμε βάζουμε το 1 ή το 2. # 1. Με το source μοιραζει το βαρος /ip firewall mangle add action=mark-connection chain=prerouting dst-address-type=!local in-interface=bridge1 new-connection-mark=con-isp1 passthrough=yes per-connection-classifier=src-address:2/0 /ip firewall mangle add action=mark-connection chain=prerouting dst-address-type=!local in-interface=bridge1 new-connection-mark=con-isp2 passthrough=yes per-connection-classifier=src-address:2/1 # 2. Ετσι τις προσθετει (προσοχη για τραπεζες πρεπει να κανουμε address list με τις ip που πρεπει να βγαινουν μονο απο μια wan) /ip firewall mangle add action=mark-connection chain=prerouting dst-address-type=!local in-interface=bridge1 new-connection-mark=con-isp1 passthrough=yes per-connection-classifier=both-addresses-and-ports:2/0 /ip firewall mangle add action=mark-connection chain=prerouting dst-address-type=!local in-interface=bridge1 new-connection-mark=con-isp2 passthrough=yes per-connection-classifier=both-addresses-and-ports:2/1 /ip firewall mangle add action=mark-routing chain=prerouting connection-mark=con-isp1 in-interface=bridge1 new-routing-mark=rtab-1 passthrough=yes /ip firewall mangle add action=mark-routing chain=prerouting connection-mark=con-isp2 in-interface=bridge1 new-routing-mark=rtab-2 passthrough=yes /ip route add check-gateway=ping disabled=no distance=1 dst-address=0.0.0.0/0 gateway=208.67.220.220 pref-src="" routing-table=main scope=10 suppress-hw-offload=no target-scope=12 /ip route add check-gateway=ping disabled=no distance=1 dst-address=0.0.0.0/0 gateway=208.67.222.222 pref-src="" routing-table=main scope=10 suppress-hw-offload=no target-scope=12 /ip route add disabled=no distance=1 dst-address=208.67.220.220/32 gateway=10.30.30.1 pref-src="" routing-table=main scope=10 suppress-hw-offload=no target-scope=11 /ip route add disabled=no distance=1 dst-address=208.67.222.222/32 gateway=10.40.40.1 pref-src="" routing-table=main scope=10 suppress-hw-offload=no target-scope=11 /ip route add check-gateway=ping disabled=no distance=1 dst-address=0.0.0.0/0 gateway=208.67.220.220 pref-src="" routing-table=rtab-1 scope=30 suppress-hw-offload=no target-scope=12 /ip route add check-gateway=ping disabled=no distance=1 dst-address=0.0.0.0/0 gateway=208.67.222.222 pref-src="" routing-table=rtab-2 scope=30 suppress-hw-offload=no target-scope=12
Διορθωσεις κλπ σιγουρα θα παιρνει αλλα οτι εβαλα το εχω δοκιμασει και παίζει.Τελευταία επεξεργασία από το μέλος BillyVan : 11-09-22 στις 01:24. Αιτία: add code
-
11-09-22, 10:44 Απάντηση: [ROS7] Dual Wan Recursive Routes #28
Εγω θεωρω λαθος το passthrough=yes στο mangles εκτος απο το outpout που μονο εκει χρειαζεται.
Άλλα Ντάλλα....
-
11-09-22, 11:35 Απάντηση: [ROS7] Dual Wan Recursive Routes #29
Αναλόγως τις δηλώσεις που έχει από κάτω.
| "Anyone can build a fast CPU.
| The trick is to build a fast system."
|____________Seymour Cray...
-
11-09-22, 11:42 Απάντηση: [ROS7] Dual Wan Recursive Routes #30
Bookmarks