[Linux] CentOS 7 C Ŭ·¡½º IP ´ë¿ª Àüü ¼³Á¤2018.08.01

   Á¶È¸ 5182   Ãßõ 0    

http://ehostidc.co.kr/center/EH050402.php?no=177720&choose=title&keyw¡¦ (305)
https://blog.naver.com/goethe1/221624722718 (299)

CentOS 7에서 C 클래스 전체 설정

1. networkmanager stop 및 disable

[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-fbdfffff

em1: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-fbdfffff

em1: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-fbdfffff

em1: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



https://www.aiocp.co.kr/ ( 딥러닝,머신러닝 서버 판매 ,컨설팅) https://bigbangcloud.co.kr/ ( GPU 클라우드 서비스) ::: AI 서버의 모든것 ::: 인공지능의 시작~ (주)이호스트ICT
ªÀº±Û Àϼö·Ï ½ÅÁßÇÏ°Ô.


PDS
Á¦¸ñPage 23/77
2014-05   4942730   Á¤ÀºÁØ1
2015-12   1479553   ¹é¸Þ°¡
2019-08   4124   Á¦°¥±âõ
2019-08   5183   µö·¯´×¼­¹ö
2019-08   5164   µö·¯´×¼­¹ö
2019-08   6527   À̼±È£
2019-08   10939   µö·¯´×¼­¹ö
2019-08   4128   ÀÓ½ÃÇö
2019-08   4601   µö·¯´×¼­¹ö
2019-08   5097   µö·¯´×¼­¹ö
2019-08   3898   calculators
2019-08   6392   µö·¯´×¼­¹ö
2019-08   4356   »ßµ¹À̽½ÇÄÀÌ
2019-08   4229   µö·¯´×¼­¹ö
2019-08   8894   µö·¯´×¼­¹ö
2019-08   4047   »ßµ¹À̽½ÇÄÀÌ
2019-08   8063   µö·¯´×¼­¹ö
2019-08   3993   ÇãÀα¸¸¶Æ¾
2019-08   3533   ÇãÀα¸¸¶Æ¾
2019-08   4882   ÇãÀα¸¸¶Æ¾
2019-08   8177   µö·¯´×¼­¹ö
2019-08   5214   µö·¯´×¼­¹ö