Skip to content

Instantly share code, notes, and snippets.

@libero18
Last active August 29, 2015 14:24
Show Gist options
  • Save libero18/968df64f6c912d8b6993 to your computer and use it in GitHub Desktop.
Save libero18/968df64f6c912d8b6993 to your computer and use it in GitHub Desktop.
FreeBSD で NIC 冗長化するメモ
# /boot/loader.conf
### lagg
if_lagg_load="YES"
# /etc/rc.conf
### network
defaultrouter="192.168.0.254"
ifconfig_bce0="up"
ifconfig_bce1="up"
cloned_interfaces="lagg0"
ifconfig_lagg0="laggproto roundrobin laggport bce0 laggport bce1 192.168.0.10/24"
ifconfig_lagg0_alias0="inet 192.168.100.10/24"
ifconfig_lagg0_alias1="inet 192.168.200.10/24"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment