Радвд - префикс через RA

460
user582329

Когда Radvd запущен на моем маршрутизаторе, мой клиентский компьютер, как все говорят в сети «автоматически», получает адрес ipv6. Можно ли каким-то образом использовать тот же префикс, который опубликован RADVD в его RA, и заставить того же клиента Ubuntu действовать как маршрутизатор (при запуске RADVD) с этим префиксом на каком-то другом интерфейсе? Если да, пожалуйста, объясните, как это сделать.

-1
Насколько велик ваш префикс? Обычно вы получаете сеть / 64 от вашего провайдера. В случаях практического использования / 64 - это наименьшая подсеть, которую вы можете иметь, поэтому нет, вы не сможете далее подсеть сеть, которую вам дал ваш провайдер. Если ваш префикс меньше 64 бит, то вы можете. heavyd 8 лет назад 1

1 ответ на вопрос

0
Spiff

The way for upstream network infrastructure to delegate whole prefixes to be used on the downstream side of downstream routers is not via router discovery (router advertisements and router solicitations) but via DHCP6-PD (Prefix Delegation).

But that requires a PD-capable DHCP server and router, and a way for the DHCP server to communicate the route table updates to the other routers (so that the upstream routers learn that they need to send traffic for that prefix to the upstream port on that router).

As @heavyd mentioned, each "Ethernet LAN" gets a whole /64 minimum, so if all you got from your ISP was a single /64, you can't subdivide it across routers. If you have a more generous prefix (shorter prefix length than /64) then you can split it up. If you decide to manually subdivide your prefix and assign a chunk of it to the downstream side of your PC, don't forget to give your router a static route for that chunk, pointing it at the upstream IPv6 address of your PC.