How To Change Netmask In Linux?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
1. Use the ifconfig command to view the current network configuration.
2. Use the ifconfig command to change the netmask. The syntax is:
ifconfig <interface> netmask <netmask>
Replace <interface> with the name of the interface you wish to change the netmask for and <netmask> with the desired netmask.
3. Use the ifconfig command to verify that the new netmask is in effect.