1#!/bin/sh
2#
3# Copyright (C) Internet Systems Consortium, Inc. ("ISC")
4#
5# SPDX-License-Identifier: MPL-2.0
6#
7# This Source Code Form is subject to the terms of the Mozilla Public
8# License, v. 2.0. If a copy of the MPL was not distributed with this
9# file, you can obtain one at https://mozilla.org/MPL/2.0/.
10#
11# See the COPYRIGHT file distributed with this work for additional
12# information regarding copyright ownership.
13
14# see also ifconfig.sh.in and testsock.pl
15
16ifup() {
17	/sbin/ifconfig lo0 10.53.$1.$3 alias
18	/sbin/ifconfig lo0 inet6 fd92:7065:b8e:${2}ff::${3} alias
19}
20
21for ns in 1 2 3 4 5 6 7 8 9 10 11
22do
23	ifup 0 ff $ns
24done
25for ns in 1 2
26do
27	ifup 1 99 $ns
28	ifup 2 00 $ns
29done
30