1. Packages
  2. Routeros Provider
  3. API Docs
  4. InterfaceEoip
routeros 1.83.1 published on Monday, Apr 28, 2025 by terraform-routeros

routeros.InterfaceEoip

Explore with Pulumi AI

routeros logo
routeros 1.83.1 published on Monday, Apr 28, 2025 by terraform-routeros

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as routeros from "@pulumi/routeros";
    
    const eoipTunnel1 = new routeros.InterfaceEoip("eoipTunnel1", {
        disabled: true,
        localAddress: "192.168.88.1",
        remoteAddress: "192.168.88.2",
    });
    
    import pulumi
    import pulumi_routeros as routeros
    
    eoip_tunnel1 = routeros.InterfaceEoip("eoipTunnel1",
        disabled=True,
        local_address="192.168.88.1",
        remote_address="192.168.88.2")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/routeros/routeros"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := routeros.NewInterfaceEoip(ctx, "eoipTunnel1", &routeros.InterfaceEoipArgs{
    			Disabled:      pulumi.Bool(true),
    			LocalAddress:  pulumi.String("192.168.88.1"),
    			RemoteAddress: pulumi.String("192.168.88.2"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Routeros = Pulumi.Routeros;
    
    return await Deployment.RunAsync(() => 
    {
        var eoipTunnel1 = new Routeros.InterfaceEoip("eoipTunnel1", new()
        {
            Disabled = true,
            LocalAddress = "192.168.88.1",
            RemoteAddress = "192.168.88.2",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.routeros.InterfaceEoip;
    import com.pulumi.routeros.InterfaceEoipArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var eoipTunnel1 = new InterfaceEoip("eoipTunnel1", InterfaceEoipArgs.builder()
                .disabled(true)
                .localAddress("192.168.88.1")
                .remoteAddress("192.168.88.2")
                .build());
    
        }
    }
    
    resources:
      eoipTunnel1:
        type: routeros:InterfaceEoip
        properties:
          disabled: true
          localAddress: 192.168.88.1
          remoteAddress: 192.168.88.2
    

    Create InterfaceEoip Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new InterfaceEoip(name: string, args?: InterfaceEoipArgs, opts?: CustomResourceOptions);
    @overload
    def InterfaceEoip(resource_name: str,
                      args: Optional[InterfaceEoipArgs] = None,
                      opts: Optional[ResourceOptions] = None)
    
    @overload
    def InterfaceEoip(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      ___id_: Optional[float] = None,
                      ___path_: Optional[str] = None,
                      allow_fast_path: Optional[bool] = None,
                      arp: Optional[str] = None,
                      arp_timeout: Optional[str] = None,
                      clamp_tcp_mss: Optional[bool] = None,
                      comment: Optional[str] = None,
                      disabled: Optional[bool] = None,
                      dont_fragment: Optional[str] = None,
                      dscp: Optional[str] = None,
                      interface_eoip_id: Optional[str] = None,
                      ipsec_secret: Optional[str] = None,
                      keepalive: Optional[str] = None,
                      local_address: Optional[str] = None,
                      loop_protect: Optional[str] = None,
                      loop_protect_disable_time: Optional[str] = None,
                      loop_protect_send_interval: Optional[str] = None,
                      mtu: Optional[str] = None,
                      name: Optional[str] = None,
                      remote_address: Optional[str] = None,
                      tunnel_id: Optional[float] = None)
    func NewInterfaceEoip(ctx *Context, name string, args *InterfaceEoipArgs, opts ...ResourceOption) (*InterfaceEoip, error)
    public InterfaceEoip(string name, InterfaceEoipArgs? args = null, CustomResourceOptions? opts = null)
    public InterfaceEoip(String name, InterfaceEoipArgs args)
    public InterfaceEoip(String name, InterfaceEoipArgs args, CustomResourceOptions options)
    
    type: routeros:InterfaceEoip
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args InterfaceEoipArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args InterfaceEoipArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args InterfaceEoipArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args InterfaceEoipArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args InterfaceEoipArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    InterfaceEoip Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The InterfaceEoip resource accepts the following input properties:

    AllowFastPath bool
    Whether to allow FastPath processing. Must be disabled if IPsec tunneling is used.
    Arp string
    Address Resolution Protocol mode: * disabled - the interface will not use ARP * enabled - the interface will use ARP * local-proxy-arp - the router performs proxy ARP on the interface and sends replies to the same interface * proxy-arp - the router performs proxy ARP on the interface and sends replies to other interfaces * reply-only - the interface will only reply to requests originated from matching IP address/MAC address combinations which are entered as static entries in the ARP table. No dynamic entries will be automatically stored in the ARP table. Therefore for communications to be successful, a valid static entry must already exist.
    ArpTimeout string
    ARP timeout is time how long ARP record is kept in ARP table after no packets are received from IP. Value auto equals to the value of arp-timeout in IP/Settings, default is 30s. Can use postfix ms, s, m, h, d for milliseconds, seconds, minutes, hours or days. If no postfix is set then seconds (s) is used.
    ClampTcpMss bool
    Controls whether to change MSS size for received TCP SYN packets. When enabled, a router will change the MSS size for received TCP SYN packets if the current MSS size exceeds the tunnel interface MTU (taking into account the TCP/IP overhead). The received encapsulated packet will still contain the original MSS, and only after decapsulation the MSS is changed.
    Comment string
    Disabled bool
    DontFragment string
    Dscp string
    Set dscp value in GRE header to a fixed value '0..63' or 'inherit' from dscp value taken from tunnelled traffic.
    InterfaceEoipId string
    IpsecSecret string
    When secret is specified, router adds dynamic IPsec peer to remote-address with pre-shared key and policy (by default phase2 uses sha1/aes128cbc).
    Keepalive string
    Tunnel keepalive parameter sets the time interval in which the tunnel running flag will remain even if the remote end of tunnel goes down. If configured time,retries fail, interface running flag is removed. Parameters are written in following format: KeepaliveInterval,KeepaliveRetries where KeepaliveInterval is time interval and KeepaliveRetries

    • number of retry attempts. KeepaliveInterval is integer 0..4294967295
    LocalAddress string
    Source address of the tunnel packets, local on the router.
    LoopProtect string
    LoopProtectDisableTime string
    LoopProtectSendInterval string
    Mtu string
    Layer3 Maximum transmission unit ('auto', 0 .. 65535)
    Name string
    RemoteAddress string
    IP address of the remote end of the tunnel.
    TunnelId double
    Unique tunnel identifier, which must match the other side of the tunnel.
    ___id_ double
    Resource ID type (.id / name). This is an internal service field, setting a value is not required.
    ___path_ string
    Resource path for CRUD operations. This is an internal service field, setting a value is not required.
    AllowFastPath bool
    Whether to allow FastPath processing. Must be disabled if IPsec tunneling is used.
    Arp string
    Address Resolution Protocol mode: * disabled - the interface will not use ARP * enabled - the interface will use ARP * local-proxy-arp - the router performs proxy ARP on the interface and sends replies to the same interface * proxy-arp - the router performs proxy ARP on the interface and sends replies to other interfaces * reply-only - the interface will only reply to requests originated from matching IP address/MAC address combinations which are entered as static entries in the ARP table. No dynamic entries will be automatically stored in the ARP table. Therefore for communications to be successful, a valid static entry must already exist.
    ArpTimeout string
    ARP timeout is time how long ARP record is kept in ARP table after no packets are received from IP. Value auto equals to the value of arp-timeout in IP/Settings, default is 30s. Can use postfix ms, s, m, h, d for milliseconds, seconds, minutes, hours or days. If no postfix is set then seconds (s) is used.
    ClampTcpMss bool
    Controls whether to change MSS size for received TCP SYN packets. When enabled, a router will change the MSS size for received TCP SYN packets if the current MSS size exceeds the tunnel interface MTU (taking into account the TCP/IP overhead). The received encapsulated packet will still contain the original MSS, and only after decapsulation the MSS is changed.
    Comment string
    Disabled bool
    DontFragment string
    Dscp string
    Set dscp value in GRE header to a fixed value '0..63' or 'inherit' from dscp value taken from tunnelled traffic.
    InterfaceEoipId string
    IpsecSecret string
    When secret is specified, router adds dynamic IPsec peer to remote-address with pre-shared key and policy (by default phase2 uses sha1/aes128cbc).
    Keepalive string
    Tunnel keepalive parameter sets the time interval in which the tunnel running flag will remain even if the remote end of tunnel goes down. If configured time,retries fail, interface running flag is removed. Parameters are written in following format: KeepaliveInterval,KeepaliveRetries where KeepaliveInterval is time interval and KeepaliveRetries

    • number of retry attempts. KeepaliveInterval is integer 0..4294967295
    LocalAddress string
    Source address of the tunnel packets, local on the router.
    LoopProtect string
    LoopProtectDisableTime string
    LoopProtectSendInterval string
    Mtu string
    Layer3 Maximum transmission unit ('auto', 0 .. 65535)
    Name string
    RemoteAddress string
    IP address of the remote end of the tunnel.
    TunnelId float64
    Unique tunnel identifier, which must match the other side of the tunnel.
    ___id_ float64
    Resource ID type (.id / name). This is an internal service field, setting a value is not required.
    ___path_ string
    Resource path for CRUD operations. This is an internal service field, setting a value is not required.
    ___id_ Double
    Resource ID type (.id / name). This is an internal service field, setting a value is not required.
    ___path_ String
    Resource path for CRUD operations. This is an internal service field, setting a value is not required.
    allowFastPath Boolean
    Whether to allow FastPath processing. Must be disabled if IPsec tunneling is used.
    arp String
    Address Resolution Protocol mode: * disabled - the interface will not use ARP * enabled - the interface will use ARP * local-proxy-arp - the router performs proxy ARP on the interface and sends replies to the same interface * proxy-arp - the router performs proxy ARP on the interface and sends replies to other interfaces * reply-only - the interface will only reply to requests originated from matching IP address/MAC address combinations which are entered as static entries in the ARP table. No dynamic entries will be automatically stored in the ARP table. Therefore for communications to be successful, a valid static entry must already exist.
    arpTimeout String
    ARP timeout is time how long ARP record is kept in ARP table after no packets are received from IP. Value auto equals to the value of arp-timeout in IP/Settings, default is 30s. Can use postfix ms, s, m, h, d for milliseconds, seconds, minutes, hours or days. If no postfix is set then seconds (s) is used.
    clampTcpMss Boolean
    Controls whether to change MSS size for received TCP SYN packets. When enabled, a router will change the MSS size for received TCP SYN packets if the current MSS size exceeds the tunnel interface MTU (taking into account the TCP/IP overhead). The received encapsulated packet will still contain the original MSS, and only after decapsulation the MSS is changed.
    comment String
    disabled Boolean
    dontFragment String
    dscp String
    Set dscp value in GRE header to a fixed value '0..63' or 'inherit' from dscp value taken from tunnelled traffic.
    interfaceEoipId String
    ipsecSecret String
    When secret is specified, router adds dynamic IPsec peer to remote-address with pre-shared key and policy (by default phase2 uses sha1/aes128cbc).
    keepalive String
    Tunnel keepalive parameter sets the time interval in which the tunnel running flag will remain even if the remote end of tunnel goes down. If configured time,retries fail, interface running flag is removed. Parameters are written in following format: KeepaliveInterval,KeepaliveRetries where KeepaliveInterval is time interval and KeepaliveRetries

    • number of retry attempts. KeepaliveInterval is integer 0..4294967295
    localAddress String
    Source address of the tunnel packets, local on the router.
    loopProtect String
    loopProtectDisableTime String
    loopProtectSendInterval String
    mtu String
    Layer3 Maximum transmission unit ('auto', 0 .. 65535)
    name String
    remoteAddress String
    IP address of the remote end of the tunnel.
    tunnelId Double
    Unique tunnel identifier, which must match the other side of the tunnel.
    ___id_ number
    Resource ID type (.id / name). This is an internal service field, setting a value is not required.
    ___path_ string
    Resource path for CRUD operations. This is an internal service field, setting a value is not required.
    allowFastPath boolean
    Whether to allow FastPath processing. Must be disabled if IPsec tunneling is used.
    arp string
    Address Resolution Protocol mode: * disabled - the interface will not use ARP * enabled - the interface will use ARP * local-proxy-arp - the router performs proxy ARP on the interface and sends replies to the same interface * proxy-arp - the router performs proxy ARP on the interface and sends replies to other interfaces * reply-only - the interface will only reply to requests originated from matching IP address/MAC address combinations which are entered as static entries in the ARP table. No dynamic entries will be automatically stored in the ARP table. Therefore for communications to be successful, a valid static entry must already exist.
    arpTimeout string
    ARP timeout is time how long ARP record is kept in ARP table after no packets are received from IP. Value auto equals to the value of arp-timeout in IP/Settings, default is 30s. Can use postfix ms, s, m, h, d for milliseconds, seconds, minutes, hours or days. If no postfix is set then seconds (s) is used.
    clampTcpMss boolean
    Controls whether to change MSS size for received TCP SYN packets. When enabled, a router will change the MSS size for received TCP SYN packets if the current MSS size exceeds the tunnel interface MTU (taking into account the TCP/IP overhead). The received encapsulated packet will still contain the original MSS, and only after decapsulation the MSS is changed.
    comment string
    disabled boolean
    dontFragment string
    dscp string
    Set dscp value in GRE header to a fixed value '0..63' or 'inherit' from dscp value taken from tunnelled traffic.
    interfaceEoipId string
    ipsecSecret string
    When secret is specified, router adds dynamic IPsec peer to remote-address with pre-shared key and policy (by default phase2 uses sha1/aes128cbc).
    keepalive string
    Tunnel keepalive parameter sets the time interval in which the tunnel running flag will remain even if the remote end of tunnel goes down. If configured time,retries fail, interface running flag is removed. Parameters are written in following format: KeepaliveInterval,KeepaliveRetries where KeepaliveInterval is time interval and KeepaliveRetries

    • number of retry attempts. KeepaliveInterval is integer 0..4294967295
    localAddress string
    Source address of the tunnel packets, local on the router.
    loopProtect string
    loopProtectDisableTime string
    loopProtectSendInterval string
    mtu string
    Layer3 Maximum transmission unit ('auto', 0 .. 65535)
    name string
    remoteAddress string
    IP address of the remote end of the tunnel.
    tunnelId number
    Unique tunnel identifier, which must match the other side of the tunnel.
    ___id_ float
    Resource ID type (.id / name). This is an internal service field, setting a value is not required.
    ___path_ str
    Resource path for CRUD operations. This is an internal service field, setting a value is not required.
    allow_fast_path bool
    Whether to allow FastPath processing. Must be disabled if IPsec tunneling is used.
    arp str
    Address Resolution Protocol mode: * disabled - the interface will not use ARP * enabled - the interface will use ARP * local-proxy-arp - the router performs proxy ARP on the interface and sends replies to the same interface * proxy-arp - the router performs proxy ARP on the interface and sends replies to other interfaces * reply-only - the interface will only reply to requests originated from matching IP address/MAC address combinations which are entered as static entries in the ARP table. No dynamic entries will be automatically stored in the ARP table. Therefore for communications to be successful, a valid static entry must already exist.
    arp_timeout str
    ARP timeout is time how long ARP record is kept in ARP table after no packets are received from IP. Value auto equals to the value of arp-timeout in IP/Settings, default is 30s. Can use postfix ms, s, m, h, d for milliseconds, seconds, minutes, hours or days. If no postfix is set then seconds (s) is used.
    clamp_tcp_mss bool
    Controls whether to change MSS size for received TCP SYN packets. When enabled, a router will change the MSS size for received TCP SYN packets if the current MSS size exceeds the tunnel interface MTU (taking into account the TCP/IP overhead). The received encapsulated packet will still contain the original MSS, and only after decapsulation the MSS is changed.
    comment str
    disabled bool
    dont_fragment str
    dscp str
    Set dscp value in GRE header to a fixed value '0..63' or 'inherit' from dscp value taken from tunnelled traffic.
    interface_eoip_id str
    ipsec_secret str
    When secret is specified, router adds dynamic IPsec peer to remote-address with pre-shared key and policy (by default phase2 uses sha1/aes128cbc).
    keepalive str
    Tunnel keepalive parameter sets the time interval in which the tunnel running flag will remain even if the remote end of tunnel goes down. If configured time,retries fail, interface running flag is removed. Parameters are written in following format: KeepaliveInterval,KeepaliveRetries where KeepaliveInterval is time interval and KeepaliveRetries

    • number of retry attempts. KeepaliveInterval is integer 0..4294967295
    local_address str
    Source address of the tunnel packets, local on the router.
    loop_protect str
    loop_protect_disable_time str
    loop_protect_send_interval str
    mtu str
    Layer3 Maximum transmission unit ('auto', 0 .. 65535)
    name str
    remote_address str
    IP address of the remote end of the tunnel.
    tunnel_id float
    Unique tunnel identifier, which must match the other side of the tunnel.
    ___id_ Number
    Resource ID type (.id / name). This is an internal service field, setting a value is not required.
    ___path_ String
    Resource path for CRUD operations. This is an internal service field, setting a value is not required.
    allowFastPath Boolean
    Whether to allow FastPath processing. Must be disabled if IPsec tunneling is used.
    arp String
    Address Resolution Protocol mode: * disabled - the interface will not use ARP * enabled - the interface will use ARP * local-proxy-arp - the router performs proxy ARP on the interface and sends replies to the same interface * proxy-arp - the router performs proxy ARP on the interface and sends replies to other interfaces * reply-only - the interface will only reply to requests originated from matching IP address/MAC address combinations which are entered as static entries in the ARP table. No dynamic entries will be automatically stored in the ARP table. Therefore for communications to be successful, a valid static entry must already exist.
    arpTimeout String
    ARP timeout is time how long ARP record is kept in ARP table after no packets are received from IP. Value auto equals to the value of arp-timeout in IP/Settings, default is 30s. Can use postfix ms, s, m, h, d for milliseconds, seconds, minutes, hours or days. If no postfix is set then seconds (s) is used.
    clampTcpMss Boolean
    Controls whether to change MSS size for received TCP SYN packets. When enabled, a router will change the MSS size for received TCP SYN packets if the current MSS size exceeds the tunnel interface MTU (taking into account the TCP/IP overhead). The received encapsulated packet will still contain the original MSS, and only after decapsulation the MSS is changed.
    comment String
    disabled Boolean
    dontFragment String
    dscp String
    Set dscp value in GRE header to a fixed value '0..63' or 'inherit' from dscp value taken from tunnelled traffic.
    interfaceEoipId String
    ipsecSecret String
    When secret is specified, router adds dynamic IPsec peer to remote-address with pre-shared key and policy (by default phase2 uses sha1/aes128cbc).
    keepalive String
    Tunnel keepalive parameter sets the time interval in which the tunnel running flag will remain even if the remote end of tunnel goes down. If configured time,retries fail, interface running flag is removed. Parameters are written in following format: KeepaliveInterval,KeepaliveRetries where KeepaliveInterval is time interval and KeepaliveRetries

    • number of retry attempts. KeepaliveInterval is integer 0..4294967295
    localAddress String
    Source address of the tunnel packets, local on the router.
    loopProtect String
    loopProtectDisableTime String
    loopProtectSendInterval String
    mtu String
    Layer3 Maximum transmission unit ('auto', 0 .. 65535)
    name String
    remoteAddress String
    IP address of the remote end of the tunnel.
    tunnelId Number
    Unique tunnel identifier, which must match the other side of the tunnel.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the InterfaceEoip resource produces the following output properties:

    ActualMtu double
    Id string
    The provider-assigned unique ID for this managed resource.
    L2mtu double
    Layer2 Maximum transmission unit. See.
    LoopProtectStatus string
    MacAddress string
    Current mac address.
    Running bool
    ActualMtu float64
    Id string
    The provider-assigned unique ID for this managed resource.
    L2mtu float64
    Layer2 Maximum transmission unit. See.
    LoopProtectStatus string
    MacAddress string
    Current mac address.
    Running bool
    actualMtu Double
    id String
    The provider-assigned unique ID for this managed resource.
    l2mtu Double
    Layer2 Maximum transmission unit. See.
    loopProtectStatus String
    macAddress String
    Current mac address.
    running Boolean
    actualMtu number
    id string
    The provider-assigned unique ID for this managed resource.
    l2mtu number
    Layer2 Maximum transmission unit. See.
    loopProtectStatus string
    macAddress string
    Current mac address.
    running boolean
    actual_mtu float
    id str
    The provider-assigned unique ID for this managed resource.
    l2mtu float
    Layer2 Maximum transmission unit. See.
    loop_protect_status str
    mac_address str
    Current mac address.
    running bool
    actualMtu Number
    id String
    The provider-assigned unique ID for this managed resource.
    l2mtu Number
    Layer2 Maximum transmission unit. See.
    loopProtectStatus String
    macAddress String
    Current mac address.
    running Boolean

    Look up Existing InterfaceEoip Resource

    Get an existing InterfaceEoip resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: InterfaceEoipState, opts?: CustomResourceOptions): InterfaceEoip
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            ___id_: Optional[float] = None,
            ___path_: Optional[str] = None,
            actual_mtu: Optional[float] = None,
            allow_fast_path: Optional[bool] = None,
            arp: Optional[str] = None,
            arp_timeout: Optional[str] = None,
            clamp_tcp_mss: Optional[bool] = None,
            comment: Optional[str] = None,
            disabled: Optional[bool] = None,
            dont_fragment: Optional[str] = None,
            dscp: Optional[str] = None,
            interface_eoip_id: Optional[str] = None,
            ipsec_secret: Optional[str] = None,
            keepalive: Optional[str] = None,
            l2mtu: Optional[float] = None,
            local_address: Optional[str] = None,
            loop_protect: Optional[str] = None,
            loop_protect_disable_time: Optional[str] = None,
            loop_protect_send_interval: Optional[str] = None,
            loop_protect_status: Optional[str] = None,
            mac_address: Optional[str] = None,
            mtu: Optional[str] = None,
            name: Optional[str] = None,
            remote_address: Optional[str] = None,
            running: Optional[bool] = None,
            tunnel_id: Optional[float] = None) -> InterfaceEoip
    func GetInterfaceEoip(ctx *Context, name string, id IDInput, state *InterfaceEoipState, opts ...ResourceOption) (*InterfaceEoip, error)
    public static InterfaceEoip Get(string name, Input<string> id, InterfaceEoipState? state, CustomResourceOptions? opts = null)
    public static InterfaceEoip get(String name, Output<String> id, InterfaceEoipState state, CustomResourceOptions options)
    resources:  _:    type: routeros:InterfaceEoip    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    ActualMtu double
    AllowFastPath bool
    Whether to allow FastPath processing. Must be disabled if IPsec tunneling is used.
    Arp string
    Address Resolution Protocol mode: * disabled - the interface will not use ARP * enabled - the interface will use ARP * local-proxy-arp - the router performs proxy ARP on the interface and sends replies to the same interface * proxy-arp - the router performs proxy ARP on the interface and sends replies to other interfaces * reply-only - the interface will only reply to requests originated from matching IP address/MAC address combinations which are entered as static entries in the ARP table. No dynamic entries will be automatically stored in the ARP table. Therefore for communications to be successful, a valid static entry must already exist.
    ArpTimeout string
    ARP timeout is time how long ARP record is kept in ARP table after no packets are received from IP. Value auto equals to the value of arp-timeout in IP/Settings, default is 30s. Can use postfix ms, s, m, h, d for milliseconds, seconds, minutes, hours or days. If no postfix is set then seconds (s) is used.
    ClampTcpMss bool
    Controls whether to change MSS size for received TCP SYN packets. When enabled, a router will change the MSS size for received TCP SYN packets if the current MSS size exceeds the tunnel interface MTU (taking into account the TCP/IP overhead). The received encapsulated packet will still contain the original MSS, and only after decapsulation the MSS is changed.
    Comment string
    Disabled bool
    DontFragment string
    Dscp string
    Set dscp value in GRE header to a fixed value '0..63' or 'inherit' from dscp value taken from tunnelled traffic.
    InterfaceEoipId string
    IpsecSecret string
    When secret is specified, router adds dynamic IPsec peer to remote-address with pre-shared key and policy (by default phase2 uses sha1/aes128cbc).
    Keepalive string
    Tunnel keepalive parameter sets the time interval in which the tunnel running flag will remain even if the remote end of tunnel goes down. If configured time,retries fail, interface running flag is removed. Parameters are written in following format: KeepaliveInterval,KeepaliveRetries where KeepaliveInterval is time interval and KeepaliveRetries

    • number of retry attempts. KeepaliveInterval is integer 0..4294967295
    L2mtu double
    Layer2 Maximum transmission unit. See.
    LocalAddress string
    Source address of the tunnel packets, local on the router.
    LoopProtect string
    LoopProtectDisableTime string
    LoopProtectSendInterval string
    LoopProtectStatus string
    MacAddress string
    Current mac address.
    Mtu string
    Layer3 Maximum transmission unit ('auto', 0 .. 65535)
    Name string
    RemoteAddress string
    IP address of the remote end of the tunnel.
    Running bool
    TunnelId double
    Unique tunnel identifier, which must match the other side of the tunnel.
    ___id_ double
    Resource ID type (.id / name). This is an internal service field, setting a value is not required.
    ___path_ string
    Resource path for CRUD operations. This is an internal service field, setting a value is not required.
    ActualMtu float64
    AllowFastPath bool
    Whether to allow FastPath processing. Must be disabled if IPsec tunneling is used.
    Arp string
    Address Resolution Protocol mode: * disabled - the interface will not use ARP * enabled - the interface will use ARP * local-proxy-arp - the router performs proxy ARP on the interface and sends replies to the same interface * proxy-arp - the router performs proxy ARP on the interface and sends replies to other interfaces * reply-only - the interface will only reply to requests originated from matching IP address/MAC address combinations which are entered as static entries in the ARP table. No dynamic entries will be automatically stored in the ARP table. Therefore for communications to be successful, a valid static entry must already exist.
    ArpTimeout string
    ARP timeout is time how long ARP record is kept in ARP table after no packets are received from IP. Value auto equals to the value of arp-timeout in IP/Settings, default is 30s. Can use postfix ms, s, m, h, d for milliseconds, seconds, minutes, hours or days. If no postfix is set then seconds (s) is used.
    ClampTcpMss bool
    Controls whether to change MSS size for received TCP SYN packets. When enabled, a router will change the MSS size for received TCP SYN packets if the current MSS size exceeds the tunnel interface MTU (taking into account the TCP/IP overhead). The received encapsulated packet will still contain the original MSS, and only after decapsulation the MSS is changed.
    Comment string
    Disabled bool
    DontFragment string
    Dscp string
    Set dscp value in GRE header to a fixed value '0..63' or 'inherit' from dscp value taken from tunnelled traffic.
    InterfaceEoipId string
    IpsecSecret string
    When secret is specified, router adds dynamic IPsec peer to remote-address with pre-shared key and policy (by default phase2 uses sha1/aes128cbc).
    Keepalive string
    Tunnel keepalive parameter sets the time interval in which the tunnel running flag will remain even if the remote end of tunnel goes down. If configured time,retries fail, interface running flag is removed. Parameters are written in following format: KeepaliveInterval,KeepaliveRetries where KeepaliveInterval is time interval and KeepaliveRetries

    • number of retry attempts. KeepaliveInterval is integer 0..4294967295
    L2mtu float64
    Layer2 Maximum transmission unit. See.
    LocalAddress string
    Source address of the tunnel packets, local on the router.
    LoopProtect string
    LoopProtectDisableTime string
    LoopProtectSendInterval string
    LoopProtectStatus string
    MacAddress string
    Current mac address.
    Mtu string
    Layer3 Maximum transmission unit ('auto', 0 .. 65535)
    Name string
    RemoteAddress string
    IP address of the remote end of the tunnel.
    Running bool
    TunnelId float64
    Unique tunnel identifier, which must match the other side of the tunnel.
    ___id_ float64
    Resource ID type (.id / name). This is an internal service field, setting a value is not required.
    ___path_ string
    Resource path for CRUD operations. This is an internal service field, setting a value is not required.
    ___id_ Double
    Resource ID type (.id / name). This is an internal service field, setting a value is not required.
    ___path_ String
    Resource path for CRUD operations. This is an internal service field, setting a value is not required.
    actualMtu Double
    allowFastPath Boolean
    Whether to allow FastPath processing. Must be disabled if IPsec tunneling is used.
    arp String
    Address Resolution Protocol mode: * disabled - the interface will not use ARP * enabled - the interface will use ARP * local-proxy-arp - the router performs proxy ARP on the interface and sends replies to the same interface * proxy-arp - the router performs proxy ARP on the interface and sends replies to other interfaces * reply-only - the interface will only reply to requests originated from matching IP address/MAC address combinations which are entered as static entries in the ARP table. No dynamic entries will be automatically stored in the ARP table. Therefore for communications to be successful, a valid static entry must already exist.
    arpTimeout String
    ARP timeout is time how long ARP record is kept in ARP table after no packets are received from IP. Value auto equals to the value of arp-timeout in IP/Settings, default is 30s. Can use postfix ms, s, m, h, d for milliseconds, seconds, minutes, hours or days. If no postfix is set then seconds (s) is used.
    clampTcpMss Boolean
    Controls whether to change MSS size for received TCP SYN packets. When enabled, a router will change the MSS size for received TCP SYN packets if the current MSS size exceeds the tunnel interface MTU (taking into account the TCP/IP overhead). The received encapsulated packet will still contain the original MSS, and only after decapsulation the MSS is changed.
    comment String
    disabled Boolean
    dontFragment String
    dscp String
    Set dscp value in GRE header to a fixed value '0..63' or 'inherit' from dscp value taken from tunnelled traffic.
    interfaceEoipId String
    ipsecSecret String
    When secret is specified, router adds dynamic IPsec peer to remote-address with pre-shared key and policy (by default phase2 uses sha1/aes128cbc).
    keepalive String
    Tunnel keepalive parameter sets the time interval in which the tunnel running flag will remain even if the remote end of tunnel goes down. If configured time,retries fail, interface running flag is removed. Parameters are written in following format: KeepaliveInterval,KeepaliveRetries where KeepaliveInterval is time interval and KeepaliveRetries

    • number of retry attempts. KeepaliveInterval is integer 0..4294967295
    l2mtu Double
    Layer2 Maximum transmission unit. See.
    localAddress String
    Source address of the tunnel packets, local on the router.
    loopProtect String
    loopProtectDisableTime String
    loopProtectSendInterval String
    loopProtectStatus String
    macAddress String
    Current mac address.
    mtu String
    Layer3 Maximum transmission unit ('auto', 0 .. 65535)
    name String
    remoteAddress String
    IP address of the remote end of the tunnel.
    running Boolean
    tunnelId Double
    Unique tunnel identifier, which must match the other side of the tunnel.
    ___id_ number
    Resource ID type (.id / name). This is an internal service field, setting a value is not required.
    ___path_ string
    Resource path for CRUD operations. This is an internal service field, setting a value is not required.
    actualMtu number
    allowFastPath boolean
    Whether to allow FastPath processing. Must be disabled if IPsec tunneling is used.
    arp string
    Address Resolution Protocol mode: * disabled - the interface will not use ARP * enabled - the interface will use ARP * local-proxy-arp - the router performs proxy ARP on the interface and sends replies to the same interface * proxy-arp - the router performs proxy ARP on the interface and sends replies to other interfaces * reply-only - the interface will only reply to requests originated from matching IP address/MAC address combinations which are entered as static entries in the ARP table. No dynamic entries will be automatically stored in the ARP table. Therefore for communications to be successful, a valid static entry must already exist.
    arpTimeout string
    ARP timeout is time how long ARP record is kept in ARP table after no packets are received from IP. Value auto equals to the value of arp-timeout in IP/Settings, default is 30s. Can use postfix ms, s, m, h, d for milliseconds, seconds, minutes, hours or days. If no postfix is set then seconds (s) is used.
    clampTcpMss boolean
    Controls whether to change MSS size for received TCP SYN packets. When enabled, a router will change the MSS size for received TCP SYN packets if the current MSS size exceeds the tunnel interface MTU (taking into account the TCP/IP overhead). The received encapsulated packet will still contain the original MSS, and only after decapsulation the MSS is changed.
    comment string
    disabled boolean
    dontFragment string
    dscp string
    Set dscp value in GRE header to a fixed value '0..63' or 'inherit' from dscp value taken from tunnelled traffic.
    interfaceEoipId string
    ipsecSecret string
    When secret is specified, router adds dynamic IPsec peer to remote-address with pre-shared key and policy (by default phase2 uses sha1/aes128cbc).
    keepalive string
    Tunnel keepalive parameter sets the time interval in which the tunnel running flag will remain even if the remote end of tunnel goes down. If configured time,retries fail, interface running flag is removed. Parameters are written in following format: KeepaliveInterval,KeepaliveRetries where KeepaliveInterval is time interval and KeepaliveRetries

    • number of retry attempts. KeepaliveInterval is integer 0..4294967295
    l2mtu number
    Layer2 Maximum transmission unit. See.
    localAddress string
    Source address of the tunnel packets, local on the router.
    loopProtect string
    loopProtectDisableTime string
    loopProtectSendInterval string
    loopProtectStatus string
    macAddress string
    Current mac address.
    mtu string
    Layer3 Maximum transmission unit ('auto', 0 .. 65535)
    name string
    remoteAddress string
    IP address of the remote end of the tunnel.
    running boolean
    tunnelId number
    Unique tunnel identifier, which must match the other side of the tunnel.
    ___id_ float
    Resource ID type (.id / name). This is an internal service field, setting a value is not required.
    ___path_ str
    Resource path for CRUD operations. This is an internal service field, setting a value is not required.
    actual_mtu float
    allow_fast_path bool
    Whether to allow FastPath processing. Must be disabled if IPsec tunneling is used.
    arp str
    Address Resolution Protocol mode: * disabled - the interface will not use ARP * enabled - the interface will use ARP * local-proxy-arp - the router performs proxy ARP on the interface and sends replies to the same interface * proxy-arp - the router performs proxy ARP on the interface and sends replies to other interfaces * reply-only - the interface will only reply to requests originated from matching IP address/MAC address combinations which are entered as static entries in the ARP table. No dynamic entries will be automatically stored in the ARP table. Therefore for communications to be successful, a valid static entry must already exist.
    arp_timeout str
    ARP timeout is time how long ARP record is kept in ARP table after no packets are received from IP. Value auto equals to the value of arp-timeout in IP/Settings, default is 30s. Can use postfix ms, s, m, h, d for milliseconds, seconds, minutes, hours or days. If no postfix is set then seconds (s) is used.
    clamp_tcp_mss bool
    Controls whether to change MSS size for received TCP SYN packets. When enabled, a router will change the MSS size for received TCP SYN packets if the current MSS size exceeds the tunnel interface MTU (taking into account the TCP/IP overhead). The received encapsulated packet will still contain the original MSS, and only after decapsulation the MSS is changed.
    comment str
    disabled bool
    dont_fragment str
    dscp str
    Set dscp value in GRE header to a fixed value '0..63' or 'inherit' from dscp value taken from tunnelled traffic.
    interface_eoip_id str
    ipsec_secret str
    When secret is specified, router adds dynamic IPsec peer to remote-address with pre-shared key and policy (by default phase2 uses sha1/aes128cbc).
    keepalive str
    Tunnel keepalive parameter sets the time interval in which the tunnel running flag will remain even if the remote end of tunnel goes down. If configured time,retries fail, interface running flag is removed. Parameters are written in following format: KeepaliveInterval,KeepaliveRetries where KeepaliveInterval is time interval and KeepaliveRetries

    • number of retry attempts. KeepaliveInterval is integer 0..4294967295
    l2mtu float
    Layer2 Maximum transmission unit. See.
    local_address str
    Source address of the tunnel packets, local on the router.
    loop_protect str
    loop_protect_disable_time str
    loop_protect_send_interval str
    loop_protect_status str
    mac_address str
    Current mac address.
    mtu str
    Layer3 Maximum transmission unit ('auto', 0 .. 65535)
    name str
    remote_address str
    IP address of the remote end of the tunnel.
    running bool
    tunnel_id float
    Unique tunnel identifier, which must match the other side of the tunnel.
    ___id_ Number
    Resource ID type (.id / name). This is an internal service field, setting a value is not required.
    ___path_ String
    Resource path for CRUD operations. This is an internal service field, setting a value is not required.
    actualMtu Number
    allowFastPath Boolean
    Whether to allow FastPath processing. Must be disabled if IPsec tunneling is used.
    arp String
    Address Resolution Protocol mode: * disabled - the interface will not use ARP * enabled - the interface will use ARP * local-proxy-arp - the router performs proxy ARP on the interface and sends replies to the same interface * proxy-arp - the router performs proxy ARP on the interface and sends replies to other interfaces * reply-only - the interface will only reply to requests originated from matching IP address/MAC address combinations which are entered as static entries in the ARP table. No dynamic entries will be automatically stored in the ARP table. Therefore for communications to be successful, a valid static entry must already exist.
    arpTimeout String
    ARP timeout is time how long ARP record is kept in ARP table after no packets are received from IP. Value auto equals to the value of arp-timeout in IP/Settings, default is 30s. Can use postfix ms, s, m, h, d for milliseconds, seconds, minutes, hours or days. If no postfix is set then seconds (s) is used.
    clampTcpMss Boolean
    Controls whether to change MSS size for received TCP SYN packets. When enabled, a router will change the MSS size for received TCP SYN packets if the current MSS size exceeds the tunnel interface MTU (taking into account the TCP/IP overhead). The received encapsulated packet will still contain the original MSS, and only after decapsulation the MSS is changed.
    comment String
    disabled Boolean
    dontFragment String
    dscp String
    Set dscp value in GRE header to a fixed value '0..63' or 'inherit' from dscp value taken from tunnelled traffic.
    interfaceEoipId String
    ipsecSecret String
    When secret is specified, router adds dynamic IPsec peer to remote-address with pre-shared key and policy (by default phase2 uses sha1/aes128cbc).
    keepalive String
    Tunnel keepalive parameter sets the time interval in which the tunnel running flag will remain even if the remote end of tunnel goes down. If configured time,retries fail, interface running flag is removed. Parameters are written in following format: KeepaliveInterval,KeepaliveRetries where KeepaliveInterval is time interval and KeepaliveRetries

    • number of retry attempts. KeepaliveInterval is integer 0..4294967295
    l2mtu Number
    Layer2 Maximum transmission unit. See.
    localAddress String
    Source address of the tunnel packets, local on the router.
    loopProtect String
    loopProtectDisableTime String
    loopProtectSendInterval String
    loopProtectStatus String
    macAddress String
    Current mac address.
    mtu String
    Layer3 Maximum transmission unit ('auto', 0 .. 65535)
    name String
    remoteAddress String
    IP address of the remote end of the tunnel.
    running Boolean
    tunnelId Number
    Unique tunnel identifier, which must match the other side of the tunnel.

    Import

    #The ID can be found via API or the terminal

    #The command for the terminal is -> :put [/interface/eoip get [print show-ids]]

    $ pulumi import routeros:index/interfaceEoip:InterfaceEoip eoip_tunnel1 *B
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    routeros terraform-routeros/terraform-provider-routeros
    License
    Notes
    This Pulumi package is based on the routeros Terraform Provider.
    routeros logo
    routeros 1.83.1 published on Monday, Apr 28, 2025 by terraform-routeros