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

EdgeRouter Pro 8 possible problem with source NAT

$
0
0

Hi all,

I have a Edgerouter Pro-8 (software 1.8) running BGP and multiple VLANs and subnets inside local Lan.

I create source NAT one for each local VLAN IP range in order to translate the outgoing traffic to a specific public IP and not use the BGP pair IP.

 

Also I have a management vlan (1) for my local lan with a specific subnet and I create also a source NAT for that subnet.

 

The problem is that all VLAN's (and subnets) traffic goes out correctly with my public IP according to Source NAT configuration BUT the outgoing traffic of the management vlan (01) /subnet  goes out with the BGP pair IP despite the source NAT rule that I have.

 

Same configuration to the EdgeRouter Lite is working perfectly....

 

Example:

eth0 ip address 10.0.0.1/24 (local lan management)

eth0.20 ip address 10.0.20.1/24 (local lan - VLAN 20)

eth7.500 ip address 88.99.100.200 (BGP ip)

My public ip is (for example) 99.99.99.99

 

If I have a client PC with ip 10.0.0.100/24 in local lan the outgoing IP is 88.99.100.200

If I have a client's PC in VLAN 20 and IP 10.0.20.100/24 then the outgoing IP is correctly 99.99.99.99

What is the problem? If the traffic goes out for the interface eth0, then the NAT rule does not work. If the traffic goes out from one of the VIFs then the NAT rule is active and all is OK.

Same configuration for VLANs works OK but not for the traffic in the eth0 (without VLAN).

Any suggestions?


Viewing all articles
Browse latest Browse all 20028

Trending Articles



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