Advertisement.

TransHimalaya.in

Everest Helicopter Tour for a day

Book exciting packages at www.transhimalaya.in

Routing When Server is connected to 2 WAN

Routing When Server is connected to 2 WAN


Server is having 2 ethernets

1. Lohari 191.254.186.1/255.255.255.0 GW 191.254.186.17
2. Broadband 10.6.56.66/255.255.255.240 GW 10.6.56.65 DNS 202.168.34.18
If there is a http request from 191.254.187.1 then server wont send the packet however respond to ping reply.

Solution:












Now I will add the 191.254.187.* network in static route so that 191.254.186.1 can know on which gateway to send packet.







Not tested. but if works than cover complete NTPC WAN.













Adding Static Routes using batch file netsh Command:

netsh routing ip add persistentroute 10.0.0.0 255.255.255.0 "Lohari" 191.254.186.17
netsh routing ip add persistentroute 191.254.0.0 255.255.0.0 "Lohari" 191.254.186.17
netsh routing ip add persistentroute 10.1.0.0 255.255.0.0 "Lohari" 191.254.186.17
netsh routing ip add persistentroute 10.6.0.0 255.255.0.0 "Broadband Uper NIC" 10.6.56.65

netsh routing ip show persistentroutes




-Vinod K.

Comments

Most Viewed Post

solution for facebook static.ak.fbcdn.net waiting

Connect Sony XPLOD MEX-BT2500 Bluetooth CD Receiver with ur mobile

Crystal Report : Show data horizontally (Left to right) i.e. columns as rows

Google+ Followers