대충 설정하는 방법은 인터넷을 통해 알아뒀는대요
개념이 충분치 못합니다. 일단 저는 서버의 대역폭을 넓히기 위해
본딩을 사용하려 하는대요…
서로다른 광랜이 들어와서
가령 광랜의 아이피가
200.200.200.24 이고 또다른 아이피는 200.200.200.25 라고 한다면
이렇게 설정을 하면 200.200.200.25의 회선도 사용이 되는건가요…
Ubuntu에서 network interface를 이중화 하기 위해 ifenslave 패키지를 설치하여야 합니다.
sudo apt-get install ifenslave
bonding 모듈을 자동으로 올리기 위해 /etc/modprobe.d/bonding.conf 파일을 생성하여
sudo vi /etc/modprobe.d/bonding.conf
아래의 내용을 입력합니다.
alias bond0 bonding
options bonding mode=0 miimon=100
사용자의 환경을 고려하여 /etc/network/interface 를 아래와 같이 수정합니다.
sudo vi /etc/network/interface
# This file describes the network interfaces available on your system
and how to activate them. For more information, see interfaces(5).
The loopback network interface
auto lo
iface lo inet loopback
The primary network interface
auto bond0
iface bond0 inet static
address 200.200.200.24
netmask 이건 무엇을 적어야하나요…
network 이건 무엇을 적어야하나요…
broadcast 이건 무엇을 적어야하나요…
gateway 이건 무엇을 적어야하나요…
dns-nameservers 이건 무엇을 적어야하나요…
dns-search ubuntu.com
post-up ifenslave bond0 eth0 eth1
도메인은 200.200.200.24로만 연결이 되어있는데.
상식적으로 되지 않을것 같아서요… 고수분들 도움 기다리겠습니다!
200.200.200.25란 아이피는 사용이 안될것 같거든요…