LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-16-2016, 07:25 AM   #1
Averus
LQ Newbie
 
Registered: Jan 2016
Posts: 2

Rep: Reputation: Disabled
IPv6 add to dedicated serv


Hello,
i am noob in v6 and i need help to setup Centos dedicated server IPv6.

They give me only this mail:

2a04:5200:0001:0015:0003:0000:0000:0000-
2a04:5200:0001:0015:0003:0000:0000:3fff
gateway 2a04:5200:1::1
masks /48


how can i generate list of this IPs ? And then add it too serv...


> ifconfig
eth0 Link encap:Ethernet HWaddr 00:19:66C:35:F4
inet addr:192.162.101.84 Bcast:192.162.101.255 Mask:255.255.255.0
inet6 addr: fe80::219:66ff:fedc:35f4/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:13237241 errors:0 dropped:0 overruns:0 frame:0
TX packets:26513 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:808644576 (771.1 MiB) TX bytes:3197518 (3.0 MiB)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
 
Old 01-18-2016, 02:32 AM   #2
Elizine
Member
 
Registered: Aug 2015
Posts: 54
Blog Entries: 1

Rep: Reputation: Disabled
IPv6 add to dedicated server

Edit /etc/sysconfig/network and update the NETWORKING_IPV6 line to read:

Code:
NETWORKING_IPV6=yes
Edit /etc/sysconfig/network-scripts/ifcfg-eth0 and verify or add the following lines:

Code:
IPV6INIT=yes
IPV6ADDR="[Main IPv6 Address]/[Prefix Length]"
IPV6_DEFAULTGW="[Default Gateway]"
To add additional IPv6 addresses, insert this additional line in the same file:

Code:
IPV6ADDR_SECONDARIES="[Address] [Address]"
You may enter as many as you like, separated by spaces.

Now run the following command to apply the configuration:

Code:
/etc/init.d/network restart
 
Old 01-18-2016, 06:49 AM   #3
Averus
LQ Newbie
 
Registered: Jan 2016
Posts: 2

Original Poster
Rep: Reputation: Disabled
can you give me example ? Its just copy paste from one of hosting sites
And we add all subnet when every single ip ?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't Add Ipv6 to interface cdaniels79 Linux - Networking 2 10-22-2013 04:19 PM
how do i add IPv6 to my IPv4 server? steve51184 Linux - Networking 8 02-17-2011 04:08 PM
Add multiple IPv6 on Centos LowKey88 Linux - Server 1 08-12-2009 05:20 AM
Don't have rights after copying serv to other serv zola1 Linux - Server 4 01-12-2008 04:08 AM
How to add ipv6 support to kernel 2.4.21 raver Linux - Networking 4 08-14-2007 06:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration