disable IPv6

gergerdotcom

New Member
Joined
Feb 13, 2019
Messages
3
Reaction score
0
Credits
0
i'm using centOS 7 ..


and may i know how to disable IPv6? i mean in our Win 7 PCs, we uncheck the IPv6 in the Networking-option then let the IPv4 run it's course .


i just want that my centOS 7 PC will also run as simple or basic as our Windows-based PCs.



cheers!
 


add this to your /etc/sysctl.conf file

Code:
net.ipv6.conf.all.disable_ipv6 = 1
 
  • Like
Reactions: Rob
add this to your /etc/sysctl.conf file

Code:
net.ipv6.conf.all.disable_ipv6 = 1



hi Kryptoghost,

thanks for the reply ..

but after saving it, do i have to restart the PC to take it effect? ... or is there a command for it to take effect without rebooting??



cheers!
 
Open Network and Sharing Center. On the left, select Change adapter settings (Windows 7) or Manage network connections (Vista). Right-click the connection for which you want to disable IPv6, and select Properties. Uncheck Internet Protocol Version 6 (TCP/IPv6) and click OK.
 

Members online


Top