Skip to content

Instantly share code, notes, and snippets.

@wunki wunki/rc.conf

Created Sep 28, 2015
What would you like to do?
# rc.conf
# set up two bridge interfaces for iocage
cloned_interfaces="bridge0 bridge1"
# join interfaces, add the private interface to bridge0
ifconfig_bridge0="inet addm vtnet1 up"
# public network
ifconfig_vtnet0="inet netmask"
# private network
ifconfig_vtnet1="inet netmask"
# routing
## IOCAGE ##
Now I run the following in iocage:
iocage create tag=foo
iocage set defaultrouter= foo
iocage set ip4_addr= foo
In iocage I can ping the router: but I can't ping the private interface
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.