Open main menu

CDOT Wiki β

Changes

OPS335 Lab 1

316 bytes added, 08:29, 16 January 2017
Making Persistent (Permanent) Network Setting Changes
=== Making Persistent (Permanent) Network Setting Changes ===
If In your OPS235 course, you change your used a series of commands (ifconfig, route, and nameserver) to setup a temporary network settings using connection. You can use the commands ip command (a another command) in the previous section, a similar way to create a temporary network connection. The problem with this network connection method is that those changes will be lost if you restart your Linux machine, although you may want to do that to create a temporary network connection for troubleshooting purposes.
In order to have your network settings become permanent, you need to edit and save the settings changes in a file.
For the IP address, subnet mask, default gateway, and DNS server you edit that file is contained in a directory called: '''network-scripts'''.
Except for your host machine, all the Virtual Machines in this course will have '''static network configuration''' (as opposed to Automatic or DHCP).Sometimes, you will be required to debug networking problems quickly by changing the network configuration of your VMs. 
<ol>
13,420
edits