diff --git a/int b/int index 6dc5e08..6fd3954 100755 --- a/int +++ b/int @@ -45,7 +45,7 @@ timestamp=$(date +%s) [ipv4] address1=$ip_s3 -dns=192.168.3.2; 8.8.8.8; +dns=8.8.8.8; gateway=$gt_s3 method=manual @@ -124,7 +124,7 @@ EOF read -p "Введите родительский интерфейс: " vpa read -p "Введите тэг vlan: " id read -p "Введите ip-адрес: " ip - nmcli connection add type vlan con-name $Name ifname $Name dev $vpa id $id ipv4.addresses $ip + nmcli connection add type vlan con-name $Name ipv4.method manual ifname $Name dev $vpa id $id ipv4.addresses $ip systemctl restart NetworkManager elif (( $num == 2)); then