static_ip_linux
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| static_ip_linux [2017/10/11 20:54] – chris | static_ip_linux [2018/08/11 11:33] (current) – admin | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====Static IP Linux==== | ====Static IP Linux==== | ||
| - | + | \\ | |
| - | This is for Debian\\ | + | ==This is for Debian== |
| Edit / | Edit / | ||
| \\ | \\ | ||
| - | # The loopback network interface | + | # The loopback network interface\\ |
| - | auto lo | + | auto lo\\ |
| - | iface lo inet loopback | + | iface lo inet loopback\\ |
| \\ | \\ | ||
| - | # The primary network interface | + | # The primary network interface\\ |
| - | allow-hotplug eth0 | + | allow-hotplug eth0\\ |
| - | iface eth0 inet static | + | iface eth0 inet static\\ |
| - | address | + | address |
| - | netmask 255.0.0.0 | + | netmask 255.255.255.0\\ |
| - | gateway 10.1.1.1 | + | gateway |
| + | network 192.168.10.0\\ | ||
| + | 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.1507748081.txt.gz · Last modified: 2017/10/11 20:54 by chris
