Server behind 2 ns5xp



  • Hi,

    I have a mail server, with ip 192.168.0.5, and 2 ns5xp, one for an adsl line, and one for a leased line.

    ns1 (leased line)
    lan ip: 192.168.0.1
    wan ip: 1.1.1.1

    ns2 (adsl line)
    lan ip: 192.168.0.2
    wan ip: 2.2.2.2

    On each netscreen Ive configured a MIP pointing to my mail server:
    1.1.1.1 –- 192.168.0.5, service any (for test), policy ok
    2.2.2.2 — 192.168.0.5, service any (for test), policy ok

    The default gateway for my mail server is 192.168.0.1, so ns1. Testing from a remote location, if I do http://1.1.1.1 it works fine but if I do http://2.2.2.2 it doesn’t work. If I add the ns2 lan ip as other gateway on my mail server it still doesn’t work.

    So my question is: Do you know if there’s a way to make that kind of configuration working? I mean having to internet lines and that each person using either http://1.1.1.1 or http://2.2.2.2 can reach the mail server.

    Thanks for your answers! 😉

    mat



  • One more question, are you typing http://1.1.1.1 or 2.2.2.2 (IP address) or http://mail.*****.com???



  • Try adding another Network Interface card on the mail server with another IP address and give it the second gateway. That should work!



  • Hi mannygib, thanks for your quick answer.

    I added a additional route (and made it persistent) on my mail server to my ns2, but it changed nothing. About the config, it’s really basic, just the mip for the server, nothing else particular configured.

    mat



  • You need to post your config so we can take a look at your second MIP. That should work if you added an additional route on the mail server to your NS2.


 

20
Online

38.4k
Users

12.7k
Topics

44.5k
Posts