Talk:VRF: Difference between revisions

From Alpine Linux
(vrf-mgmt not UP)
 
m (Unsigned comment attribution.)
 
Line 16: Line 16:
     pre-up ip link set $IFACE master vrf-mgmt
     pre-up ip link set $IFACE master vrf-mgmt
</pre>
</pre>
<small><span class="autosigned">—&nbsp;Preceding [[Help:Signature|unsigned]] comment added by [[User:HRio|HRio]] ([[User talk:HRio|{{int:talkpagelinktext}}]] • [[Special:Contributions/HRio|{{int:contribslink}}]]) 05:02, 6 November 2020‎</span></small>

Latest revision as of 03:38, 14 August 2023

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

— Preceding unsigned comment added by HRio (talkcontribs) 05:02, 6 November 2020‎