Virtual interfaces, some works, some not. Same netmask & subnet [on hold]
up vote
0
down vote
favorite
I am using Ubuntu 18.04.
I am trying to setup VPN (ethervpn) virtual IPs.
Basically imagine that there are dozens of dedicated machines all over the world.
Each machine should be running Ubuntu + Docker.
There are many different apps, replications, etc. in total hundreds of instances of different types, and domains.
So each server needs a lot of different virtual IPs so I can manage whole deployment.
I will use SQL databases as an example.
I have created using
ifconfig vpn_vpnclient:1 10.1.1.1 netmask 255.0.0.0 up
X.X.1.1, X.X.2.2, X.X.3.1, X.X.4.1, X.X.5.1, X.X.6.2, X.X.7.3, X.X.8.2
On remote machines those IPs are not always reachable.
I.e. 1.1 is working, but 2.2 not, 3.1 is, 4.1, 5.1, 6.2 not, 7.3 is and 8.2 is not...
All interfaces are created in init.d after vpn_client is started...
I have no idea why some of those IPs would work and some not.
There is no duplication (it is a new infrastructure), whole network is using netmask 255.0.0.0 due to big number of different apps, layers, etc.
Of course host can reach all IP's.
I do not use netmask as seems it cannot create virtual interfaces.
BTW often some are reachable, some are not.
I.e. 3.1 is not reachable after few restarts, but was working.
When I was creating them manually earlier this morning i.e.
5.1, 6.2, 4.1, 1.1, 3.1 worked.
Now 3.1 stopped working :)
ifconfig
New contributor
put on hold as unclear what you're asking by Rui F Ribeiro, Scott, Filipe Brandenburger, Thomas, RalfFriedl 2 days ago
Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
add a comment |
up vote
0
down vote
favorite
I am using Ubuntu 18.04.
I am trying to setup VPN (ethervpn) virtual IPs.
Basically imagine that there are dozens of dedicated machines all over the world.
Each machine should be running Ubuntu + Docker.
There are many different apps, replications, etc. in total hundreds of instances of different types, and domains.
So each server needs a lot of different virtual IPs so I can manage whole deployment.
I will use SQL databases as an example.
I have created using
ifconfig vpn_vpnclient:1 10.1.1.1 netmask 255.0.0.0 up
X.X.1.1, X.X.2.2, X.X.3.1, X.X.4.1, X.X.5.1, X.X.6.2, X.X.7.3, X.X.8.2
On remote machines those IPs are not always reachable.
I.e. 1.1 is working, but 2.2 not, 3.1 is, 4.1, 5.1, 6.2 not, 7.3 is and 8.2 is not...
All interfaces are created in init.d after vpn_client is started...
I have no idea why some of those IPs would work and some not.
There is no duplication (it is a new infrastructure), whole network is using netmask 255.0.0.0 due to big number of different apps, layers, etc.
Of course host can reach all IP's.
I do not use netmask as seems it cannot create virtual interfaces.
BTW often some are reachable, some are not.
I.e. 3.1 is not reachable after few restarts, but was working.
When I was creating them manually earlier this morning i.e.
5.1, 6.2, 4.1, 1.1, 3.1 worked.
Now 3.1 stopped working :)
ifconfig
New contributor
put on hold as unclear what you're asking by Rui F Ribeiro, Scott, Filipe Brandenburger, Thomas, RalfFriedl 2 days ago
Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I am using Ubuntu 18.04.
I am trying to setup VPN (ethervpn) virtual IPs.
Basically imagine that there are dozens of dedicated machines all over the world.
Each machine should be running Ubuntu + Docker.
There are many different apps, replications, etc. in total hundreds of instances of different types, and domains.
So each server needs a lot of different virtual IPs so I can manage whole deployment.
I will use SQL databases as an example.
I have created using
ifconfig vpn_vpnclient:1 10.1.1.1 netmask 255.0.0.0 up
X.X.1.1, X.X.2.2, X.X.3.1, X.X.4.1, X.X.5.1, X.X.6.2, X.X.7.3, X.X.8.2
On remote machines those IPs are not always reachable.
I.e. 1.1 is working, but 2.2 not, 3.1 is, 4.1, 5.1, 6.2 not, 7.3 is and 8.2 is not...
All interfaces are created in init.d after vpn_client is started...
I have no idea why some of those IPs would work and some not.
There is no duplication (it is a new infrastructure), whole network is using netmask 255.0.0.0 due to big number of different apps, layers, etc.
Of course host can reach all IP's.
I do not use netmask as seems it cannot create virtual interfaces.
BTW often some are reachable, some are not.
I.e. 3.1 is not reachable after few restarts, but was working.
When I was creating them manually earlier this morning i.e.
5.1, 6.2, 4.1, 1.1, 3.1 worked.
Now 3.1 stopped working :)
ifconfig
New contributor
I am using Ubuntu 18.04.
I am trying to setup VPN (ethervpn) virtual IPs.
Basically imagine that there are dozens of dedicated machines all over the world.
Each machine should be running Ubuntu + Docker.
There are many different apps, replications, etc. in total hundreds of instances of different types, and domains.
So each server needs a lot of different virtual IPs so I can manage whole deployment.
I will use SQL databases as an example.
I have created using
ifconfig vpn_vpnclient:1 10.1.1.1 netmask 255.0.0.0 up
X.X.1.1, X.X.2.2, X.X.3.1, X.X.4.1, X.X.5.1, X.X.6.2, X.X.7.3, X.X.8.2
On remote machines those IPs are not always reachable.
I.e. 1.1 is working, but 2.2 not, 3.1 is, 4.1, 5.1, 6.2 not, 7.3 is and 8.2 is not...
All interfaces are created in init.d after vpn_client is started...
I have no idea why some of those IPs would work and some not.
There is no duplication (it is a new infrastructure), whole network is using netmask 255.0.0.0 due to big number of different apps, layers, etc.
Of course host can reach all IP's.
I do not use netmask as seems it cannot create virtual interfaces.
BTW often some are reachable, some are not.
I.e. 3.1 is not reachable after few restarts, but was working.
When I was creating them manually earlier this morning i.e.
5.1, 6.2, 4.1, 1.1, 3.1 worked.
Now 3.1 stopped working :)
ifconfig
ifconfig
New contributor
New contributor
edited Nov 24 at 20:58
New contributor
asked Nov 24 at 20:19
Mike
11
11
New contributor
New contributor
put on hold as unclear what you're asking by Rui F Ribeiro, Scott, Filipe Brandenburger, Thomas, RalfFriedl 2 days ago
Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
put on hold as unclear what you're asking by Rui F Ribeiro, Scott, Filipe Brandenburger, Thomas, RalfFriedl 2 days ago
Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
add a comment |
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes