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
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

Revision as of 09:06, 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.