Jump to content


Photo

IPv6 Support

OpenPLI

  • Please log in to reply
24 replies to this topic

Re: IPv6 Support #21 littlesat

  • PLi® Core member
  • 57,107 posts

+698
Excellent

Posted 16 January 2013 - 16:12

From a technical point of view: Never.

That were my thought too. But possibly there might be a reason I still didn't know/understand. That was why I asked the question.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: IPv6 Support #22 Zuppelan

  • Senior Member
  • 1,408 posts

+62
Good

Posted 16 January 2013 - 16:19

Just as with DHCP versus static, the majority of situations don't rule out one or the other, it is a matter of preference and best practise. Typically you give your servers well known addresses and you configure your laptops for automatic configurations.

I can think of the following:
* fc00:98 is way more easy to remember than fc00::21d:ecff:fe02:ce3c. So in situations where you regularily want to know which device has which address, you want static configuration. Personally I align my ipv6 addresses with the ipv4 addresses, so if a device has 192.168.1.98, the ipv6 address becomes fc00::98. (As for fc00 versus public routable addresses: I use fc00 for all my devices, and add a routable address only if they need to be accessed from the internet. You don't have NAT to shield you.)
* Quick setup: It's much faster to setup a networking between two devices with static addresses. It's much less hassle to enter two addresses than to install and configure and a daemon.
* Router: It's not in any way required, but it's common practise to give ipv6 routers an address ending with ::1, for example 2002:aabbccddee::1 address.
* Address stability: The automatic addresses are computed from the mac address. If it is not desired that a new network card would mean a new IP address, you would not use automatic addresses.
* Funny addresses:
root@commandchair:# host -t AAAA www.facebook.com
www.facebook.com is an alias for star.c10r.facebook.com.
star.c10r.facebook.com has IPv6 address 2a03:2880:10:8f02:face:b00c:0:1


Re: IPv6 Support #23 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+541
Excellent

Posted 16 January 2013 - 19:16

I fixed this another way, I added an extra startup script in /etc/init.d, that sets the ipv6 address. That way it never gets overwritten. The script does a few other extra startups as well, btw.

* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: IPv6 Support #24 kazbek007

  • Member
  • 7 posts

0
Neutral

Posted 16 March 2013 - 19:16

Erik,
I have the same issue with IPv6. I had it work, but after a reboot I lost all my settings. Is it possible that you post here the script (without your ip :D ). I want to use this as well. My home has to be IPv6 and IPv4 capble as much as possible. Thanks in advance.

Kazbek007

Re: IPv6 Support #25 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+541
Excellent

Posted 17 March 2013 - 14:27

There is nothing secret about ip addresses ;)

Create a script similar to this in /usr/local/bin and then make a symlink in /etc/init.d and /etc/rc3.d so it gets started automatically.

Don't forget to save the script somewhere else as well, otherwise it will be gone on the next flash.

#!/bin/sh

export PATH=$PATH:/usr/local/bin

ip link set lo down # this fixes ipv6 stack that may be
ip link set lo up # messed up with erronous bare "ip -6 flush" commands (without the "scope global")

ip -6 addr flush dev eth0 scope global
ip -6 addr add 2001:980:5fef:1::13/64 dev eth0
ip -6 route add default via 2001:980:5fef:1::1 dev eth0 # insert your own gateway here or enable radv

mkdir /var/empty

NFSOPTS=nfsvers=3,nolock,intr,soft
NFSSERVER=artemis.ipv4.slagter.name

mount -t nfs -o $NFSOPTS ${NFSSERVER}:/nfs /nfs
mount -t nfs -o $NFSOPTS ${NFSSERVER}:/nfs/video/stb /hdd

Edited by Erik Slagter, 17 March 2013 - 14:28.

* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.




6 user(s) are reading this topic

0 members, 6 guests, 0 anonymous users