This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

2 IP's 1 LAN - Routing **Help**

Hey all,

 On thursday I am getting a second modem installed at my home with a single static  IP.  Currently I have 1 static IP address with all of my data connections and routing going through that. 

In the end I will have 2 modems 1 static IP per modem.

What I want to do is keep the single Astaro server but designate all traffic to &  from one server to a single IP and the rest through the other IP.

I want to keep all of my machines on the same internal subnet to preserve my LAN connections and domain infastructure.  All I know about setting this up is that I will have to add an additional NIC to the Asaro server but configuring everything else I am not sure how to do. Any help would be appreciated.


I have attached a jpg of what I would like to do.


This thread was automatically locked due to age.
Parents
  • The modem2 line on the right going from Astaro to other LAN PCs; what's that doing? (what's the nature of traffic on that path; who initiates and what is the destination?)
  • Modem 2 will handle.
    HTTP, HTTPS,  FTP, POP, SMTP

    Outside users will initiate the traffic.
  • So your gateway for Astaro will be Modem 1;
    the modem 2 interface will have DNAT rules.

    But will Astaro send the replies to the incoming sessions back out the 2 interface in version 5?
    think so...
  • I guess an easier way of saying this is that I want to keep the current configuration I have but will be adding another external IP address that I want to dedicate to 2 PC's on my network. IE any traffic that comes from 10.1.1.xxx & 10.1.1.xxx goes out to the internet on this external IP.
  • OK, now you're communicating; I knew it couldn't be as simple as you first described it.

    That's "source routing" (Astaro does destination routing); it can be done with the ip route command; routes can be persisted in an Astaro config file called routes.local. Search for more on these topics. To do that you will have to become a Linux routing guru; and Astaro cannot be responsible for your mistakes  [by their letter of the law, Astaro is not responsible for anything once you do a non-webadmin directed mod...]
Reply
  • OK, now you're communicating; I knew it couldn't be as simple as you first described it.

    That's "source routing" (Astaro does destination routing); it can be done with the ip route command; routes can be persisted in an Astaro config file called routes.local. Search for more on these topics. To do that you will have to become a Linux routing guru; and Astaro cannot be responsible for your mistakes  [by their letter of the law, Astaro is not responsible for anything once you do a non-webadmin directed mod...]
Children
  • bah that sounds like too much of a nightmare. I got the 2nd line installed yesterday and didn't even get a chance to try to config it with astaro becuase neiter of the NIC's that I had laying around were detected at all    . Intel Pro & Reaktek. So now I have to find a nic that is compatible. I am really up for any ideas that anyone has to achieve what I am trying to do.
  • I see what you are saying now. I have everything setup now but ASL will not let me even add more than one Default Gateway. Could I possibly do this by putting the 2 PC's on a different subnet or something of that nature? Or any other option I may have. I did some searching on google about Source Routing and I am not that much of a network guru so that is kind of out of the question.
  • Nevermind I found a solution. I forgot that both of the PC's that I want to connect to the 2nd modem have dual NIC's. So I pulled my old router out of the closet and setup a bridged connection on the PC's. Working like a champ now.