CONNECTION_UUID=$(echo $CONNECTION_LINE | cut -f 2 -d ':')
CONNECTION_DEVICE=$(echo $CONNECTION_LINE | cut -f 4 -d ':')
+nmcli connection delete uuid "$CONNECTION_UUID"
+
nmcli connection add \
connection.autoconnect yes \
connection.id internal \
connection.interface-name $CONNECTION_DEVICE \
connection.type 802-3-ethernet \
- ipv4.addresses "10.228.109.64/16" \
+ ipv4.addresses "10.228.109.83/16" \
ipv4.dns "10.228.109.159, 10.228.92.159" \
ipv4.dns-search "in.useribm.hu" \
ipv4.gateway "10.228.109.254" \
ipv4.method "manual" \
- ipv6.addresses "2a02:d400:0000:f268:000c:18ff:fe03:6d40/64" \
+ ipv6.addresses "2a02:d400:0000:f268:000c:18ff:fe03:6d53/64" \
ipv6.dns "2a02:d400:0000:f268:000c:18ff:fe03:6d9f, 2a02:d400:0000:f268:000c:18ff:fe03:5c9f" \
ipv6.dns-search "in.useribm.hu" \
ipv6.gateway "2a02:d400:0000:f268:000c:18ff:fe03:6dfe" \
ipv6.method "manual" \
save yes
-nmcli connection delete uuid "$CONNECTION_UUID"
-
nmcli connection show