Skip to content

Instantly share code, notes, and snippets.

@jacques
Created September 4, 2012 09:02
Show Gist options
  • Save jacques/3618803 to your computer and use it in GitHub Desktop.
Save jacques/3618803 to your computer and use it in GitHub Desktop.
multiple ips on FreeBSD notebook examples
ifconfig_em0="inet 192.168.37.2/24"
ifconfig_em0_alias0="inet 192.168.37.3/32"
ifconfig_em0_alias1="inet 192.168.37.4/32"
ifconfig_em0_alias1="inet 192.168.38.2/24"
ifconfig_em0="inet 192.168.37.2 netmask 255.255.255.0"
ifconfig_em0_alias0="inet 192.168.37.3 netmask 255.255.255.255"
ifconfig_em0_alias1="inet 192.168.37.4 netmask 255.255.255.255"
ifconfig_em0_alias1="inet 192.168.38.2 netmask 255.255.255.0"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment