Difference between revisions of "IPv6: Quagga: Router Advertisement RA"

From OnnoWiki
Jump to navigation Jump to search
(Created page with " Interface Command: no ipv6 nd suppress-ra Send router advertisment messages. Interface Command: ipv6 nd suppress-ra Don’t send router advertisment messages. I...")
 
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
==Topology==
  
Interface Command: no ipv6 nd suppress-ra
 
  
    Send router advertisment messages.
 
  
Interface Command: ipv6 nd suppress-ra
 
  
    Don’t send router advertisment messages.
 
  
Interface Command: ipv6 nd prefix ipv6prefix [valid-lifetime] [preferred-lifetime] [off-link] [no-autoconfig] [router-address]
+
==Contoh==
  
    Configuring the IPv6 prefix to include in router advertisements. Several prefix specific optional parameters and flags may follow:
+
ip -6 addr add 2345::1/64 dev eth0
 +
vtysh
 +
enable
 +
configure terminal
 +
  interface eth1
 +
    no ipv6 nd suppress-ra
 +
    ipv6 nd prefix 2345::/64    # router-address
  
        valid-lifetime - the length of time in seconds during what the prefix is valid for the purpose of on-link determination. Value infinite represents infinity (i.e. a value of all one bits (0xffffffff)).
+
==Perintah lainnya==
  
        Range: <0-4294967295> Default: 2592000
+
no ipv6 nd suppress-ra  # send router advertisment messages
        preferred-lifetime - the length of time in seconds during what addresses generated from the prefix remain preferred. Value infinite represents infinity.
+
ipv6 nd suppress-ra
  
        Range: <0-4294967295> Default: 604800
+
ipv6 nd prefix <ipv6prefix> [valid-lifetime] [preferred-lifetime] [off-link] [no-autoconfig] [router-address]
        off-link - indicates that advertisement makes no statement about on-link or off-link properties of the prefix.
+
ipv6 nd prefix 2001::/80 router-address
  
        Default: not set, i.e. this prefix can be used for on-link determination.
+
ipv6 nd ra-interval msec <70-1800000>
        no-autoconfig - indicates to hosts on the local link that the specified prefix cannot be used for IPv6 autoconfiguration.
+
no ipv6 nd ra-interval [msec <70-1800000>]
  
        Default: not set, i.e. prefix can be used for autoconfiguration.
+
ipv6 nd ra-lifetime <0-9000>
        router-address - indicates to hosts on the local link that the specified prefix contains a complete IP address by setting R flag.
+
no ipv6 nd ra-lifetime [<0-9000>]
  
        Default: not set, i.e. hosts do not assume a complete IP address is placed.
+
ipv6 nd reachable-time <1-3600000>
 +
no ipv6 nd reachable-time [<1-3600000>]
  
Interface Command: ipv6 nd ra-interval <1-1800>
+
ipv6 nd managed-config-flag
Interface Command: no ipv6 nd ra-interval [<1-1800>]
+
no ipv6 nd managed-config-flag
  
    The maximum time allowed between sending unsolicited multicast router advertisements from the interface, in seconds.
+
ipv6 nd other-config-flag
 +
no ipv6 nd other-config-flag
  
    Default: 600
+
ipv6 nd home-agent-config-flag
 +
no ipv6 nd home-agent-config-flag
  
Interface Command: ipv6 nd ra-interval msec <70-1800000>
+
ipv6 nd home-agent-preference <0-65535>
Interface Command: no ipv6 nd ra-interval [msec <70-1800000>]
+
no ipv6 nd home-agent-preference [<0-65535>]
  
    The maximum time allowed between sending unsolicited multicast router advertisements from the interface, in milliseconds.
+
ipv6 nd home-agent-lifetime <0-65520>
 +
no ipv6 nd home-agent-lifetime [<0-65520>]
  
    Default: 600000
+
ipv6 nd adv-interval-option
 +
no ipv6 nd adv-interval-option
  
Interface Command: ipv6 nd ra-lifetime <0-9000>
+
ipv6 nd router-preference (high|medium|low)
Interface Command: no ipv6 nd ra-lifetime [<0-9000>]
+
no ipv6 nd router-preference [(high|medium|low)]
 
 
    The value to be placed in the Router Lifetime field of router advertisements sent from the interface, in seconds. Indicates the usefulness of the router as a default router on this interface. Setting the value to zero indicates that the router should not be considered a default router on this interface. Must be either zero or between value specified with ipv6 nd ra-interval (or default) and 9000 seconds.
 
 
 
    Default: 1800
 
 
 
Interface Command: ipv6 nd reachable-time <1-3600000>
 
Interface Command: no ipv6 nd reachable-time [<1-3600000>]
 
 
 
    The value to be placed in the Reachable Time field in the Router Advertisement messages sent by the router, in milliseconds. The configured time enables the router to detect unavailable neighbors. The value zero means unspecified (by this router).
 
 
 
    Default: 0
 
 
 
Interface Command: ipv6 nd managed-config-flag
 
Interface Command: no ipv6 nd managed-config-flag
 
 
 
    Set/unset flag in IPv6 router advertisements which indicates to hosts that they should use managed (stateful) protocol for addresses autoconfiguration in addition to any addresses autoconfigured using stateless address autoconfiguration.
 
 
 
    Default: not set
 
 
 
Interface Command: ipv6 nd other-config-flag
 
Interface Command: no ipv6 nd other-config-flag
 
 
 
    Set/unset flag in IPv6 router advertisements which indicates to hosts that they should use administered (stateful) protocol to obtain autoconfiguration information other than addresses.
 
 
 
    Default: not set
 
 
 
Interface Command: ipv6 nd home-agent-config-flag
 
Interface Command: no ipv6 nd home-agent-config-flag
 
 
 
    Set/unset flag in IPv6 router advertisements which indicates to hosts that the router acts as a Home Agent and includes a Home Agent Option.
 
 
 
    Default: not set
 
 
 
Interface Command: ipv6 nd home-agent-preference <0-65535>
 
Interface Command: no ipv6 nd home-agent-preference [<0-65535>]
 
 
 
    The value to be placed in Home Agent Option, when Home Agent config flag is set, which indicates to hosts Home Agent preference. The default value of 0 stands for the lowest preference possible.
 
 
 
    Default: 0
 
 
 
Interface Command: ipv6 nd home-agent-lifetime <0-65520>
 
Interface Command: no ipv6 nd home-agent-lifetime [<0-65520>]
 
 
 
    The value to be placed in Home Agent Option, when Home Agent config flag is set, which indicates to hosts Home Agent Lifetime. The default value of 0 means to place the current Router Lifetime value.
 
 
 
    Default: 0
 
 
 
Interface Command: ipv6 nd adv-interval-option
 
Interface Command: no ipv6 nd adv-interval-option
 
 
 
    Include an Advertisement Interval option which indicates to hosts the maximum time, in milliseconds, between successive unsolicited Router Advertisements.
 
 
 
    Default: not set
 
 
 
Interface Command: ipv6 nd router-preference (high|medium|low)
 
Interface Command: no ipv6 nd router-preference [(high|medium|low)]
 
 
 
    Set default router preference in IPv6 router advertisements per RFC4191.
 
 
 
    Default: medium
 
 
 
Interface Command: ipv6 nd mtu <1-65535>
 
Interface Command: no ipv6 nd mtu [<1-65535>]
 
 
 
    Include an MTU (type 5) option in each RA packet to assist the attached hosts in proper interface configuration. The announced value is not verified to be consistent with router interface MTU.
 
 
 
    Default: don’t advertise any MTU option
 
 
 
interface eth0
 
no ipv6 nd suppress-ra
 
ipv6 nd prefix 2001:0DB8:5009::/64
 
 
 
For more information see RFC2462 (IPv6 Stateless Address Autoconfiguration) , RFC4861 (Neighbor Discovery for IP Version 6 (IPv6)) , RFC6275 (Mobility Support in IPv6) and RFC4191 (Default Router Preferences and More-Specific Routes).
 
  
 +
ipv6 nd mtu <1-65535>
 +
no ipv6 nd mtu [<1-65535>]
  
  

Latest revision as of 13:34, 6 February 2019

Topology

Contoh

ip -6 addr add 2345::1/64 dev eth0
vtysh
enable
configure terminal
  interface eth1
    no ipv6 nd suppress-ra
    ipv6 nd prefix 2345::/64    # router-address

Perintah lainnya

no ipv6 nd suppress-ra   # send router advertisment messages
ipv6 nd suppress-ra
ipv6 nd prefix <ipv6prefix> [valid-lifetime] [preferred-lifetime] [off-link] [no-autoconfig] [router-address]
ipv6 nd prefix 2001::/80 router-address
ipv6 nd ra-interval msec <70-1800000>
no ipv6 nd ra-interval [msec <70-1800000>]
ipv6 nd ra-lifetime <0-9000>
no ipv6 nd ra-lifetime [<0-9000>]
ipv6 nd reachable-time <1-3600000>
no ipv6 nd reachable-time [<1-3600000>]
ipv6 nd managed-config-flag
no ipv6 nd managed-config-flag
ipv6 nd other-config-flag
no ipv6 nd other-config-flag
ipv6 nd home-agent-config-flag
no ipv6 nd home-agent-config-flag
ipv6 nd home-agent-preference <0-65535>
no ipv6 nd home-agent-preference [<0-65535>]
ipv6 nd home-agent-lifetime <0-65520>
no ipv6 nd home-agent-lifetime [<0-65520>]
ipv6 nd adv-interval-option
no ipv6 nd adv-interval-option
ipv6 nd router-preference (high|medium|low)
no ipv6 nd router-preference [(high|medium|low)]
ipv6 nd mtu <1-65535>
no ipv6 nd mtu [<1-65535>]


Pranala Menarik


Pranala Menarik