Dummy interfaces

提供: VyOS jp
移動: 案内検索

Dummy interface — much like the loopback, except you can have as many as you want.

Dummy interfaces can be used as interfaces that always stay up (in the same fashion to loopbacks in IOS), or for testing purposes.

Configuration commands:

interfaces
    dummy <dum[0-999]>
        address <ipv4>
        address <ipv6>
        description <txt>
        disable
        ip
            <usual IP options>
        ipv6
            <usual IPv6 options>

Example:

set interfaces dummy dum0 address 192.0.2.10/32

set protocols bgp 64512 neighbor 203.0.113.1 update-source dum0