Virtual Router/ Firewall/ VPN

Reply
New Contributor
Posts: 2
Registered: ‎11-16-2014

Can Vyatta do address range mapping when the address range is not CIDR aligned?

The example in http://www.brocade.com/downloads/documents/html_product_manuals/vyatta/vyatta_5400_manual/NAT/wwhelp/wwhimpl/js/html/wwhelp.htm#href=NAT%20Config%20Examples.3.10.html uses address ranges specified in CIDR notation, and presumably they correspond to whole real subnets (e.g., whose gateway and broadcast addresses work as expected).  What if I want to map one address range to another but they are not CIDR aligned and do not correspond to whole real subnets?  For example:

 

set nat source rule 10
set nat source rule 10 source address 10.9.8.7-10.9.8.107
set nat source rule 10 outbound-interface eth0
set nat source rule 10 translation address 11.22.33.44-11.22.33.144
set nat destination rule 10
set nat destination rule 10 destination address 11.22.33.44-11.22.33.144
set nat destination rule 10 inbound-interface eth0
set nat destination rule 10 translation address 10.9.8.7-10.9.8.107

 

Will this establish 1:1 bidirectional NAT between 10.9.8.7 and 11.22.33.44, between 10.9.8.8 and 11.22.33.45, between 10.9.8.9 and 11.22.33.46, ... and between 10.9.8.107 and 11.22.33.144 ?

Join the Community

Get quick and easy access to valuable resource designed to help you manage your Brocade Network.