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

   Á¶È¸ 8270   Ãßõ 0    

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

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



ªÀº±Û Àϼö·Ï ½ÅÁßÇϰÔ.


PDS
Á¦¸ñPage 25/80
04-15   43060   UPDF
2015-12   2339988   ¹é¸Þ°¡
2016-03   11857   ĵÀ§µå
2018-06   11894   ȸ¿øK
2018-07   11896   ½Ãµµ´Ï
2020-04   11935   FOXBI
2022-04   11944   FOXBI
2020-06   11960   µö·¯´×¼­¹ö
2016-10   11967   Midabo
2022-04   12045   FOXBI
2020-02   12053   ½ºÄµl¹ÎÇö±â
2023-06   12061   ·ç¸´Æä
2016-03   12083   ȸ¿øK
2018-07   12086   ȸ¿øK
2021-01   12102   ÇãÀα¸¸¶Æ¾
2018-08   12107   ȸ¿øK
2017-08   12137   Libre
2015-12   12144   ¼Ò¸Á»ç¶û71
2017-05   12179   ±èȲÁß
2018-06   12182   ȸ¿øK
2018-08   12228   »õÇϾᱸ¸§
2025-01   12243   ÇÏÀÌkwak