0

ifconfig command options

Till now ifconfig command is used to view only the IPaddress and the loopback address. What are the various options and how to use it...??

ifconfig command Add a comment
cameron
asked Feb 25 2017

Answer

0

Thanks for picking out the time to discuss this, I feel great about it and love studying more on this topic. It is extremely helpful for me. Thanks for such a valuable help again. 신촌룸싸롱

Add a comment
amaur
asked Feb 05 2024
edited Feb 06 2024
Post your Answer
0

Fantastic blog! Do you have any tips and hints for aspiring writers? I’m planning to start my own website soon but I’m a little lost on everything. Would you propose starting with a free platform like WordPress or go for a paid option? There are so many options out there that I’m completely overwhelmed .. Any suggestions? Many thanks! https://microbarsdisposable.com/

Add a comment
amaur
asked Feb 06 2024
edited Feb 06 2024
Post your Answer
0

There are many useful functions available in ifconfig command,we can see some options one by one

ifconfig -a

This command is used to display all active and inactive network interfaces

To enable a network interface using ifconfig,use the following command

ifconfig eth0 up

To disable a network interface using ifconfig,use the following command

ifconfig eth0 down

You can assign a IP, Netmask and Broadcast to an Network Interface,using the following command

ifconfig eth0 192.168.5.214 netmask 255.255.255.224 broadcast 192.168.5.1

To add a new alias using ifconfig command

ifconfig eth0:0 192.168.5.214

To remove a alias using ifconfig command

ifconfig eth0:0 down

To change the MAC Address of an network interface

ifconfig eth0 hw eth0 SK:NK:AK:DK:BK:SK

Add a comment
krishnakumar
asked Feb 26 2017
edited Oct 05 2018
Post your Answer