Difference between revisions of "IPv6: Static Routing"

From OnnoWiki
Jump to navigation Jump to search
Line 17: Line 17:
 
Misalnya, dalam contoh routing domain, routing statik yang memungkinkan lalu lintas yang dialihkan antara router "A," "B," dan "C" dapat dikonfigurasi sebagai berikut:
 
Misalnya, dalam contoh routing domain, routing statik yang memungkinkan lalu lintas yang dialihkan antara router "A," "B," dan "C" dapat dikonfigurasi sebagai berikut:
  
Example of static route configuration in a network
+
Contoh konfigurasi statik route di sebuah jaringan
 
 
 
  
 
{| border="1" cellpadding=2 style="border-collapse: collapse"
 
{| border="1" cellpadding=2 style="border-collapse: collapse"
Line 35: Line 33:
 
|}
 
|}
  
Note: next-hop addresses can be either global unicast or link-local.
+
Catatan: next-hop address dapat global unicast atau link-local.
 +
 
 +
Contoh sebuah routing domain
  
Example of a routing domain
+
[[File:Figure 9-3.png|center|400px|thumb]]
[[File:Figure 9-3.png|center|200px|thumb]]
 
  
  

Revision as of 07:55, 14 March 2019

sumber: http://h22208.www2.hpe.com/eginfolib/networking/docs/switches/RA/16-01/5200-0134_ra_2620_ipv6/content/ch07.html

Rute statik adalah tool yang memungkinkan untuk membatasi dan mengatasi masalah arus lalu lintas yang disalurkan dan dalam jaringan kecil dapat memberikan konfigurasi paling sederhana dan paling dapat diandalkan untuk IPv6 routing.

Rute statik dikonfigurasikan secara manual dalam tabel routing. Entri rute statis terdiri dari yang berikut:

  • Prefix jaringan IPv6 untuk route jaringan yang di tuju
  • gateway next-hop, yang dapat berupa salah satu dari berikut ini:
    • bisa link-local address dan ID VLAN atau VLAN link ke router next-hop
    • Alamat Global unicast pada router next-hop
    • Antarmuka "null" (router switch akan meneruskan lalu lintas yang ke antarmuka null)
  • Opsional, kita bisa menset distance administrasi non-standar


CATATAN: Untuk mengaktifkan routing di kedua arah pada routing statik, anda harus mengonfigurasi routing statik timbal balik pada router di kedua ujung router. Pada sebuah routing switch anda dapat membuat satu routing statik atau null route ke tujuan tertentu. Beberapa rute statik atau null ke tujuan yang sama tidak didukung.Sebuah routing switch secara bersamaan dapat mendukung maksimum 256 rute statik IPv6 dan 256 rute statik IPv4.

Misalnya, dalam contoh routing domain, routing statik yang memungkinkan lalu lintas yang dialihkan antara router "A," "B," dan "C" dapat dikonfigurasi sebagai berikut:

Contoh konfigurasi statik route di sebuah jaringan

Router "A" Router "B" Router "C"
ipv6 route 2620:a::/64 2620:e::55:1 ipv6 route 2620:a::/64 2620:b::22:1 ipv6 route 2620:c::/64 2620:b::22:2
ipv6 route 2620:b::/64 2620:e::55:1 ipv6 route 2620:c::/64 2620:e::55:2 ipv6 route 2620:e::/64 2620:b::22:2

Catatan: next-hop address dapat global unicast atau link-local.

Contoh sebuah routing domain

Figure 9-3.png


Advantages of static routing

Static routing is relatively reliable and gives you tight control over traffic flow. You determine exactly which connections to use to forward traffic to each destination. In a given VLAN, you can use multiple IPv6 addresses to add multiple static routes in the VLAN. Other advantages include:

   efficiency in a small network with few paths to manage
   ease of configuration and maintenance
   lower CPU utilization

Disadvantages of static routing

In a large or expanding network, configuring static routes for all the necessary routes can become increasingly complicated and time-consuming. Ensuring that all routes remain accurate can also add to the administrative burden. Each time you add a connection or change a route, you must configure the change on every routing device in the network. Also, routers do not automatically respond to a failed static connection, so traffic can be lost or misrouted.

[NOTE: ]


NOTE: Network management and monitoring applications such as PCM and PCM+ can detect failed static routes.

Static route types

You can configure these types of static IPv6 routes:

   Standard: The static route consists of:
       Destination network prefix
       Link-local IPv6 address and VLAN ID of the (next-hop router) gateway IPv6 address
   Interface-based: The static route consists of:
       Destination network address or host and a corresponding network prefix
       VLAN interface through which you want the routing switch to send traffic for the route
   Null (discard): Null routes include the following:
       Default: When IPv6 routing is enabled, a route for the ::1/128 network is created and traffic to this network is rejected (dropped). The loopback address (lo0) is entered as the gateway. This route is for all traffic to the "loopback" network, with the single exception of traffic to the host address of the switch's loopback interface.
       Configured: Provides a route that is used as a backup route for discarding traffic where the primary route is unavailable. A configured null route consists of:
           Destination network address or host and a corresponding network mask
           Either the reject keyword (traffic dropped with ICMP notification to the sender) or blackhole keyword (traffic dropped without any ICMP notification).
       Non-default null routes created with the reject or blackhole keywords use a gateway of zero (0).

Example of static routes in an ECMP application illustrates the default and configured null route entries in the switch's routing table. Static routing default settings

The routing switch applies default administrative distance and metric values to ensure that static routes are preferred over dynamic routes to the same destination.

   Administrative distance: In the case of static routes, this is the value the routing switch uses to compare a static route to routes from other route sources to the same destination before placing a route in the routing table. The default administrative distance for static routes is 1, but can be configured to any value in the range of 1–255.
   Metric: In the case of static routes, this is the value the routing switch uses when comparing a static route to routes in the routing table from any dynamic routes to the same destination. The metric for static routes is fixed, that is, always set to "1".

Static route states follow VLAN states

Static routes remain in the routing table only while the interface link to the next-hop router is up. If the next-hop router interface link goes down, the software removes the static route from the routing table. If the next-hop interface comes up again, the software adds the route back to the routing table.

This feature allows the routing switch to adjust to changes in network topology. The routing switch does not continue trying to use routes on unreachable paths, but instead uses routes only when their paths are reachable. Static routes for ECMP applications

Equal-cost multi-path routing (ECMP) is a routing strategy where next-hop packet forwarding to a single destination can occur over multiple "best paths." Each path has the same cost as the other paths, but a different next-hop router. In static routing, load-balancing can be achieved through ECMP. Example of static routes in an ECMP application illustrates static routes applied to an ECMP topology.

Example of static routes in an ECMP application Example of static routes in an ECMP application

The [no] ip load-sharing <2–4> command enables or disables load-sharing for both IPv4 and IPv6 applications and specifies the number of ECMP routes to allow. In the default configuration, load-sharing is enabled with four ECMP routes allowed. For more information, see Equal-cost multi-path routing (ECMP) for the Switch 2620-series.



Referensi


Pranala Menarik