Getting started
list_alt
192.168.1.0/24
to proceed to the Internet through interface dp0p1p1
and that will translate any internal addresses to the IP address of interface dp0p1p1
. (Translation of this type is called masquerade translation.)user@system# set service nat source rule 10 source address 192.168.1.0/24
user@system# set service nat source rule 10 outbound-interface dp0p1p1
In this example, we create a rule that we identify with the arbitrary number 10
. This rule will apply to traffic that arrives from the source subnet 192.168.1.0/24
, destined for the interface dp0p1p1
.
user@system# set service nat source rule 10 translation address masquerade
192.168.1.0
is a non-routeable address, so we need to set up some form of mapping to provide a routeable source address (for returning packets). In this case, we use masquerade translation.
user@system# commit
show nat source
command to view the configuration.user@system# show nat source
rule 10 {
outbound-interface dp0p1p1
source {
address 192.168.1.0/24
}
translation {
address masquerade
}
}
[edit]
user@system#
Get Started An introduction to the Ciena Vyatta NOS
The Vyatta NOS Overview Get to know more about how Vyatta NOS is the best solution
Vyatta NOS Architecture Overview An overview of the Vyatta NOS system architecture
Troubleshooting Guide Identify common issues with your configuration and network setup
Copyright © 2023 Ciena Corporation. All rights reserved