User talk:HRio

From Alpine Linux
Revision as of 10:01, 6 November 2020 by HRio (talk | contribs) (vrf-mgmt not UP)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Seems that vrf-mgmt is not end up in state UP. Needed to do like follows

auto vrf-mgmt
iface vrf-mgmt inet manual
    pre-up ip link add $IFACE type vrf table 42
    up ip link set dev $IFACE up
auto eth0
iface eth0 inet static
    address 1.2.3.4
    netmask 255.255.255.0
    gateway 1.2.3.1
    pre-up ip link set $IFACE master vrf-mgmt