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

Routing between two subnets in the pvt IP space

Hi Astaro fans,

I'm using Astaro 3.207.  I'd like to put 3 subnets on my one physical network.  The first is my public IP space, this I'd like to leave alone.  Next, is my private IP space, 192.168.0.0/24, this, I'd like to also be on the subnet.  The next, I'd like to be 192.168.1.0/24, however this one, I'd like all packets to go to 192.168.1.1 when they want to get to any IP address in this subnet.  192.168.1.1 will be another router, hosts behind this router will use 192.168.1.1 as their default gateway.

I'd like for all of these subnets to communicate with one another.  So I created two virtual interfaces on my internal NIC, 192.168.1.2 and 192.168.0.1.

Here's what my routing table looks like for these two:
192.168.1.0/24 dev eth1  scope link  src 192.168.1.2 
192.168.0.0/24 dev eth1  scope link  src 192.168.1.2 

The problem so far, is that I can only ping 192.168.1.2.  I think this is due to the src  it added.

Anyone have any recommendations?

thanks
MKoool  


This thread was automatically locked due to age.
  • You need at least 2 interfaces on the additional router. One connected to the ASL and one to serve the clients. Those two networks cant be in the same netrange (or it wouldt be two nets).

    The easy way:
    Add a fourth network (routingnet) and place between the second router and the asl. All nets use 24bit mask.

       INET ---- ASL ---- 192.168.2.0 ----  Router ---- 192.168.1.0
                        |
                        |
              192.168.3.0

    The hard way:
    Subnet the 192.168.1.0 ... ex. use a 26bit mask and use for all 3 nets (4 subnets and 62 host/net)    
  • hmm.. the 192.168.3.0 net should be connected to the ASL. The spaces I made was lost =D