FreeBSD/jails/config/vm/create_taps.sh

41 lines
831 B
Bash
Raw Normal View History

2020-02-25 11:28:31 -08:00
# Copyright (c) 2018-2020, diyIT.org
# All rights reserved.
#
# BSD 2-Clause License ("Simplified BSD License" or "FreeBSD License")
# https://diyit.org/license/
#
#
#!/bin/sh
#
ifconfig tap81 create
ifconfig bridge1 addm tap81 up
ifconfig tap81 up
ifconfig tap81 inet6 auto_linklocal
ifconfig tap82 create
ifconfig bridge1 addm tap82 up
ifconfig tap82 up
ifconfig tap82 inet6 auto_linklocal
ifconfig tap83 create
ifconfig bridge1 addm tap83 up
ifconfig tap83 up
ifconfig tap83 inet6 auto_linklocal
ifconfig tap84 create
ifconfig bridge1 addm tap84 up
ifconfig tap84 up
ifconfig tap84 inet6 auto_linklocal
2020-02-25 11:28:31 -08:00
ifconfig tap90 create
ifconfig bridge1 addm tap90 up
ifconfig tap90 up
ifconfig tap90 inet6 auto_linklocal
ifconfig tap190 create
ifconfig bridge2 addm tap190 up
ifconfig tap190 up
ifconfig tap190 inet6 auto_linklocal