LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 02-25-2021, 02:34 AM   #1
GunFighT
Member
 
Registered: May 2014
Location: Romania
Distribution: Debian/Ubuntu, Rocky Linux
Posts: 53

Rep: Reputation: Disabled
Problem adding multipe IPv6 on Oracle Linux Server release 8.3


Hello,

I`m trying to configure the NIC ( enp1s0 ) of a Oracle Linux Server to support multiple IPv6 addresses like in CentOS.

So for this I have added in the NIC configuration file ifcfg-enp1s0 the following settings:

Code:
IPV6INIT=yes
IPV6ADDR=[IPv6]/64
IPV6ADDR_SECONDARIES="
 [IPv6]:100:0:0:0/128
 [IPv6]:200:0:0:0/128
 [IPv6]:300:0:0:0/128
 [IPv6]:0:0:0/128
 [IPv6]:0:0:0/128
"
IPV6_DEFAULTGW=fe80::1%enp1s0
IPV6_DEFAULTDEV=enp1s0

Also added the following configuration lines into sysctl.conf file.

Code:
net.ipv6.conf.all.accept_ra=2
net.ipv6.conf.enp1s0.accept_ra=2
Restarted network and I can ping6 hostnames that have IPv6 enabled.
The problem after restarting the network is that only one IPv6 is added to the internface.
For example on a CentOS Server that is based on RHel is the same configuration and the Secondaries are added on the same interface.

I've also followed the Oracle Linux Docs for IPv6 Configuration but in this case I can't even get the virtual interface up even if I did the exact steps.

What I'm trying to achive is even if I add multiple virtual interfaces is that to assign the IPv6 secondaries to work.
Yes, will be better to add them stacked on the same interface.

Any ideas on how to get to better results?
 
Old 03-27-2021, 03:26 PM   #2
Gad
Member
 
Registered: May 2013
Distribution: FreeBSD
Posts: 566

Rep: Reputation: 114Reputation: 114
It appears according to your thread the IPv6 settings are not persistent?

Have a look at this thread and let us know how it goes - https://docs.oracle.com/cd/E19253-01...-28/index.html
 
  


Reply



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
Postfix - Single domain with multipe relay host jignesh.vasani Linux - Software 10 11-30-2009 04:53 PM
Renaming multipe files without extensions DIMonS Programming 3 08-09-2007 11:29 AM
multipe linux OS on 1 machine abijah Linux - General 5 03-07-2005 10:31 AM
An easy way of deleting lines from multipe files? delawhere Linux - General 2 04-02-2004 11:58 AM
PostFix multipe domains (virtual setup) dulaus Linux - Networking 0 10-10-2002 04:58 PM

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

All times are GMT -5. The time now is 04:29 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
Open Source Consulting | Domain Registration