Score:0

Route inbound to outbound ip address netplan

cn flag

I have configured my VPS to listen to multiple IP addresses (whole subnet, 255 addresses), for example:

network:
  version: 2
  renderer: networkd
  ethernets:
    ens3:
      addresses:
      - 15.16.17.0/32
      - 15.16.17.1/32
      - 15.16.17.2/32
      - etc.

How can i make sure that the inbound address, for example 15.16.17.1 matches the outbound ip 15.16.17.1 ? When i connect to my server now trough 15.16.17.1 the outbound address is the address the provider assigned to the VPS e.g. 18.19.20.117.

user@server:/etc/netplan# ip route s
default via 18.19.20.1 dev ens3 proto dhcp src 18.19.20.117 metric 100 
18.19.20.0/24 dev ens3 proto kernel scope link src 18.19.20.117 
18.19.20.1 dev ens3 proto dhcp scope link src 18.19.20.117 metric 100 
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.