Quantcast
Channel: EdgeRouter topics
Viewing all articles
Browse latest Browse all 20028

Problem routing subnet to subnet on same interface with load balancing

$
0
0

Hi

 

To jump straight in:

 

Version - 1.7.0

Eth0 - internet 1

eth1 - internet 2

eth2 - lan - 192.168.2.1/24

 

 

eth0/eth1 have load balancing (from the wizard) and it works great.

 

I have some equipment that is all configured with a static ip on 192.168.20.0/24, and, I decided to stick an extra static ip on eth2 of 192.168.20.1

 

Now, the edgerouter can ping everything on both subnets, but, devices on either always have the first hop as the internet gateway.

 

After talking to a friend, I take it that the load balancing is taking over here.

 

I tried modfying the default rule 1 to rule 2 and adding a rule 1 to bypass for local:

 

 modify balance {
     rule 1 {
         action modify
        description "bypass LB for internal"
        destination {
            address 192.168.0.0/16
        }
         modify {
            table main
         }
     }
    rule 2 {
        action modify
        modify {
            lb-group G
        }
    }
 }

But, this doesn't seem to change anything.

 

I don't really know what to do next and was wondering if anyone can offer any help?

 

Thanks,

 

William


Viewing all articles
Browse latest Browse all 20028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>