static_ip_linux
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| static_ip_linux [2017/10/11 20:52] – created chris | static_ip_linux [2018/08/11 11:33] (current) – admin | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | Stati IP Linux | + | ====Static |
| + | \\ | ||
| + | ==This is for Debian== | ||
| - | This is for Debian | + | Edit / |
| - | + | \\ | |
| - | Edit / | + | # The loopback network interface\\ |
| - | + | auto lo\\ | |
| - | # The loopback network interface | + | iface lo inet loopback\\ |
| - | auto lo | + | \\ |
| - | iface lo inet loopback | + | # The primary network interface\\ |
| - | + | allow-hotplug eth0\\ | |
| - | # The primary network interface | + | iface eth0 inet static\\ |
| - | allow-hotplug eth0 | + | address |
| - | iface eth0 inet static | + | netmask 255.255.255.0\\ |
| - | address | + | gateway |
| - | netmask 255.0.0.0 | + | network 192.168.10.0\\ |
| - | gateway 10.1.1.1 | + | broadcast 192.168.10.255\\ |
| + | dns-nameservers 192.168.10.1 192.168.10.11 192.168.10.13\\ | ||
| + | dns-search domain.artit.nl\\ | ||
| + | \\ | ||
| + | \\ | ||
| + | Enjoy,\\ | ||
| + | \\ | ||
| + | **Your ArtIT Team** | ||
| + | \\ | ||
| + | \\ | ||
| + | **[[linux|BACK]]** | ||
static_ip_linux.1507747934.txt.gz · Last modified: 2017/10/11 20:52 by chris
