Advertisement: Linux VPS for $4/month - based on OpenVZ, credit card accepted, automatic setup.
+ Post New Thread
Results 1 to 1 of 1

Thread: 1 VPS with 2 IP addresses. How to make them independent?

  1. #1
    Junior Member Douro's Avatar
    Join Date
    Oct 2017
    Posts
    1
    Post Thanks / Like

    1 VPS with 2 IP addresses. How to make them independent?



    I have this in /etc/network/interfaces:

    Code:
    auto ens3
    iface ens3 inet static
    
            address 46.xx.xxx.1x7
            netmask 255.255.252.0
            broadcast 46.38.xxx.255
            gateway 46.xx.xxx.1
    
    auto ens3:0
    iface ens3:0 inet static
    
        address 188.xx.xx.xx5
        netmask 255.255.255.255
    I have two public IP's, but I wish the traffic they made would not mix. I verify that all data leaves the VPS normally by one of two IP's. As for the input, the data to reach the interface ens3:0 passes through the interface ens3. I want the interfaces of my VPS to be independent. It will be possible?
    Last edited by Douro; 10-29-2017 at 03:20 PM.

+ Post New Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
 Protected by : ZB BLOCK  &  StopForumSpam