3일동안 안보기

Ubuntu

[Linux] OS별 network 재시작 방법

페이지 정보

profile_image
작성자 최고관리자
댓글 0건 조회 1,519회 작성일 25-07-22 12:12

본문

CentOS 6/ RHEL7/

service network  restart

CentOS 8

$sudo nmcli networking off
$sudo nmcli networking on

 

또는 

 

$sudo systemctl restart NetworkManager.service

Ubuntu 14

How to restart network in Ubuntu Server:

  1. /etc/init.d/networking restart script based command.
  2. service restart networking – Use service to run a System V init script such as networking.
  3. systemctl restart networking – Restart networking for the latest version of Ubuntu server.

Ubuntu 18 / 20 / 22 IP설정

/etc/netplan/00-installer-config.yaml 파일 수정

$ sudo netplan apply

Almalinux

#nmtui

https://linuxconfig.org/how-to-configure-static-ip-address-on-almalinux 

debian 9

파일

sudo nano /etc/network/interfaces

수정

auto eth0
iface eth0 inet static
    address 192.168.1.100
    netmask 255.255.255.0
    gateway 192.168.1.1

재 시작

sudo systemctl restart networking

추천0 비추천0

댓글목록

등록된 댓글이 없습니다.

회원 로그인

포인트랭킹

1 밤통령 320,000점
2 불꽃남자 70,000점
3 보라돌이 47,000점
4 제로나인 33,000점
5 소프리 7,800점
6 딸기케이크 6,000점
7 딸기케이크 6,000점
8 그해우리는 6,000점

포인트랭킹

1 밤통령 320,000점
2 불꽃남자 70,000점
3 보라돌이 47,000점
4 제로나인 33,000점
5 소프리 7,800점
6 딸기케이크 6,000점
7 딸기케이크 6,000점
8 그해우리는 6,000점

검색랭킹

1 2023 new
2 우분투 1
3
4
5
6
7
8
9
10

자유게시판

  • 게시물이 없습니다.

자유게시판

게시물이 없습니다.

접속자집계

오늘
73
어제
121
최대
2,047
전체
133,762