Answer the question
In order to leave comments, you need to log in
Ipv6: how to set up a home router using Tomato as an example?
The provider issued the following settings:
2a03:7380:300:1::a1/64 - address
2a03:7380:300:1::1 - gateway
2A03:7380:300:1a::0/64 - subnet The
router has interfaces:
vlan2 - to provider
br0 - locale We register
on the router:
https://www.dropbox.com/s/lul35b6c48i02in/_2013111...
We get:
br0
inet6 addr: 2a03:7380:300:1a::1/64 Scope:Global
inet6 addr: fe80::4a5b:39ff:fe4d:e00c/64 Scope:Link
vlan2
inet6 addr: 2a03:7380:300:1:4a5b:39ff:fe4d:e00d/64 Scope:Global
inet6 addr: fe80::4a5b:39ff :fe4d:e00d/64 Scope:Link
2a03:7380:300:1::/64 dev vlan2 proto kernel metric 256 expires 2587283sec mtu 1500 advmss
1440 metric 10 4294967295
fe80::/64 dev vlan1 proto kernel metric 256 mtu 1500 advmss 1440 metric
10
4294967295
1440 metric 10 4294967295
default via fe80::204:96ff:fe6d:5ae9 dev vlan2 proto kernel metric 1024 expires 1671sec mtu 1500 advmss 1440 metric 10 64
default dev vlan2 metric 2048 mtu 1500 advmss 1449 metric 10 4295
unreachable default dev lo proto kernel metric -1 error -128 metric 10 255
ff00::/8 dev vlan1 metric 256 mtu 1500 advmss 1440 metric 10 4294967295
ff00::/8 dev br0 metric 256 mtu 1500 advmss 1440 metric 10
4294967:29 /8 dev vlan2 metric 256 mtu 1500 advmss 1440 metric 10 4294967295
unreachable default dev lo proto kernel metric -1 error -128 metric 10 255
It turns out that the router address is br0, and vlan2 assigned the address to itself, having received ra from the gateway.
Naturally, this is of no use.
Questions:
1. How is it right? On vlan2 it should be 2a03:7380:300:1::a1/64 , but on br0 2A03:7380:300:1a::1/64 ?
2. How to set it up on tomato?
Answer the question
In order to leave comments, you need to log in
The address 2a03:7380:300:1::a1/64 is assigned to the external interface (WAN, towards the provider). Gateway 2a03:7380:300:1::1 is set as the default route for IPv6. We assign any of the network addresses 2A03:7380:300:1a::/64 to the lan interface. Let it be, for example, 2A03:7380:300:1a::1/64
This is enough for SLAAC to work (in normal routers).
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question