일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
- XCP-ng
- 로그인불가
- 보안양파
- ssh key 배포
- hardening
- x-pack
- PlayBook
- freebsd
- proxycfg
- Elasticsearch
- Proxy
- GitLab
- bash
- Kibana server is not ready yet
- docker
- ELASTIC
- Kibana
- macos
- centos 8
- ansible
- 한글가이드
- pfsense
- endpoint security
- Windows
- elastic stack
- application security
- G-suite
- xe guest utilities
- miniconda
- Today
- Total
선 밖에 선 자유인
Linux NIC Bonding 구성 본문
[ CentOS 7 ]
# modprobe --first-time bonding
# lsmod | grep bonding
bonding 141566 0
# vi /etc/sysconfig/network-scripts/ifcfg-bond0
DEVICE=bond0
NAME=bond0
TYPE=Bond
BONDING_MASTER=yes
BONDING_OPTS="mode=active-backup primary=eth0 miimon=100 updelay=0 downdelay=0"
IPADDR=192.168.0.100
PREFIX=24
GATEWAY=192.168.0.1
DNS1=168.126.63.1
DNS2=168.126.63.2
# vi /etc/sysconfig/network-scripts/ifcfg-eth0
NAME=bond-slave-eth0
DEVICE=eth0
TYPE=Ethernet
BOOTPROTO=none
ONBOOT=yes
MASTER=bond0
SLAVE=yes
# vi /etc/sysconfig/network-scripts/ifcfg-eth1
NAME=bond-slave-eth1
DEVICE=eth1
TYPE=Ethernet
BOOTPROTO=none
ONBOOT=yes
MASTER=bond0
SLAVE=yes
# systemctl restart network
[ Ubuntu 16.04 ]
# vi /etc/network/interfaces
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet manual
bond-master bond0
auto eth1
iface eth1 inet manual
bond-master bond0
# The primary network interface
auto bond0
iface bond0 inet static
address 192.168.10.100
gateway 192.168.0.1
netmask 255.255.255.0
nameserver 168.126.63.1
mtu 9000
bond-miimon 100
bond-downdelay 200