B
B
branex2021-10-27 15:14:50
Computer networks
branex, 2021-10-27 15:14:50

Is it possible to access the Internet under two white IPs, having one interface and 2 external IP addresses from the provider?

There is one, brought into the apartment, an Internet provider cable connected to a router (in general, the most classic scheme). I got a server, I want to be able to reach it via the Internet, I took an additional white IP from the provider (it also means that two MACs are allowed on the port) (the main one is also white, i.e. we have 2 external IPs). Whether it is possible to make so that the router and the server in parallel could go to the Internet under different IPs? Maybe you can implement the scheme using a switch? Cisco catalyst 2960(L2) is available

Answer the question

In order to leave comments, you need to log in

5 answer(s)
A
Aetae, 2021-10-27
@branex

Maybe what are the problems?
With a switch, it’s generally simple: we stick a server, a router and a provider’s cord into the switch - and everything works by itself.)
You need to configure the router depending on the router itself: leave NAT for the home network, forward it directly for the server. It very much depends on the capabilities of a particular router. The home segment is unlikely to be able to do this without custom firmware. Well, knowledge of networks is needed. But an extra switch is excluded from the chain.)

R
Ronald McDonald, 2021-10-27
@Zoominger

(the main one is also white, i.e. we have 2 external IPs)

Even I did not understand.
When you buy a white IP, you change your dynamic one to a new static one. Nobody gives you two IPs.
Or did I really not understand?

K
keeplod, 2021-10-27
@keeplod

What is the connection protocol?
It is impossible to make two connections on the router and set up forwarding as needed?

D
Drno, 2021-10-27
@Drno

On the router, do port forwarding - external address - your second IP from the provider, internal address - IP of the server inside the LAN BEHIND the router
Well, or stupidly from the provider to the switch, then along the patch cord - to the router and to the server

L
l1mera1n1, 2021-10-28
@l1mera1n1

Purely theoretically - if you can have two poppies per port, then what could be the problem?
The provider's cable and both of our devices with correctly registered poppies are plugged into the unmanaged switch. The provider itself issues addresses accordingly to poppies. What does not work in such a scheme?
Here's just a question - does your server need the entire range of ports for some reason? Why does he need a separate address then?
don't consider it for advertising, it looks like an almost ready-made solution
https://podarok66.livejournal.com/16343.html
However, are you sure that the provider gives two poppies?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question