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-mxn/files/setup
2020-10-24 12:08:31 +06:00

18 lines
485 B
Bash

#!/bin/bash
/usr/local/bin/open_intf.inst
vconfig add ens1 100
vconfig set_flag ens1.100 1 1
ifconfig ens1.100 192.168.100.5 netmask 255.255.255.0 up
vconfig add ens1 200
vconfig set_flag ens1.200 1 1
ifconfig ens1.200 192.168.200.5 netmask 255.255.255.0 up
echo 1 > /proc/sys/net/ipv6/conf/default/disable_ipv6
/usr/local/testpoint/testpoint.sh start full &
echo 1 > /proc/sys/net/ipv6/conf/all/disable_ipv6
echo 1 > /proc/sys/net/ipv6/conf/default/disable_ipv6