/etc/network/interfaces

From Linuxintro
Revision as of 09:05, 6 August 2012 by 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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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