OpenVZ Forum


Home » General » Support » Native IPv6
Native IPv6 [message #35285] Sun, 15 March 2009 16:57 Go to next message
sspt is currently offline  sspt
Messages: 100
Registered: August 2006
Location: Portugal
Senior Member
Hi,
I've just got native IPv6 working on CentOS 5.2 with 2.6.18-92.1.18.el5.028stab060.2 kernel

/etc/sysconfig/network
...
IPV6_DEFAULTGW=your_ipv6_gw_here
IPV6_DEFAULTDEV=your_interface_here


/etc/sysconfig/network-scripts/ifcfg-eth0
..
IPV6INIT=yes
IPV6FORWARDING=yes
IPV6ADDR=your_host_node_ipv6_ip/netmask


/etc/sysconfig/network-scripts/ifup-ipv6
Replace
ipv6_set_default_route "$IPV6_DEFAULTGW" "$IPV6_DEFAULTDEV" "$DEVICE"

With
ip r a 2000::/3 dev "$IPV6_DEFAULTDEV"
ip r a 2000::/3 via "$IPV6_DEFAULTGW" dev "$IPV6_DEFAULTDEV"
ip r d 2000::/3 dev "$IPV6_DEFAULTDEV"


I'm unable to add any route without adding [2000::/3 dev "$IPV6_DEFAULTDEV"] first, that's why I add it first and then remove it.


http://static.openvz.org/userbars/openvz-user.png
Re: Native IPv6 [message #35287 is a reply to message #35285] Sun, 15 March 2009 23:06 Go to previous message
dedicados is currently offline  dedicados
Messages: 46
Registered: February 2009
Location: Mexico
Member

ok, if i get an /48 for my server, how can i install it, and how to give a /64 for each vps?

do you know?
Previous Topic: how to upgrade mod_ssl manually ?
Next Topic: vtonf control panel
Goto Forum:
  


Current Time: Fri Nov 01 00:22:20 GMT 2024

Total time taken to generate the page: 0.04561 seconds