Open main menu

Pathology Education Instructional Resource β

Changes

This Is Your Brain On Informatics: Network

4 bytes added, 06:58, 17 November 2014
Using a Static IP
The key component of this is the word ''static'' at the end of the line beginning with ''iface'', forcing the IP address to bet set statically as determined by the user. Each of the components of the network must now be set individually. The address is the network address and can be set to anything. Typically only the last number is changed from what is currently set. The current IP address can be determined by using the Linux command [[This Is Your Brain On Informatics: Linux Commands|''ifconfig'']] and looking at the ''inet addr'' under the appropriate network. ''Bcast'' will determine the ''broadcast '' and ''netmask'' will determine the Mask. As long as only the final number of the IP address is changed, then these can be used as shown above.
The final numbers (''network'' and ''broadcast'') can be set by simply using 0 and 255 respectively for the last number. Finally, the ''gateway'' is the IP address of the router used to access the internet. This can be accessed from the router settings. The ''gateway'' should NOT be set for a '''Virtual Machine''' through VirtualBox. It should only be set for an actual computer. The gateway is typically the same first three numbers as the IP address with a ''1'' as the last number.
347
edits