FreeBSD/jails/config/vm/create_taps.sh

120 lines
2.6 KiB
Bash
Raw Normal View History

2020-06-01 11:02:23 -07:00
#!/bin/sh
2021-02-13 11:38:38 -08:00
# Copyright (c) 2018-2021, diyIT.org
2020-02-25 11:28:31 -08:00
# All rights reserved.
#
# BSD 2-Clause License ("Simplified BSD License" or "FreeBSD License")
# https://diyit.org/license/
#
#
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
2021-02-13 11:38:38 -08:00
ifconfig tap1082 create
ifconfig bridge10 addm tap1082 up
ifconfig tap1082 up
ifconfig tap1082 inet6 auto_linklocal
ifconfig tap2082 create
ifconfig bridge9 addm tap2082 up
ifconfig tap2082 up
ifconfig tap2082 inet6 auto_linklocal
2021-04-01 01:23:14 -07:00
ifconfig tap4882 create
ifconfig bridge48 addm tap4882 up
ifconfig tap4882 up
ifconfig tap4882 inet6 auto_linklocal
2020-02-25 11:28:31 -08:00
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-06-11 12:02:40 -07:00
ifconfig tap85 create
ifconfig bridge1 addm tap85 up
ifconfig tap85 up
ifconfig tap85 inet6 auto_linklocal
2021-02-13 11:38:38 -08:00
ifconfig tap86 create
ifconfig bridge1 addm tap86 up
ifconfig tap86 up
ifconfig tap86 inet6 auto_linklocal
ifconfig tap1086 create
ifconfig bridge10 addm tap1086 up
ifconfig tap1086 up
ifconfig tap1086 inet6 auto_linklocal
ifconfig tap2086 create
ifconfig bridge9 addm tap2086 up
ifconfig tap2086 up
ifconfig tap2086 inet6 auto_linklocal
2021-04-01 01:23:14 -07:00
ifconfig tap4886 create
ifconfig bridge48 addm tap4886 up
ifconfig tap4886 up
ifconfig tap4886 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
2021-02-13 11:38:38 -08:00
ifconfig tap97 create
ifconfig bridge1 addm tap97 up
ifconfig tap97 up
ifconfig tap97 inet6 auto_linklocal
ifconfig tap1097 create
ifconfig bridge10 addm tap1097 up
ifconfig tap1097 up
ifconfig tap1097 inet6 auto_linklocal
ifconfig tap2097 create
ifconfig bridge9 addm tap2097 up
ifconfig tap2097 up
ifconfig tap2097 inet6 auto_linklocal
2021-04-01 01:23:14 -07:00
ifconfig tap4897 create
ifconfig bridge48 addm tap4897 up
ifconfig tap4897 up
ifconfig tap4897 inet6 auto_linklocal
2021-02-13 11:38:38 -08:00
ifconfig tap96 create
ifconfig bridge1 addm tap96 up
ifconfig tap96 up
ifconfig tap96 inet6 auto_linklocal
ifconfig tap1096 create
ifconfig bridge10 addm tap1096 up
ifconfig tap1096 up
ifconfig tap1096 inet6 auto_linklocal
ifconfig tap2096 create
ifconfig bridge9 addm tap2096 up
ifconfig tap2096 up
ifconfig tap2096 inet6 auto_linklocal
2021-04-01 01:23:14 -07:00
ifconfig tap4896 create
ifconfig bridge48 addm tap4896 up
ifconfig tap4896 up
ifconfig tap4896 inet6 auto_linklocal