2 Static IP and switch

  • Thread starter Thread starter boss003
  • Start date Start date
  • Replies Replies 7
  • Views Views 1,599
Messages
3
Location
Delhi
ISP
Airtel business
Hello,

Not sure where to ask. Looking for some help.

Devices:
# TP-Link ER605 V2 Router
# TP-LINK ER8411 Router
# TP-LINK SG3210 Managed Switch 8 port

INTERNET:
# 2 Airtel office internet with static IP

Computers:
# 6 Computer with http/s servers and databases /backups


Issue:
# 6 PC can talk to each others
# Static IP 1 accept http/s request to PC1 and IP 2 to PC2. If possible use more PC for http/s to process requests.
# PCs have only one LAN port.


Multi WAN configuration not working for me, normally PC took 3 seconds to process a request. Using multi WAN first one working fine but seconds one take 15 seconds extra. There is no configuration other that setting up static ip on router.

If anyone can help or provide some suggestion how to configure the network.
Thank you.



Source
 
Last edited:
I did not see this thread before.
Can you explain, what is your goal or what do you want to do?

To answer your # issues.
  • To avoid PC cross-talk, you'd need to place each PC in a different subnet and block communication using ACL.
  • Additionally as a security measure, they should also be in seperate VLANs.

  • You have options like nginx and F5 as a proxy to use more PCs for processing.

  • You can get multiple IPs on the same port, if that is what you require.
 
Last edited:
Sorry for making it confusing.


I have multiple static ip that currently serving with multiple pc using nginx.
What im trying to do is use multiple WAN router using switch or something so we can use local network with 5/6 pcs to serve HTTP request use same database.

Or use multi WAN router ie. TP-Link ER8411 Router to do the same thing. But for this case Multi WAN not working. Only one WAN work at a time, other are responding to ping but no working for http request.

If you guys have some idea how i can do this.

Thank you
 
So…. You want to serve the same web page over multiple static IPs?
Kind of like failover or load balancer?

That is not really recommended and in the event if there is a failure on one of your Internet then you’d need to a manual failover on your DNS registrar. This is because client end would pick any IP on random.
 
Hi again,
Load balancer.

I can manage this by checking if ip is live, if not remove the dns record. Put it back again when static ip online.
 
That won’t be possible, due to how NAT works your TP-Link devices are not smart enough to match inbound connections with LAN IPs for outbound.

This would be possible if you have both connections on the same device, but I don’t think TP-link provides such feature.

Alternative option is to get Public IPs for your servers and setup firewall accordingly.
 
Have you looked at the Policy Based Routing options in the ER605 ? I'm pretty sure you can do what you want this way.

You can configure nginxpc1 to always "stick" to wan1 for both incoming and outgoing traffic. And nginxpc2 similarly always use wan2. Rest of your client devices can be left to load balance across both wans.

For this you need to set fixed IPs in DHCP server settings in the er605 for your pc1 and pc2 and don't use the er8411 at all.

Just explore the er605 UI...
 
.

For external load balancing I guess you need DNS round robin configuration but I'm not sure how to do that, maybe there are some online services.
 
Back