Creating or deleting a static IPv4 route
Kaspersky SD-WAN supports the use of static IPv4 routes for exchange of traffic packets between CPE devices and other routers without using routing protocols.
You can create a static route on an individual CPE device or on all devices that use the CPE template. Before creating a static IPv4 route, you must create a network interface. To create a static route, use the following instructions:
- Creating a static IPv4 route on an individual CPE device.
To create a static IPv4 route on an individual CPE device:
- In the menu, go to the SD-WAN section.
By default, the CPE subsection is displayed with a table of CPE devices.
- Click the CPE device.
The settings area is displayed in the lower part of the page. You can expand the settings area to fill the entire page by clicking the expand button
.
- Select the Static routes tab.
A list of static routes is displayed.
- Select the Override check box to ignore the applied CPE template and make the settings in the selected tab editable. This check box is cleared by default.
- Click the create static route button
.
- In the Interface drop-down list, select the previously created network interface for sending traffic packets to the destination host.
- In the Target field, enter the IP address of the destination host.
- In the IPv4 netmask field, enter the subnet mask of the destination host.
- In the Gateway field, enter the IP address of the gateway for routing traffic.
- In the Metric field, enter a metric for the route. The default setting is
0
. - In the MTU field, enter the MTU value for the route.
- In the Type drop-down list, select the type of the route:
- unicast for a standard route to the destination host. This is the default setting.
- local for a route that is added to the local routing table of the CPE device and is used for IP addresses of local destination hosts.
- broadcast for a route that is added to the local routing table of the CPE device and is used by devices of the OSI data link layer that support the use of broadcast addresses.
- multicast for a route that is used to distribute multicast traffic.
- unreachable for a route to an unreachable destination host. When packets are sent along this route, they are dropped with the
Host Unreachable
ICMP message. Local senders receive anEHOSTUNREACH
error. - prohibit for a route to an unreachable destination host. When packets are sent along this route, they are dropped with the
Communication Administratively Prohibited
ICMP message. Local senders receive anEACCES
error. - blackhole for a route to an unreachable destination host. When packets are sent along this route, they are dropped without sending any messages. Local users receive an
EINVAL
error. - anycast for a route to multiple destination hosts that have anycast addresses. Such addresses cannot be used as source addresses of traffic packets.
- In the upper part of the settings area, click Save to save the configuration of the CPE device.
- In the menu, go to the SD-WAN section.
- Creating a static IPv4 route on all devices that use the CPE template.
To create a static IPv4 route peer on all devices that use the CPE template:
- In the menu, go to the SD-WAN → CPE templates subsection.
A table of CPE templates is displayed.
- Click the CPE template.
The settings area is displayed in the lower part of the page. You can expand the settings area to fill the entire page by clicking the expand button
.
- Select the Static routes tab.
A list of static routes is displayed.
- Click the create static route button
.
- In the Interface drop-down list, select the previously created network interface for sending traffic packets to the destination host.
- In the Target field, enter the IP address of the destination host.
- In the IPv4 netmask field, enter the subnet mask of the destination host.
- In the Gateway field, enter the IP address of the gateway for routing traffic.
- In the Metric field, enter a metric for the route. The default setting is
0
. - In the MTU field, enter the MTU value for the route.
- In the Type drop-down list, select the type of the route:
- unicast for a standard route to the destination host. This is the default setting.
- local for a route that is added to the local routing table of the CPE device and is used for IP addresses of local destination hosts.
- broadcast for a route that is added to the local routing table of the CPE device and is used by devices of the OSI data link layer that support the use of broadcast addresses.
- multicast for a route that is used to distribute multicast traffic.
- unreachable for a route to an unreachable destination host. When packets are sent along this route, they are dropped with the
Host Unreachable
ICMP message. Local senders receive anEHOSTUNREACH
error. - prohibit for a route to an unreachable destination host. When packets are sent along this route, they are dropped with the
Communication Administratively Prohibited
ICMP message. Local senders receive anEACCES
error. - blackhole for a route to an unreachable destination host. When packets are sent along this route, they are dropped without sending any messages. Local users receive an
EINVAL
error. - anycast for a route to multiple destination hosts that have anycast addresses. Such addresses cannot be used as source addresses of traffic packets.
- In the upper part of the settings area, click Save to save the configuration of the CPE template.
- In the menu, go to the SD-WAN → CPE templates subsection.
If necessary, you can delete a static route on an individual CPE device or on all devices that use the CPE template. Deleted static routes cannot be restored. To delete a static route, use the following instructions:
- Deleting a static route on an individual CPE device.
To delete a static IPv4 route on an individual CPE device:
- In the menu, go to the SD-WAN section.
By default, the CPE subsection is displayed with a table of CPE devices.
- Click the CPE device.
The settings area is displayed in the lower part of the page. You can expand the settings area to fill the entire page by clicking the expand button
.
- Select the Static routes tab.
A list of static routes is displayed.
- Select the Override check box to ignore the applied CPE template and make the settings in the selected tab editable. This check box is cleared by default.
- Click the delete button
next to the static IPv4 route.
The static route is deleted and is no longer displayed in the table.
- In the upper part of the settings area, click Save to save the configuration of the CPE device.
- In the menu, go to the SD-WAN section.
- Deleting a static route on all devices that use the CPE template.
To delete a static IPv4 route peer on all devices that use the CPE template:
- In the menu, go to the SD-WAN → CPE templates subsection.
A table of CPE templates is displayed.
- Click the CPE template.
The settings area is displayed in the lower part of the page. You can expand the settings area to fill the entire page by clicking the expand button
.
- Select the Static routes tab.
A list of static routes is displayed.
- Click the delete button
next to the static IPv4 route.
The static route is deleted and is no longer displayed in the table.
- In the upper part of the settings area, click Save to save the configuration of the CPE template.
- In the menu, go to the SD-WAN → CPE templates subsection.