로그인
Sign in


설정 파일 하나에 인터페이스 정보 두개를 넣으니 계속 에러가 발생했고,
/etc/network/interfaces.d 디렉토리에 bond0과 bond1 파일을 만들어서 각각 설정 내용을 넣어주니 정상적으로 인식 완료

 

root@web-01:/etc/network/interfaces.d# cat bond0
auto eth0
iface eth0 inet manual
        bond-master bond0

auto eth1
iface eth1 inet manual
        bond-master bond0

auto eth2
iface eth2 inet manual
        bond-master bond0

auto eth3
iface eth3 inet manual
        bond-master bond0

auto bond0
iface bond0 inet static
        address 192.168.200.201
        netmask 255.255.255.0
post-up route add -net 192.168.100.0 netmask 255.255.255.0 gw 192.168.200.1

bond-mode 0
bond-miimon 100
bond-slaves none


root@web-01:/etc/network/interfaces.d# cat bond1
auto eth4
iface eth4 inet manual
       bond-master bond1

auto eth5
iface eth5 inet manual
       bond-master bond1

auto bond1
iface bond1 inet static
        address xx.xx.xx.xx
        netmask 255.255.254.0
        gateway xx.xx.xx.1


bond-mode 0
bond-miimon 100
bond-slaves none
 

List of Articles
번호 제목 글쓴이 날짜 조회 수
공지 자주 사용하는 명령어 제비게릴라 2019-06-27 179
212 apache2 2.4.33 소스 설치 제비게릴라 2018-10-15 41
211 oom-killer 시에 종료 순서 정하기.. 제비게릴라 2018-05-11 49
210 centos 7의 kernel.sem 설정 방법 제비게릴라 2018-05-02 128
» ubuntu 멀티 인터페이스 설정 작업 제비게릴라 2018-02-27 11
208 yum update 시 중단 되었을때 조치 법 제비게릴라 2017-01-15 677
207 파일 사이즈 비교 제비게릴라 2016-04-29 24
206 rpm 패키징 방법 file 제비게릴라 2016-04-29 229
205 heartbeat 설정 방법 제비게릴라 2015-10-19 374
204 oracle 계정으로 ssh 접속시 Key 인증 방식의 로그인 오류 발생 조치 제비게릴라 2015-10-06 52
203 리눅스 date 명령 : 어제(과거) , 내일(미래) 날짜, 시간 구하기 제비게릴라 2015-03-20 106
202 redhat 커널 버전 리스트 제비게릴라 2015-02-10 65
201 문자열 추출 쉘 스크립트... 제비게릴라 2014-09-25 62
200 Partition 1 does not start on physical sector boundary. 메세지 삭제... 제비게릴라 2014-08-28 154
199 vi 치환 명령 제비게릴라 2014-03-12 173
198 프로세스 별 Disk I/O 확인 방법 (block_dump) [1] 제비게릴라 2013-07-16 854
197 logger 옵션... 제비게릴라 2013-05-27 369
196 vsftpd 시간 맞추기... 제비게릴라 2013-05-27 330
195 Linux Kernel Tuning 제비게릴라 2013-03-21 446
194 자동으로 멀티패스 잡았을시 블랙리스트 추가하기.. 제비게릴라 2012-12-06 1387
193 Nmon Analyser v33g – Excel 2010 64 bits file 하록 2012-08-07 551