Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 07-14-2015, 01:29 PM   #1
LQ Newbie
Registered: Jul 2015
Posts: 2

Rep: Reputation: Disabled
How to disable ipv4 with CLI command.

Have a issue and i have to turn on IPv4 on and off alot for ipv6 testing. I want to be able to turn it on and off with just command and not have to edit file all the time.

Sorry im a little new to linux.

Thanks in advance,
Old 07-14-2015, 02:51 PM   #2
Senior Member
Registered: Apr 2009
Posts: 1,869

Rep: Reputation: 162Reputation: 162
Delete IPv4 address, ip address del <address>/<netmask> dev <device>.
Old 07-14-2015, 02:53 PM   #3
LQ Newbie
Registered: Jul 2015
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thank you I think that is what i was looking for.



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
[SOLVED] How to disable services from CLI using systemctl SharpyWarpy Fedora 2 03-04-2012 06:34 PM
how can I disable the GUI so I get cli when I boot? bashFUL Debian 6 10-18-2011 02:08 PM
How to disable IPv4 on SuSE linux? eldho SUSE / openSUSE 1 09-14-2009 08:56 AM
How to disable a faulty key on keyboard, for CLI and GUI silencestone Linux - Hardware 3 08-15-2009 07:02 AM
Best way to disable compiz from Ubuntu cli suguru Linux - Software 1 06-06-2007 02:25 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:35 AM.

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