Επεξεργασία Δρομολόγηση

Μετάβαση στην πλοήγηση Πήδηση στην αναζήτηση

Προειδοποίηση: Δεν έχετε συνδεθεί. Η διεύθυνση IP σας θα είναι ορατή δημόσια αν κάνετε κάποια επεξεργασία. Αν συνδεθείτε ή δημιουργήσετε λογαριασμό, οι επεξεργασίες σας θα αποδοθούν στο όνομά χρήστη σας, μαζί με άλλα οφέλη.

Η επεξεργασία μπορεί να αναιρεθεί. Παρακαλούμε ελέγξτε την σύγκριση παρακάτω για να επιβεβαιώσετε ότι είναι αυτό το οποίο θέλετε να κάνετε και έπειτα αποθηκεύστε τις αλλαγές παρακάτω για να ολοκληρώσετε την αναίρεση της επεξεργασίας.

Τρέχουσα αναθεώρηση Το κείμενό σας
Γραμμή 65: Γραμμή 65:
 
|}
 
|}
 
===OSPF Settings===
 
===OSPF Settings===
border="0" style="background:transparent;"
+
{| border="0" style="background:transparent;"
 
+
|-
Ξεκινάμε Routing>OSPF. Το πρώτο που πρέπει να κάνουμε είναι να ρυθμίσουμε τις βασικές παραμέτρους του OSPF στα Settings. Εκεί προσδιορίζουμε τα:
+
|Ξεκινάμε Routing>OSPF. Το πρώτο που πρέπει να κάνουμε είναι να ρυθμίσουμε τις βασικές παραμέτρους του OSPF στα Settings. Εκεί προσδιορίζουμε τα:
 
+
*Router Id που συνήθως βάζουμε το subnet του κόμβου (π.χ. 10.140.19.0).
{|
+
*Redistribute Default Route -> NEVER Ώστε να μην κάνει announce to 0.0.0.0/0.0.0.0 που προκαλεί χάος στο δίκτυο.
 +
*Redistribute Static Routes -> As type 1 Ώστε να ανακοινώνει τα όποια static routes έχουμε (σε περίπτωση π.χ που έχουμε κόψει subnet για κάποιον που μπαίνει στην omni)
 
|-
 
|-
 
|[[Εικόνα:Ospf settings.png|frame|left|OSPF Settings]]
 
|[[Εικόνα:Ospf settings.png|frame|left|OSPF Settings]]
 
|}
 
|}
 
 
*'''Router Id'''
 
'''router-id''' (IP address; default: 0.0.0.0) - OSPF Router ID. If not specified, OSPF uses the largest IP address configured on the interfaces as its router ID
 
Συνήθως βάζουμε το subnet του κόμβου (π.χ. 10.140.19.0).
 
 
*'''Redistribute Default Route '''
 
 
 
'''distribute-default''' (never | if-installed-as-type-1 | if-installed-as-type-2 | always-as-type-1 | always-as-type-2; default: never) - specifies how to distribute default route. Should be used for ABR (Area Border router) or ASBR (Autonomous System boundary router) settings
 
 
never - do not send own default route to other routers
 
 
if-installed-as-type-1 - send the default route with type 1 metric only if it has been installed (a static default route, or route added by DHCP, PPP, etc.)
 
 
if-installed-as-type-2 - send the default route with type 2 metric only if it has been installed (a static default route, or route added by DHCP, PPP, etc.)
 
 
always-as-type-1 - always send the default route with type 1 metric
 
 
always-as-type-2 - always send the default route with type 2 metric
 
 
NEVER Ώστε να μην κάνει announce to 0.0.0.0/0.0.0.0 που προκαλεί χάος στο δίκτυο.
 
 
 
*'''Connected Routes''' are created automatically when adding address to an interface. These routes specify networks, which can be accessed directly through the interface.
 
 
'''redistribute-connected''' (as-type-1 | as-type-2 | no; default: no) - if set, the router will redistribute the information about all connected routes, i.e., routes to directly reachable networks.
 
 
Αν ενεργοποιήσουμε αυτή την επιλογή τότε όλα τα routes προς όλες τα subnets στα οποία ανήκουν οι ips των interfaces, γίνονται announce στους υπόλοιπους. Αυτό βολεύει στο να μην ξεχάσουμε να δηλώσουμε κάποιο subnet στο Networks. Μπορεί όμως να προκαλέσει προβήματα (όπως το να ανακοινώνει το private δικτυό μας στο υπόλοιπο δίκτυο).
 
 
{{Warning| Αν θέλουμε να βάλουμε σε ένα interface ip που ανηκει στο private δικτυο μας (π.χ. 192.168.Χ.Χ)
 
τότε πρέπει να απενεργοποιήσουμε την επιλογή '''Redistribute Connected Routes'''.
 
Διαφορετικά θα ανακοινώνουμε στους άλλους routers το subnet 192.168.x.x/y.}}
 
 
 
*'''Static Routes''' are user-defined routes that specify a specific destination for packets moving through the router between a source and a destination. Static routes are important if it is not possible to build a route to a particular destination. They are useful for specifying the default gateway to which all unroutable packets will be sent.
 
 
'''redistribute-static''' (as-type-1 | as-type-2 | no; default: no) - if set, the router will redistribute the information about all static routes added to its routing database, i.e., routes that have been created using the /ip route add command
 
 
Redistribute Static Routes -> As type 1 Ώστε να ανακοινώνει τα όποια static routes έχουμε (σε περίπτωση π.χ που έχουμε κόψει subnet για κάποιον που μπαίνει στην omni)
 
 
 
 
Χρήσιμο σε περίπτωση που θέλουμε να "κόψουμε" subnet στο AP για clients με πολλά pc και συνδέονται με router στο AP. Τότε το static route που προσδιορίζουμε στο IP>Routes γίνεται announce σε όλους τους routers. Διαφορετικά ο client με το subnet του δε θα βγαίνει στο υπόλοιπο δίκτυο.
 
 
*'''redistribute-rip''' (as-type-1 | as-type-2 | no; default: no) - with this setting enabled the router will redistribute the information about all routes learned by the RIP protocol. Εφόσον δε χρησιμοποιούμε RIP protocol το αφήνουμε no.
 
 
 
*'''BGP Routes''' are dynamic routes, which have been created by the BGP protocol.
 
 
'''redistribute-bgp''' (as-type-1 | as-type-2 | no; default: no) - with this setting enabled the router will redistribute the information about all routes learned by the BGP protocol. Εφόσον δε χρησιμοποιούμε BGP protocol το αφήνουμε no.
 
 
 
 
References: http://www.mikrotik.com/documentation/manual_2.5/IP/Route.html
 
http://www.mikrotik.com/testdocs/ros/2.9/routing/ospf.php?notfound=6&
 
 
  
 
===Add Interfaces===
 
===Add Interfaces===
Γραμμή 144: Γραμμή 88:
 
{| border="0" style="background:transparent;"
 
{| border="0" style="background:transparent;"
 
|-
 
|-
||{{Warning|Εδώ προσθέτουμε ΟΛΑ τα networks - εφόσον το redistribute connected routes ειναι no. }}
+
||{{Warning|Εδώ προσθέτουμε τα backbone networks. Τίποτε Άλλο. Τα networks του ethernet ή του AP δεν πρεπει να προστίθενται.}}
 
|-
 
|-
 
|[[Εικόνα:Ospf networks empty.png|frame|left|Add Networks 1/3]]
 
|[[Εικόνα:Ospf networks empty.png|frame|left|Add Networks 1/3]]
 
|[[Εικόνα:Ospf networks new.png|frame|left|Add Networks 2/3]]
 
|[[Εικόνα:Ospf networks new.png|frame|left|Add Networks 2/3]]
 
|[[Εικόνα:Ospf networks.png|frame|left|Add Networks 3/3]]
 
|[[Εικόνα:Ospf networks.png|frame|left|Add Networks 3/3]]
|-
 
|[[Εικόνα:Ospf_networks_full.png|frame|left|All Networks]]
 
 
|}
 
|}
  

Σημειώστε ότι όλες οι συνεισφορές στον ιστότοπο PWMN μπορούν να υποστούν επεξεργασία, να αλλαχθούν, ή να αφαιρεθούν από άλλους συνεισφέροντες. Αν δεν θέλετε τα γραπτά σας να υποστούν επεξεργασία κατά βούληση, τότε μην τα τοποθετήσετε σε αυτό το χώρο.
Επίσης μας υπόσχεστε πως ό,τι γράφετε είναι δικό σας, ή αντιγραμμένο από μια πηγή που είναι κοινό κτήμα, ή μια παρόμοια ελεύθερη πηγή (δείτε PWMN:Πνευματικά Δικαιώματα για λεπτομέρειες). ΠΑΡΑΚΑΛΟΥΜΕ ΝΑ ΜΗΝ ΤΟΠΟΘΕΤΕΙΤΕ ΠΝΕΥΜΑΤΙΚΑ ΚΑΤΟΧΥΡΩΜΕΝΟ ΕΡΓΟ ΧΩΡΙΣ ΑΔΕΙΑ!

Πρότυπο που χρησιμοποιείται σε αυτήν τη σελίδα: