Playback starts YouTube’s embedded player (privacy-enhanced mode).
How to set a Static IP on a Linux Server
ChannelquidsupDescription from the creator
Tutorial on how to set a Static IP Address on a Linux Server and Raspberry Pi.
The method for Raspbian Jessie differs to previous releases.
Instructions:
First find out whether your system is using dhcpcd
which dhcpcd
Use ifconfig to note down details of existing network address settings
0:55 Method 1 – No dhcpcd
sudo nano /etc/network/interfaces
change word dhcp to static
iface eth0 inet static
address 192.168.0.5
network 192.168.0.0
netmask 255.255.255.0
broadcast 192.168.0.255
gateway 192.168.0.1
dns-nameservers 208.67.222.222 208.67.220.220
3:24 Method 2 – With dhcpcd
sudo nano /etc/dhcpcd.conf
add to end of dhcpcd.conf
interface eth0
static ip_address=192.168.0.5/24
static routers=192.168.0.0
static domain_name_servers=208.67.222.222
Wallpaper: quidsup.net?i=rubrics-1920x1080-wallpaper-3300
The method for Raspbian Jessie differs to previous releases.
Instructions:
First find out whether your system is using dhcpcd
which dhcpcd
Use ifconfig to note down details of existing network address settings
0:55 Method 1 – No dhcpcd
sudo nano /etc/network/interfaces
change word dhcp to static
iface eth0 inet static
address 192.168.0.5
network 192.168.0.0
netmask 255.255.255.0
broadcast 192.168.0.255
gateway 192.168.0.1
dns-nameservers 208.67.222.222 208.67.220.220
3:24 Method 2 – With dhcpcd
sudo nano /etc/dhcpcd.conf
add to end of dhcpcd.conf
interface eth0
static ip_address=192.168.0.5/24
static routers=192.168.0.0
static domain_name_servers=208.67.222.222
Wallpaper: quidsup.net?i=rubrics-1920x1080-wallpaper-3300
About this tutorial
quidsup published this 4:46 video tutorial on November 9, 2016. It has been watched 28,175 times on YouTube.
- Channel
- quidsup
- Category
- Science & Technology
- Duration
- 4:46
- Published
- November 9, 2016
- Views
- 28,175
- Likes
- 270
Tags
Share
This tutorial in other languages
- FRComment définir une adresse IP statique sur un serveur Linux
- ESCómo configurar una dirección IP estática en un servidor Linux
- PTComo definir um IP estático em um servidor Linux
- ITCome impostare un indirizzo IP statico su un server Linux
- DEWie eine statische IP auf einem Linux-Server setzen
- NLHoe maak je een statisch IP instellen op een Linux-server
- RUКак установить статический IP на Linux Server
- PLJak ustawić statyczny adres IP na Linux Server
- JALinuxサーバ上の静的IPを設定する方法
- ARكيفية تعيين IP ثابت على خادم لينكس
- HIकैसे एक लिनक्स सर्वर पर एक स्थिर IP स्थापित करने के लिए
- IDBagaimana mengatur IP statis pada Server Linux