I created a VPN connection to my FritzBox.
When the connection is UP I receive 192.168.1.200 as IP address.
I set a static IP address ("manual") in NetworkManager GUI:
![enter image description here](https://i.stack.imgur.com/OTWWg.png)
Now I have two IP addresses:
9: tun0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1412 qdisc fq_codel state UNKNOWN group default qlen 500
link/none
inet 192.168.1.200/24 brd 192.168.1.255 scope global noprefixroute tun0
valid_lft forever preferred_lft forever
inet 192.168.1.201/16 brd 192.168.255.255 scope global noprefixroute tun0
valid_lft forever preferred_lft forever
inet6 fe80::45b5:72ab:3b02:275f/64 scope link stable-privacy
valid_lft forever preferred_lft forever
What I have to to in order to have only the desired IP address and not the default one?
Here the network configuration file:
[connection]
id=femtoVPN
uuid=157f338a-d347-469a-97e3-bf1377b48961
type=vpn
permissions=user:myuser:;
timestamp=1634026438
[vpn]
IKE DH Group=dh2
IPSec ID=myID
IPSec gateway=myGateway
IPSec secret-flags=0
Local Port=0
NAT Traversal Mode=natt
Perfect Forward Secrecy=server
Vendor=cisco
Xauth password-flags=0
Xauth username=myName
ipsec-secret-type=save
xauth-password-type=save
service-type=org.freedesktop.NetworkManager.vpnc
[vpn-secrets]
IPSec secret=mySecret
Xauth password=myPassword
[ipv4]
address1=192.168.1.201/16,192.168.1.1
dns=192.168.1.1;
dns-search=
ignore-auto-dns=true
method=manual
[ipv6]
addr-gen-mode=stable-privacy
dns-search=
ip6-privacy=0
method=ignore
[proxy]