Routing issue (same subnet, 2 wan gateway, 1 webserver)
Hi all, I got the routing problems, please help!!
I have two WAN links. example WAN1 : using xyzel router wan ip1 : 202.202.202.1 lan ip1 : 192.168.123.254 WAN2 : using Linux wan ip2 : 101.101.101.1 wan ip2 : 192.168.123.1 Web server: using Linux lan : 192.168.123.21 I want to do the port forward(80) from wan1 and wan2 to internal web server. But my web server default route is using 192.168.123.254. So, Wan1 is no problems. But in WAN1, web server didn't respond as routing issue. How can I config Web server to achieve it? Thanks!!! |
You can add a static route in Web server, such as network is 101.101.101.0/24 and gateway is 192.168.123.1. The static route will send 101.101.101.0/24 network response to 192.168.123.1 gateway.
|
How can I using a route command ?
How can I using a route command ?
Already try a "route add" command. But fail... Quote:
|
route add -net 101.101.101.0 netmask 255.255.255.0 gw 192.168.123.1
|
All times are GMT -5. The time now is 12:22 AM. |