dhcp server liuxLinux serverNETWORK ADMINISTRATIONS

OpenSource_IP Static DHCP LinUx Configuration

طريقة اعدادات IP STATIC على LinUx مادة المصادر المفتوحة_كلية الاتصالات الرياض
————————
basic Linux commands, Static configuration, DNS, DHCP

lab 1 static ip configuration
for the lab : configuring static ip on the server write:
ifconfig or ip a
cd /etc ls
cd /etc/netplan
ls
sudo nano 50-cloud-init.yaml
modify the file and ctl+x after y
sudo netplan apply
ifconfig
—————-

Ifconfig
Sudo apt tnstall net-tools
Ping xxx.xxx.xxx.xxx
Cd /etc/netplan
Ls -al
Sudo nano 50-cloud-init.yaml
——
Network:
verson: 2
renderer: networkManager
ethernets:
ens33:
dhcp4: yes for dynamic or no for static
Addresses: [xxx.xxx.xxx.xxx/24]
Gateway4: xxx.xxx.xxx.1
Nameservers:
addresses: [8.8.8.8,8.8.4.4]
Shift + x
Sudo netplan try
Sudo netplan apply
ifconfigifconfig

/var/lib/dpkg/lock-frontend: Permission denied
Depkg apt-get upgrade
Sudo su [to inside root file]
Dpkg apt-get upgrade
Apt-get upgrade
Yes

source

by MR IT

linux dhcp server

Alice AUSTIN

Alice AUSTIN is studying Cisco Systems Engineering. He has passion with both hardware and software and writes articles and reviews for many IT websites.

One thought on “OpenSource_IP Static DHCP LinUx Configuration

Comments are closed.