Mit einem Centro Router des Herstellers Motorola können statische Routen eingerichtet werden, um Verkehr an weitere Router im Heimnetz zu leiten. Dazu muss zuerst eine neue "connection" angelegt werden. Hier ein Beispiel:
Centro_grande (top)>> set ip6 conn name "Net-1-LANv6" ==> entspricht der neuen "connection" name "Net-1-LANv6"
enable (off) \[ off | on \]: on
type (static) \[ static | rd | autoconf | dp | aiccu | ip6in4 \]: static
mtu (1500) \[ 1280 - 1500 \]: 1472
side (wan) \[ lan | wan \]: lan
mcast-forwarding (on) \[ off | on \]: off
old-prefix-purge-timer (7200) \[ 0 - 7200 \]: 7200
adv-valid-lifetime-override (off) \[ off | on \]: on
adv-valid-lifetime (2592000) \[ 60 - 4294967295 \]:
adv-preferred-lifetime-override (off) \[ off | on \]: on
adv-preferred-lifetime (604800) \[ 30 - 4294967295 \]: 60
static
link ("") \[ LAN | WAN | PPPoE | \]: LAN
ipaddr ("::"): 2a02:120b:c3e2:c3c0::1
dhcp-server enable (off) \[ off | on \]: off
pd
(pd) node list...
Select (name) node to modify from list, or enter new (name) to create.
pd name (?): Net-1
(Net-1) has been added to the (pd) list
name "Net-1"
radv
enable (off) \[ off | on \]: on
min-adv-interval (10) \[ 3 - 1350 \]: 5
max-adv-interval (30) \[ 4 - 1800 \]: 10
Centro_grande (top)>> save
Centro_grande> show ipv6 interfaces
IPv6 interfaces:
WAN sit1: ( up Type: rd )
inet 2a02:120b:c3e2:c3c0:: prefix-length 60
physical address N/A mtu 1472
Ethernet LAN br1: ( up Type: dp )
inet 2a02:120b:c3e2:c3c0:226:42ff:fe38:90b0 prefix-length 64
physical address 00:26:42:38:90:b0 mtu 1472
Ethernet LAN br1: ( up Type: static ) ==> entspricht der neuen "connection"
inet 2a02:120b:c3e2:c3c0::1 prefix-length 64
physical address 00:26:42:38:90:b0 mtu 1472
Dann kann die statische Route auf diese Verbindung gelegt werden:
Centro_grande> conf t
Config Mode v1.3 Centro_grande (top)>> set ip6 static-routes
static-routes
(static-routes) node list...
"Subnet-2-ip6"
Select (name) node to modify from list, or enter new (name) to create.
static-routes name (?): Subnet-3-ip6
(Subnet-3-ip6) has been added to the (static-routes) list
name "Subnet-3-ip6"
conn ("") \[ WANv6 | LANv6 | Net-1-LANv6 | \]: Net-1-LANv6
next-hop ("::"): 2a02:120b:c3e2:c3c0::2
prefix ("::"): 2a02:120b:c3e2:c3c**2**::
prefix-length (64) \[ 1 - 64 \]: 64
metric (0) \[ 0 - 255 \]: 1
Centro_grande (top)>> save
oder im nicht-interaktiven Modus, hier für drei Routen:
set ip6 static-routes name "Subnet-2-ip6" conn "Net-1-LANv6"
set ip6 static-routes name "Subnet-2-ip6" next-hop "2a02:120b:c3e2:c3c0::2"
set ip6 static-routes name "Subnet-2-ip6" prefix "2a02:120b:c3e2:c3c2::"
set ip6 static-routes name "Subnet-2-ip6" prefix-length 64
set ip6 static-routes name "Subnet-2-ip6" metric 1
set ip6 static-routes name "Subnet-3-ip6" conn "Net-1-LANv6"
set ip6 static-routes name "Subnet-3-ip6" next-hop "2a02:120b:c3e2:c3c0::2"
set ip6 static-routes name "Subnet-3-ip6" prefix "2a02:120b:c3e2:c3c3::"
set ip6 static-routes name "Subnet-3-ip6" prefix-length 64
set ip6 static-routes name "Subnet-3-ip6" metric 1
set ip6 static-routes name "Subnet-4-ip6" conn "Net-1-LANv6"
set ip6 static-routes name "Subnet-4-ip6" next-hop "2a02:120b:c3e2:c3c0::2"
set ip6 static-routes name "Subnet-4-ip6" prefix "2a02:120b:c3e2:c3c4::"
set ip6 static-routes name "Subnet-4-ip6" prefix-length 64
set ip6 static-routes name "Subnet-4-ip6" metric 1