Chapter 19 Virtual Domains : Virtual Domains in NAT/Route mode : Example NAT/Route VDOM configuration : Configuring the vdomA VDOM : Adding the vdomA default route
  
Adding the vdomA default route
You also need to define a default route to direct packets from the Company A internal network to ISP A. Every VDOM needs a default static route, as a minimum, to handle traffic addressed to external networks such as the Internet.
The administrative distance should be set slightly higher than other routes. Lower admin distances will get checked first, and this default route will only be used as a last resort.
To add a default route to the vdomA - web-based manager
1. For Virtual Domains, select vdomA
2. Goo to Router > Static > Static Routes.
3. Select Create New.
4. Enter the following information and select OK:
Destination IP/Mask
0.0.0.0/0.0.0.0
Device
port1
Gateway
172.20.201.7
Distance
20
To add a default route to the vdomA - CLI
config vdom
edit vdomA
config router static
edit 1
set device port1
set gateway 172.20.201.7
end