0

I've just got a new server with native ipv6. I want to attach multiple ipv6 ips to eth1, but the only way I can see to do so is to attach them individually:

i.e.

address 2607:f0d0:xxxx:xxxx::2
address 2607:f0d0:xxxx:xxxx::3
address 2607:f0d0:xxxx:xxxx::4

Is it possible to bind whole subnets of ipv6 to a single network interface on debian? My server host tells me I have 18,446,744,073,709,551,616 ipv6 addresses for that server, surely it gets to be a nightmare to manage if they all have to bound individually (plus ifconfig would look messy).

Does anyone have a solution?

Noodles
  • 1,416

1 Answers1

0

The usual way to do this is with a loop in a shell script so that you don't have a huge block of repeated almost identical commands. The timing shouldn't matter a whole lot as long as you get it done before starting up an application (Apache?) that depends on the addresses.