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

From Linuxintro
imported>ThorstenStaerk
(Created page with "/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...")
 
imported>ThorstenStaerk
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
/etc/network/interfaces holds the [[network]] [[configuration]] in [[debian-based]] distributions. Here is an example:
+
/etc/network/interfaces holds the [[network]] [[configuration]] in [[debian-based distributions]]. Here is an example:
 
  iface eth0 inet static
 
  iface eth0 inet static
 
  address 192.168.178.7
 
  address 192.168.178.7
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