nmcli command in linux

Опубликовано: 05 Октябрь 2021
на канале: Linux Bhandar
183
6

#nmcli connection show (to see all the network connections)
nmcli device show
(to see the network details if already configured manually or dynamically)
nmcli connection add con-name "System eth0" ifname eth0 type ethernet
(to add the network connection)
nmcli connection modify "System eth0" ipv4.addresses ' ( IP address )/(netmask )( gateway )
ipv4.dns (dns server IP address ) ipv4.dns-search ( domain name) ipv4.method static or manually
(to assign IP address, gateway, dns, domain name and configure the network as static or manually)
nmcli connection up "System eth0" (to up the connection)
systemctl restart network (to restart the network service)
systemctl enable network (to enable the network service)
ifconfig (to see the IP address of the NIC card)
ping IP address (to check whether the IP is pinging or not)


На этой странице сайта вы можете посмотреть видео онлайн nmcli command in linux длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Linux Bhandar 05 Октябрь 2021, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 183 раз и оно понравилось 6 зрителям. Приятного просмотра!