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

