How to disable ipv4

Connection sharing, Firewall, Samba..etc
Forum rules
Before you post please read how to get help
windumbnew
Level 1
Level 1
Posts: 5
Joined: Tue Aug 29, 2017 12:21 pm

How to disable ipv4

Postby windumbnew » Sun Sep 17, 2017 9:41 pm

I noticed there is a ipv4 address at the same time the ipv6 shows up (for example on testing sites).

Also it is actually simple on Mint (network manager) to deactivate the ipv4 stack. Still the testing sites detect the ipv4. How come? Is it a bug?

How can i deactivate my ipv4 or make it invisible to the internet at least? why is there even still a ipv4 address?

Thank you.

User avatar
jimallyn
Level 16
Level 16
Posts: 6695
Joined: Thu Jun 05, 2014 7:34 pm
Location: Wenatchee, WA USA

Re: How to disable ipv4

Postby jimallyn » Mon Sep 18, 2017 12:09 am

It is my understanding that nearly everything is still using IPV4. No?
Image

“If the government were coming for your TVs and cars, then you'd be upset. But, as it is, they're only coming for your sons.” - Daniel Berrigan

windumbnew
Level 1
Level 1
Posts: 5
Joined: Tue Aug 29, 2017 12:21 pm

Re: How to disable ipv4

Postby windumbnew » Mon Sep 18, 2017 2:03 am

I have no idea, you tell me.

User avatar
catweazel
Level 10
Level 10
Posts: 3329
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: How to disable ipv4

Postby catweazel » Mon Sep 18, 2017 3:35 am

Your router will be using IPv4.
If your problem is fixed, please mark your thread as [SOLVED] by editing the title of the first message in the thread.

User avatar
jimallyn
Level 16
Level 16
Posts: 6695
Joined: Thu Jun 05, 2014 7:34 pm
Location: Wenatchee, WA USA

Re: How to disable ipv4

Postby jimallyn » Mon Sep 18, 2017 3:51 am

When you say, "why is there even still a ipv4 address?" that leads me to believe that you think IPV4 isn't used anymore, or has been obsoleted by IPV6, or something like that. Not yet, but that will happen eventually. On December 26, 2015, IPV6 reached 10 percent deployment:

https://arstechnica.com/information-tec ... eployment/

So, if you wish to have all of the internet available to you, you should probably NOT deactivate IPV4.
Image

“If the government were coming for your TVs and cars, then you'd be upset. But, as it is, they're only coming for your sons.” - Daniel Berrigan

User avatar
catweazel
Level 10
Level 10
Posts: 3329
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: How to disable ipv4

Postby catweazel » Mon Sep 18, 2017 3:54 am

jimallyn wrote:So, if you wish to have all of the internet available to you, you should probably NOT deactivate IPV4.

If anything, IPv6 should be disabled, which can be done in grub.
If your problem is fixed, please mark your thread as [SOLVED] by editing the title of the first message in the thread.

windumbnew
Level 1
Level 1
Posts: 5
Joined: Tue Aug 29, 2017 12:21 pm

Re: How to disable ipv4

Postby windumbnew » Mon Sep 18, 2017 3:31 pm

alright thanks. So why is there even an option to disable ipv4 in mint if i have to switch it off via router? and why does the ipv4 and ipv6 address show different locations on a tracing test site?

catweazel wrote:If anything, IPv6 should be disabled, which can be done in grub.


I guess there are several possibilities to switch off ipv6. I played around with that via terminal and it worked. Is it better to switch it off in grub and if yes, why?

User avatar
catweazel
Level 10
Level 10
Posts: 3329
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: How to disable ipv4

Postby catweazel » Tue Sep 19, 2017 1:23 am

windumbnew wrote:Is it better to switch it off in grub and if yes, why?

I've no idea. It's how I would do it because it's simple to add a boot option fo IPv6 enabled if necessary.
Last edited by catweazel on Tue Sep 19, 2017 2:07 am, edited 1 time in total.
If your problem is fixed, please mark your thread as [SOLVED] by editing the title of the first message in the thread.

User avatar
trytip
Level 5
Level 5
Posts: 812
Joined: Tue Jul 05, 2016 1:20 pm

Re: How to disable ipv4

Postby trytip » Tue Sep 19, 2017 2:07 am

ipv4 and ipv6 comes from your ISP. they control it. the fact that you have the option to manipulate ipv* or turn it off doesn't change that the source still comes from there.
your ISP is more equipped to answer these questions and would give you a better understanding of these protocols

User avatar
catweazel
Level 10
Level 10
Posts: 3329
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: How to disable ipv4

Postby catweazel » Tue Sep 19, 2017 2:09 am

trytip wrote:ipv4 and ipv6 comes from your ISP. they control it.

Rubbish.

Code: Select all

enp35s0   Link encap:Ethernet  HWaddr 60:45:cb:9e:91:5b 
          inet addr:192.168.0.116  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::56c8:b2ce:8b6f:97ef/64 Scope:Link
If your problem is fixed, please mark your thread as [SOLVED] by editing the title of the first message in the thread.

User avatar
Faust
Level 3
Level 3
Posts: 186
Joined: Thu Jul 14, 2016 3:40 am

Re: How to disable ipv4

Postby Faust » Tue Sep 19, 2017 2:31 am

To anyone using a VPN , I strongly suggest disabling IPv6
Many VPN providers are not handling IPv6 correctly , with the result that your real IP can be leaking all over the place .

In some cases this is worse than no VPN at all !
And yes , I know that some VPN providers claim that they have covered this but the majority have not .
" And so it goes " - Kurt Vonnegut
The modern reality and the satirical parody are rapidly converging .

User avatar
WharfRat
Level 19
Level 19
Posts: 9939
Joined: Thu Apr 07, 2011 8:15 pm

Re: How to disable ipv4

Postby WharfRat » Tue Sep 19, 2017 8:40 pm

You should be able to deactivate ipv4 with sudo ip address delete e.g., sudo ip address delete 10.0.2.15/24 dev enp0s3

Check it with ip address show dev enp0s3
Image ImageImage

windumbnew
Level 1
Level 1
Posts: 5
Joined: Tue Aug 29, 2017 12:21 pm

Re: How to disable ipv4

Postby windumbnew » Thu Sep 28, 2017 2:26 pm

You should be able to deactivate ipv4 with sudo ip address delete e.g., sudo ip address delete 10.0.2.15/24 dev enp0s3

Check it with ip address show dev enp0s3


Thanks. Will try it. How to enable it again if nothing works anymore?

User avatar
WharfRat
Level 19
Level 19
Posts: 9939
Joined: Thu Apr 07, 2011 8:15 pm

Re: How to disable ipv4

Postby WharfRat » Thu Sep 28, 2017 3:11 pm

You can reboot or open network manager and reconnect or try sudo ip address add 10.0.2.15/24 dev enp0s3

Sometimes I have to use network manager after using ip add.
Image ImageImage


Return to “Other networking topics”

Who is online

Users browsing this forum: No registered users and 2 guests