IRCNow

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
irc:openbsd:ipv6 [2019/11/09 22:51]
jrmu
irc:openbsd:ipv6 [2020/07/11 02:34]
jrmu
Line 60: Line 60:
  
 The first one sets the device to use the static IPv6 address 2001:0db8:: with a /48 subnet, and the second one creates another IPv6 address 2001:​0db8:​0000:​0000:​9b1d:​3511:​387e:​143a with a /48 subnet, aliased to the first IPv6 address. In this way, you can create dozens of unique IPv6 addresses so that each user on a shell account or bouncer can get a unique IPv6 address. The first one sets the device to use the static IPv6 address 2001:0db8:: with a /48 subnet, and the second one creates another IPv6 address 2001:​0db8:​0000:​0000:​9b1d:​3511:​387e:​143a with a /48 subnet, aliased to the first IPv6 address. In this way, you can create dozens of unique IPv6 addresses so that each user on a shell account or bouncer can get a unique IPv6 address.
 +
 +You will also need to specify the default gateway in /​etc/​mygate:​
 +
 +<​code>​
 +192.168.1.1
 +2001:​0db8:​0000:​0000::​1
 +</​code>​
  
 Sometimes, to restart networking, I will run: Sometimes, to restart networking, I will run:
Line 68: Line 75:
  
 But this doesn'​t seem to properly reset the networking sometimes. But this doesn'​t seem to properly reset the networking sometimes.
 +
 +Watch out! Iked, without the -6 flag, will block all IPv6 traffic.
 +
 +If you later decide you want to add a new ipv6 address, use ifconfig:
 +
 +<​code>​
 +$ doas ifconfig if0 inet6 2001:​0db8::/​64
 +</​code>​
 +
 +To delete the IPv6 address:
 +
 +<​code>​
 +$ doas ifconfig if0 inet6 2001:​0db8::/​64 delete
 +</​code>​
 +
 +Replace if0 with your specific interface.