Unix/Linux Go Back    


IP Networking Learn TCP/IP, Internet Protocol, Routing, Routers, Network protocols in this UNIX and Linux forum.

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

IP Networking


Reply    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 1 Week Ago   -   Original Discussion by oshihari
oshihari's Unix or Linux Image
oshihari oshihari is offline
Registered User
 
Join Date: Jun 2018
Last Activity: 13 June 2018, 8:48 AM EDT
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
1 VPS with 2 IP addresses. How to make them independent?

Code:


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 want the interfaces of my VPS to be independent.
Without the traffic of ens3:0 interface pass by ens3 interface.
It's possible?


Moderator's Comments:
1 VPS with 2 IP addresses. How to make them independent? Please use CODE tags as required by forum rules!

Last edited by RudiC; 1 Week Ago at 09:20 AM.. Reason: Added CODE tags.
Sponsored Links
    #2  
Old Unix and Linux 1 Week Ago   -   Original Discussion by oshihari
RudiC's Unix or Linux Image
RudiC RudiC is offline Forum Staff  
Moderator
 
Join Date: Jul 2012
Last Activity: 22 June 2018, 8:24 AM EDT
Location: Aachen, Germany
Posts: 12,917
Thanks: 429
Thanked 3,967 Times in 3,648 Posts
I'm afraid the second is an "alias interface"; all those share the same physical device.
Sponsored Links
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
1 VPS with 2 IP addresses. How to make them independent? Douro IP Networking 0 10-27-2017 08:18 AM
How to make each login shell history independent for same account? Ariean UNIX for Dummies Questions & Answers 4 03-29-2015 07:08 PM
VPS webserver speed johnchristy UNIX for Dummies Questions & Answers 3 03-27-2014 09:26 AM
Machine Independent?? skyineyes UNIX for Dummies Questions & Answers 1 05-28-2008 06:02 AM
how to Launch an independent process. deepthi UNIX for Dummies Questions & Answers 1 03-10-2005 09:12 AM



All times are GMT -4. The time now is 10:48 AM.