Custom Networking Setup Advice

  • Thread starter Thread starter Deleted member 63558
  • Start date Start date
  • Replies Replies 25
  • Views Views 3,749
How can I use Airtel for my Main PC and Excitel for Secondary PC without loosing LAN between them?

I think you should be able to do this with a static routing entry on the Edgerouter-X since it handles both your WAN connections. Set the route from the LAN IP of each machine to be routed via a particular WAN. Using VLANs is another option. I am not familiar with the capabilities of the Edgerouter-X..I have only heard of it. So please consult the router documentation for details.
 
^ I would have if I know the technicalities of all this. I'm bit new for all this to do.
 
The link I shared earlier wrt to the EdgeRouter X specifically goes into your requirement, and has the solution and if you read it, you'd notice that it's almost the exact same use case as yours.

Yes, its done entirely in the CLI and you'd need an idea on how things work internally. Again I've never used the device so not intimately familiar with it. But skimming through that post, it definitely looks like what you need.

Here is the link again

 
Yes, But if you could re-confirm again since I don't want to leave a room for misunderstanding.

nyJUYcf.webp

(Click on Image to see full screen)
 
Last edited by a moderator:
Yes all that should work. You could have source IP address based groups, so if you assign an IP address from a specific group to a device, you'd get routed through your Airtel connection, for everything else Excitel. So if you want to change the gateway, just change the IP address.

The link I shared earlier can be taken as base and tweaked or modified as per your needs.

The Asus router as a dumb AP and/or switch shouldn't cause issues, you wouldn't even need to change anything on that device.

Your LAN stuff etc would work as is now. All routing logic would be handled by the Edgerouter.
 
I didn't get this part:

Change the gateway, just change the IP address

Secondly, How can I do the exception B?

Since, if I stop playing. I would love to shift back to Excitel for my work and other stuff. (It's just few applications are having issue because of Excitel's Routing).
 
So if you want to change the gateway, just change the IP address.

Okay. I just checked the config tree and now I'm able to relate to what you're saying.

Anyways, Change the IP to anything dummy? (which doesn't even exist but local)?
 
You could have source IP address based groups, so if you assign an IP address from a specific group to a device, you'd get routed through your Airtel connection, for everything else Excitel. So if you want to change the gateway, just change the IP address.

You'd have to configure an IP range which would get routed through Airtel for example say 192.168.1.100 to 192.168.1.150. So if you configure your device with an IP address from that range it would get routed through Airtel else Excitel.

Idk if the EdgeRouter supports this, but on my OpenWRT router, I could have rules based on the destination port or protocol as well to determine which WAN interface to use. So if you just need specific protocols or destinations to be routed through Airtel you could do that as well.

Quick googling seem to imply that this isn't supported in the EdgeRouter, but the source address based routing which I mentioned earlier is definitely available.

 
Back