IPv6?
unclebob
18-06-2009, 00:29
There are a few ways to activate things on boot, but I prefer using cron:
Add a new line: "@reboot /path/to/script/or/command --with options"
Ok now I have another problem, when I reboot the machine all the IPv6 interfaces get lost when using the ifconfig command listed in OVH's config.
Anyway I can make these activate on boot?
Yeah but only for ports 6667 or if you are running a server.
I am running a client on 6668 so it shouldn't matter.
Seedbox Paradis
08-06-2009, 15:57
Depends how the server is configured, but port 6667 is the most commonly used port (other than for SSL connections, I forget what that one is, its been a while since I hung out in IRC chans ). There is an option somewhere in the OVH manager to allow IRC, I'm not sure now as I can't access my manager from here.
On port 6668? It only applies to port 6667 though right?
Seedbox Paradis
07-06-2009, 10:28
Originally Posted by
Ashley
Unable to access IRC using IPv6 (EFnet).
Able to use wget to access IPv6 websites though
Did you allow IRC in the manager?
Unable to access IRC using IPv6 (EFnet).
Able to use wget to access IPv6 websites though
Originally Posted by
Ashley
Thanks folks. I am able to ping6 to ipv6.google.com
Now - will IRSSI support an ipv6 hostname?
According to a Ubuntu Wiki (quick Google ):
IRSSI needs to be configured to prefer IPv6 to IPv4. In order to do this, please use the command /SET resolve_prefer_ipv6 ON when on IRSSI
Thanks folks. I am able to ping6 to ipv6.google.com
Now - will IRSSI support an ipv6 hostname?
Ashley, have a look at
IanK's post that Neil mentioned regarding that bzImage file. Before you start with that, you'll need to do an
# aptitude install build-essential.
@ OVH's gang: what's the reason for a static kernel, and wouldn't it save some headaches to have IPv6 enabled in all distros that support it? Not complaining... Just wanting to know, that's all.
Oops, just noticed you didn't get the
config file... (2.6-config-2.6.29.3-xxxx-rt12-ipv6-32) - Kernel that goes with it is
http://www.kernel.org/pub/linux/kern....6.29.3.tar.gz (69 Mb)
I have downloaded bzImage-2.6.27.10-xxxx-grs-ipv6-64 to my server, how do I extract the contents?
freshwire
05-06-2009, 16:38
1. Download kernel source
2. Copy the OVH config (optional) [.config file]
3. Compile [make]
4. Install [make install]
5. Update GRUB or LILO with the new kernel
Is there a step by step on changing the kernel at all?
Originally Posted by
Ashley
I am using the basic distros, aka, Debian Etch 4.0 64bit...I just thought these were normal ISO's from the corresponding websites installed?
How would I build my own kernel? Starting to feel like this isnt worth it now...
We provide kernels with IPv6 support as well:
bzImage-2.6.27.10-xxxx-grs-ipv4-64 4450 KB 01/04/09 13:16:00
bzImage-2.6.27.10-xxxx-grs-ipv6-32 4414 KB 01/04/09 13:16:00
from here:
ftp://ftp.ovh.net/made-in-ovh/bzImage/
unclebob
05-06-2009, 11:29
If I were you, I'd just netboot into a kernel that supports IPv6, via the manager.
Hi
There only two modifications which is the kernel and the fact the bootloader is GRUB, compiling your own kernel is that hard, IainK, did a great post on it here,
http://forum.ovh.co.uk/showpost.php?p=2985&postcount=2
I am using the basic distros, aka, Debian Etch 4.0 64bit...I just thought these were normal ISO's from the corresponding websites installed?
How would I build my own kernel? Starting to feel like this isnt worth it now...
If you are using an OVH Distro then it will not support modules as it is static, you need to compile your own kernel with modules support.
Does your distro support module loading? What does this say:
Code:
grep CONFIG_MODULE /boot/config-$(uname -r)
# modprobe ipv6 && lsmod | grep ipv6
FATAL: Could not load /lib/modules/2.6.27.10-grsec-xxxx-grs-ipv4-64/modules.dep: No such file or directory
hrm?
try:
Code:
modprobe ipv6 && lsmod | grep ipv6
If you get "FATAL: Module ipv6 not found", your kernel likely doesn't support ipv6. Otherwise, you should see ipv6 listed and you'll be able to add inet6 to your interface (in that case, you'd have to make sure the ipv6 gets loaded at boot time - it should by default though).
What did you install to enable inet6?
I keep getting 'No support for INET6 on this system.'
Debian Etch 4.0 here. New box arriving tommorow is Debian Etch 5.0 maybe will come as default?
Oh, by the way, the prefix (what you see in the manager, less the ::/64 part) is all you need. With the above, you can assign anything between 0000:0000:0000:0000 and ffff:ffff:ffff:ffff and it'll be immediately accessible from the internet. You don't have to do anything else in the OVH manager for this. The only exception is reverse-ip lookups, which works the same way as IPv4 reverse lookups.
For testing purposes, in case your own ISP doesn't support IPv6, you can use websites such as
http://www.sixxs.net/tools/traceroute/ for a traceroute / ping to your server using IPv6.
Here's how I do it in /etc/network/interfaces:
Code:
iface eth0 inet6 static
address 2001:41d0:XXXX:YYYY::ZZZZ
netmask 56
gateway 2001:41d0:XXXX:YYff:ff:ff:ff:ff
So, assuming you have
2001:41d0:1:abcd as your prefix, it would read as:
Code:
iface eth0 inet6 static
address 2001:41d0:1:abcd::1
netmask 56
gateway 2001:41d0:1:abff:ff:ff:ff:ff
You can add more than one IP address to the same interface, but it
doesn't work the same as with IPv4 aliases (ie, eth0:0). This is one solution that I am using:
Code:
iface eth0 inet6 static
address 2001:41d0:1:abcd::1
netmask 56
gateway 2001:41d0:1:abff:ff:ff:ff:ff
up /sbin/ifconfig eth0 inet6 add 2001:41d0:1:abcd::2/56
up /sbin/ifconfig eth0 inet6 add 2001:41d0:1:abcd::3/56
If you have Proxmox installed, you must enable NDP (simply add this in the same way as
up /sbin/ifconfig as described above...):
Code:
post-up echo 1 > /proc/sys/net/ipv6/conf/eth0/proxy_ndp
unclebob
04-06-2009, 19:34
Seedbox Paradis
04-06-2009, 19:12
I would imagine the IPv6, just like the IPv4, would be automatically assigned to each server, though I am not too sure as I have never used the feature.
Ok,
but do you know how I would go about assigning one of these IP's to Debian Etch 4.0?
Seedbox Paradis
04-06-2009, 17:07
The IPv6 address is listed in the manager for every server you rent, under the details page on the right side (along with the IPv4 address, server number, rack number etc.).
Hi,
Can someone give a quick over view on how to get IPv6 addresses via the manager and then assign them to your server of choice?
Cheers