Kaspersky SD-WAN

Creating a network interface with a static IPv4 address

April 17, 2024

ID 258141

To create a network interface with a static IPv4 address:

  1. Create a network interface in one of the following ways:
    • If you want to create a network interface in a CPE template, go to the SD-WAN → CPE templates section, click the template and in the displayed settings area, select the Network settings tab.
    • If you want to create a network interface on a CPE device, go to the SD-WAN → CPE section, click the device and in the displayed settings area, select the Network settings tab.

    The table of network interfaces is displayed.

  2. Click + Network interface.
  3. This opens a window; in that window, in the Alias field, enter the name of the network interface for mapping the network interface to an OpenFlow port. You must specify this alias when creating an SD-WAN interface of the WAN type. Maximum length: 15 characters.
  4. If you want to add a network interface to a firewall zone, in the Zone drop-down list, select a previously created firewall zone.
  5. In the Interface name field, enter the name of the physical port or virtual interface of the operating system of the CPE device. Maximum length: 256 characters. For example, you can enter eth0, eth1, eth2, or tun0. To create a bridge from multiple interfaces, enter their names separated by spaces.

    If you want to assign an outer VLAN tag to a network interface, enter a period (.) after the physical port or virtual interface name of the operating system, and then enter the outer VLAN tag. For example, you can enter eth2.150.

  6. If you want to create a bridge from physical or virtual interfaces whose names are specified in the Interface name field:
    1. Select the Bridge check box. This check box is cleared by default.
    2. If you want to use STP on the bridge to prevent routing loops, select the STP check box. This check box is cleared by default.
    3. In the Age (sec.) field, enter the duration in seconds for which you want dynamic records to be stored in the MAC table of the bridge. If you want to use the bridge as a hub, enter 0 in this field. Range of values: 0 to 86,400.
  7. If you want to enable the NetFlow protocol on the network interface, select the NetFlow check box. This check box is cleared by default.
  8. In the Protocol drop-down list, select Static IPv4 address.
  9. If you do not want the network interface to be automatically enabled when the CPE device is enabled, clear the Enable automatically check box. This check box is selected by default.
  10. If you want an IP address, route, and default gateway automatically assigned to the network interface, select the Force IP, route, and gateway check box. This check box is cleared by default.
  11. In the IPv4 address and subnet mask input type drop-down list, select the method for assigning an IPv4 address to the network interface:
    • Manually to manually assign an IPv4 address. If you select this option, do the following:
      1. In the IPv4 address field, enter the IPv4 address of the network interface.
      2. In the IPv4 netmask field, enter the subnet mask of the network interface.
    • From IP pool to assign an IPv4 address from the specified range of IP addresses. If you select this value, in the IP Pool drop-down list, select a previously created range of IP addresses.
    • From subnet pool to assign an IPv4 address from the specified range of subnets. If you select this value, in the Subnet Pool drop-down list, select a previously created range of subnets.
  12. In the IPv4 gateway field, enter the IPv4 address of the default gateway.
  13. In the IPv4 broadcast field, enter the broadcast address of the network interface. If you do not specify a value for this setting, it is generated automatically.
  14. If necessary, specify a DNS server for the network interface:
    1. Under DNS servers, click + Add.
    2. In the field that is displayed, enter the IP address of the DNS server.

    The DNS server is specified and displayed in the DNS servers section. You can specify multiple DNS servers; to delete a server, click the delete icon next to it.

  15. In the Override MAC field, enter the MAC address of the network interface. The entered value replaces the actual MAC address of the network interface.
  16. In the Override MTU field, enter the MTU for the network interface. The entered value overrides the default MTU.
  17. If you are creating the first network interface to be mapped to the SD-WAN interface of the WAN type, in the Route metric field, enter 100. For each subsequent network interface that will be mapped to the SD-WAN interface of the WAN type, increment this value by 1. For example, for the second network interface, enter 101.
  18. Under DHCP server, in the Type drop-down list, select the operating mode of the DHCP server for the network interface:
    • Disabled (default)
    • Relay If you select this value, enter the IP address of the DHCP server in the DHCP server IP field.
    • Server
  19. If the Type drop-down list, you selectedServer, specify the DHCP server settings:
    1. In the First IP field, enter the offset from the base IP address of the network interface for deriving the lowest IP address that can be leased to clients. The default setting is 100. You can enter a value greater than 255 for large subnets.
    2. In the Limit field, enter the maximum number of IP addresses that can be leased to clients. Range of values: 1 to 250. The default setting is 150.
    3. In the Lease time field, enter the maximum time, in hours, for which an individual IP address can be leased to a client. Range of values: 1 to 250. The value is specified in the following format: <number of hours>h. For example, if you want the maximum lease time to be 5 hours, enter 5h. The default setting is 12h.
    4. If necessary, specify the DHCP option:
      1. Under DHCP options, click + Add.
      2. In the field that is displayed, enter the number of the DHCP option in accordance with the RFC 1533 standard. Maximum length: 250 characters.

      The DHCP option is specified and displayed under DHCP options. You can specify multiple DHCP options; to delete an option, click the delete icon next to it.

  20. Click Create.

    The network interface is created and displayed in the table.

  21. In the upper part of the settings area, click Save to save the settings of the CPE template or device.

Did you find this article helpful?
What can we do better?
Thank you for your feedback! You're helping us improve.
Thank you for your feedback! You're helping us improve.