CentOS 7에서 C 클래스 전체 설정
1. networkmanager stop 및 disble
[root@EhostICT backup]# systemctl stop NetworkManager
[root@EhostICT backup]# systemctl disable NetworkManager
2. network 서비스 enable 및 등록
[root@EhostICT backup]# chkconfig --add network
[root@EhostICT backup]# chkconfig --levels 345 network on
3. ip 대역 등록
[root@EhostICT ~]# vi /etc/sysconfig/network-scripts/ifcfg-em1-range0
DEVICE=em1
ONBOOT=yes
BOOTPROTO=static
IPADDR_START=192.168.9.3 (시작 IP)
IPADDR_END=192.168.9.254 (종료 IP)
CLONENUM_START=3 ( em1:3 부터 시작)
NETMASK=255.255.255.0
NO_ALIASROUTING=yes
4. network 서비스 재시작
[root@EhostICT backup]# systemctl restart network
5. 결과
a. IP 개당 4초 정도 up
em1:148: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.9.148 netmask 255.255.255.0 broadcast 192.168.9.255
ether 00:a0:d1:eb:68:74 txqueuelen 1000 (Ethernet)
device memory 0xfbde0000-fbdfffffem1:149: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.9.149 netmask 255.255.255.0 broadcast 192.168.9.255
ether 00:a0:d1:eb:68:74 txqueuelen 1000 (Ethernet)
device memory 0xfbde0000-fbdfffffem1:150: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.9.150 netmask 255.255.255.0 broadcast 192.168.9.255
ether 00:a0:d1:eb:68:74 txqueuelen 1000 (Ethernet)
device memory 0xfbde0000-fbdfffffem1:151: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.9.151 netmask 255.255.255.0 broadcast 192.168.9.255
ether 00:a0:d1:eb:68:74 txqueuelen 1000 (Ethernet)
device memory 0xfbde0000-fbdfffff
'[IT 알아보기]' 카테고리의 다른 글
[EhostICT] mydumper : mysql 오픈소스 thread 백업 유틸리티 (0) | 2018.07.26 |
---|---|
[EhostICT] mysql 백업 및 복구 (0) | 2018.07.26 |
EhostIDC, Apache Struts2 취약점 공격 관련 탐지패턴 공유 (0) | 2017.03.09 |
EhostIDC, CiSCO 제품군 다중 취약점 보안 업데이트 권고 (0) | 2017.03.08 |
EhostIDC,OpenSSL 신규 취약점 보안 업데이트 권고 (0) | 2017.03.03 |