1 | #!/bin/bash |
---|
2 | # actor_id=ca378090-dc21-4667-96ea-94529e1072d8 |
---|
3 | # slice_id=2137e89f-e020-4c5c-a207-78b92dad1bad |
---|
4 | # reservation_id=263e3115-1c18-4801-be36-f2e71252a8d8 |
---|
5 | # unit_id=1e304bcc-0fe2-4c8b-a80a-5acdba99cb09 |
---|
6 | # |
---|
7 | # interface configuration section |
---|
8 | # |
---|
9 | # configuration for interface eth2 on tag 1018 with ip 172.16.1.2/24 |
---|
10 | # load 8021q |
---|
11 | modprobe 8021q |
---|
12 | # bring up parent interface |
---|
13 | ifconfig eth2 up |
---|
14 | vconfig set_name_type DEV_PLUS_VID_NO_PAD |
---|
15 | vconfig add eth2 1018 |
---|
16 | ifconfig eth2.1018 172.16.1.2 netmask 255.255.255.0 up |
---|
17 | |
---|