mywindowsdownloads.blogspot.com
Click here for all Free Linux Downloads
For assigning new IPv4 address to eth0 card, we can use the following command:
# ifconfig etho 192.168.1.175
The standard subnet mask for the above IP address is 255.255.255.0, but we can assign a different subnet mask with new IP address. The command for this will be as follows:
# ifconfig etho netmask 255.0.0.0 192.168.1.175
We can use this command to activate or deactivate the (eth0) network adapter. For example:
# ifconfig eth0 down
# ifconfig eth0 up
No comments:
Post a Comment