Skip to content

Instantly share code, notes, and snippets.

@libero18
Last active August 29, 2015 14:24
Show Gist options
  • Save libero18/27952082f1ae60e35458 to your computer and use it in GitHub Desktop.
Save libero18/27952082f1ae60e35458 to your computer and use it in GitHub Desktop.
FreeBSD での Tagged VLAN 設定メモ
# /etc/rc.conf
vlans_em0="10"
ifconfig_em0_10="inet 192.168.10.1/24"
vlans_em1="20"
ifconfig_em1_20="inet 192.168.20.1/24"
vlans_em2="10 20"
ifconfig_em2_10="inet 192.168.10.2/24"
ifconfig_em2_20="inet 192.168.20.2/24"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment