Difference between revisions of "/etc/network/interfaces"

From Linuxintro
imported>ThorstenStaerk
imported>ThorstenStaerk
 
Line 5: Line 5:
 
  gateway 192.168.178.1
 
  gateway 192.168.178.1
 
This will work well when [[connecting to the net]] with a [[fritzBox]] as the [[Fritz!BOx]] has the IP address 192.168.178.1 by default.
 
This will work well when [[connecting to the net]] with a [[fritzBox]] as the [[Fritz!BOx]] has the IP address 192.168.178.1 by default.
 +
 +
= See also =
 +
* http://www.cyberciti.biz/faq/setting-up-an-network-interfaces-file/

Latest revision as of 09:08, 6 August 2012

/etc/network/interfaces holds the network configuration in debian-based distributions. Here is an example:

iface eth0 inet static
address 192.168.178.7
netmask 255.255.255.0
gateway 192.168.178.1

This will work well when connecting to the net with a fritzBox as the Fritz!BOx has the IP address 192.168.178.1 by default.

See also