This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
solutions-tsg-scripts/roles/tsg-env-tun-mode/templates/setup.j2
2020-03-28 14:37:28 +08:00

6 lines
177 B
Django/Jinja

#!/bin/bash
modprobe 8021q
vconfig add {{ nic_mgr.name }} 100
vconfig set_flag {{ nic_mgr.name }}.100 1 1
ifconfig {{ nic_mgr.name }}.100 192.168.100.1 netmask 255.255.255.0 up