Follow these steps:
- Configure the network cards' IP addresses. Log in to Service Gateway Virtual Appliance as admin, and execute the following clish command:
configure network primary ipv4.static eth0 <IP_CIDR> <Gateway> <DNS1>
configure network additional ipv4.static eth1 <IP_CIDR> <Gateway> <DNS1>
configure route ipv4.default primaryIn this article, you need to configure eth0 as the primary NIC, so you will use command “configure route ipv4.default primary”.
After configuration, the default gateway will be the primary gateway(eth0).The network card used for connecting to the Internet and default gateway must be primary. - To configure dual network card route (optional), select the suitable command based on your requirement:
- If you need to add one route to the routing table, use following clish command:
configure route primary/additional ipv4.add <dest_cidr>
- If you need to delete one route, use following clish command:
configure route primary/additional ipv4.delete <dest_cidr>
- If you need to add one route to the routing table, use following clish command:
- After configuration, you can check the Service Gateway network configurations using commands, “show network ip” and “show network route”.
In the configuration, you can set primary card (eth0) gateway as the default gateway and adding route on additional card (eth1) so that eth0 can connect to Trend Vision One with primary card(eth0) and connect to on-premise products with additional card (eth1).
For detailed clish command, you may refer to the Online Help Center article, Service Gateway 2.0 CLI Commands .