본문 바로가기

OS

SUSE linux network 설정하기

SUSE linux 환경은 현재 15

 

netstat, arp, route, iptunnel, ipmaddr, ifconfig 해당 명령어는 현재 버전에서는 command not found

해당 명령어는 deprecated 된 상황 그러므로 replaced된 명령어를 사용

arp > ip [r] neigh

route > ip route

netstat > ss [-r]

iptunnel > ip tunnel

ipmaddr > ip maddress

ifconfig > ip address

 

혹은 net-tools-deprecated 패키지를 설치하여 진행을 해야한다.

localhost:~ # cd /etc/sysconfig/network
localhost:/etc/sysconfig/network # cat ifcfg-eth0
BOOTPROTO='static'
STARTMODE='auto'
ZONE='public'
IPADDR='xxx.xxx.xxx.xxx'
NETMASK='255.255.255.0'
GATEWAY='xxx.xxx.xxx.x'
DNS1='168.126.63.1'
DNS2='168.126.63.2'