This Is Your Brain On Informatics: Network: Difference between revisions

Tikenn (talk | contribs)
No edit summary
Tikenn (talk | contribs)
Line 8: Line 8:
auto lo
auto lo
iface lo inet loopback
iface lo inet loopback
=
 
# The primary network interface
# The primary network interface
auto eth0
auto eth0
Line 16: Line 16:
The networks shown here are the basic networks that will allow the machine to connect to the internet.  If this is a regular computer (not a virtual machine), this file should be similar to what is above meaning that it is already completely setup for internet connection and ssh purposes.
The networks shown here are the basic networks that will allow the machine to connect to the internet.  If this is a regular computer (not a virtual machine), this file should be similar to what is above meaning that it is already completely setup for internet connection and ssh purposes.


Notice here that the eth0 network has "dhcp" (dynamic host configuration protocol) at the end of the final line.  This causes the IP address of this network to be dynamically acquired (meaning that the IP address will be changed frequently) rather than statically set.  Below is a discussion of how to set up each.
Notice here that the eth0 network has "dhcp" (dynamic host configuration protocol) at the end of the final line.  This causes the IP address of this network to be dynamically acquired (meaning that the IP address will be changed frequently) rather than statically set.  Below is a discussion of how to set up each.


== Adding a network ==
== Adding a network ==