Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

Configuring Inline Static Source NAT44 for Next Gen Services

date_range 06-Dec-23

Configuring the Source Pool for Inline Static Source NAT44

To configure the source pool for inline static source NAT44:

  1. Create a source pool.
    content_copy zoom_out_map
    user@host# edit services nat source pool nat-pool-name
    
  2. Define the addresses or subnets to which source addresses are translated.
    content_copy zoom_out_map
    [edit services nat source pool nat-pool-name]
    user@host# set address address-prefix
    

    or

    content_copy zoom_out_map
    [edit services nat source pool nat-pool-name]
    user@host# set address address-prefix to address address-prefix
    
  3. Configure a one-to-one static mapping of the original source addresses to the addresses in the source pool by specifying the first address from the matching source-address prefix that is in the source NAT rule.
    content_copy zoom_out_map
    [edit services nat source pool nat-pool-name]
    user@host# set host-address-base ip-address
    
  4. To allow the IP addresses of a NAT source pool to overlap with IP addresses in pools used in other service sets, configure allow-overlapping-pools.
    content_copy zoom_out_map
    [edit services nat]
    user@host# set allow-overlapping-pools
    

Configuring the NAT Rule for Inline Static Source NAT44

To configure the NAT source rule for inline static source NAT44:

  1. Configure the NAT rule name.
    content_copy zoom_out_map
     [edit services nat source]
    user@host# set rule-set rule-set-name rule rule-name
    
  2. Specify the traffic direction to which the NAT rule set applies.
    content_copy zoom_out_map
     [edit services nat source rule-set rule-set-name]
    user@host# set match-direction (in | out)
    
  3. Specify the addresses that are translated by the source NAT rule.

    To specify one address or prefix value:

    content_copy zoom_out_map
     [edit services nat source rule-set rule-set-name rule rule-name]
    user@host# set match source-address address
    

    To specify a range of addresses, configure an address book global address with the desired address range, and assign the global address to the NAT rule:

    content_copy zoom_out_map
     [edit services address-book global]
    user@host# set address address-name range-address lower-limit to upper-limit
     [edit services nat source rule-set rule-set-name rule rule-name]
    user@host# set match source-address-name address-name
    
  4. Specify the NAT pool that contains the addresses for translated traffic.
    content_copy zoom_out_map
     [edit services nat source rule-set rule-set-name rule rule-name]
    user@host# set then source-nat pool nat-pool-name
    
  5. Configure the generation of a syslog when traffic matches the NAT rule conditions.
    content_copy zoom_out_map
     [edit services nat source rule-set rule-set-name rule rule-name then]
    user@host# set syslog
    

Configuring the Service Set for Inline Static Source NAT44

To configure the service set for inline static source NAT44:

  1. Define the service set.
    content_copy zoom_out_map
     [edit services]
    user@host# edit service-set service-set-name
    
  2. Configure either an interface service set, which requires a single service interface, or a next-hop service set, which requires an inside and outside service interface.
    • To configure an interface service set:

      content_copy zoom_out_map
       [edit services service-set service-set-name]
      user@host# set interface-service service-interface si-slot-number/pic-number/0.logical-unit-number
      
    • To configure a next-hop service set:

      content_copy zoom_out_map
       [edit services service-set service-set-name]
       [edit services service-set service-set-name]
      user@host# set next-hop-service inside-service-interface vms-slot-number/pic-number/0.logical-unit-number outside-service-interface si-slot-number/pic-number/0.logical-unit-number
      
  3. Specify the NAT rule sets to be used with the service set.
    content_copy zoom_out_map
     [edit services service-set service-set-name]
    user@host# set nat-rule-sets rule-set-name
    

Configuring Inline Services and an Inline Services Interface

To enable inline services and an inline services interface:

  1. Enable inline services for the FPC and PIC slot, and define the amount of bandwidth to dedicate to inline services.
    content_copy zoom_out_map
    [edit chassis si-fpc slot-number pic number]
    user@host# set inline-services bandwidth (1g | 10g | 20g | 30g | 40g | 100g)
    
  2. Configure the inline services logical interface or interfaces.
    • If you are using an interface service set, configure one logical unit:

      content_copy zoom_out_map
      [edit interfaces si-slot-number/pic-number/0
      user@host# set unit logical-unit-number family family
      
    • If you are using a next-hop service set, configure two logical units and define the inside and outside interfaces:

      content_copy zoom_out_map
      [edit interfaces si-slot-number/pic-number/0
      user@host# set unit logical-unit-number family family
      user@host# set unit logical-unit-number service-domain inside
      user@host# set unit logical-unit-number family family
      user@host# set unit logical-unit-number service-domain outside
      
footer-navigation