Score:0

Settings static IP for VPN leads to multiple addresses

ve flag

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

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]
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.