Iproute2: Difference between revisions

From DWIKI
Tony (talk | contribs)
Tag: wikieditor
Tony (talk | contribs)
Tag: wikieditor
 
Line 19: Line 19:
==vlans==
==vlans==
*[https://wiki.archlinux.org/title/VLAN VLAN]
*[https://wiki.archlinux.org/title/VLAN VLAN]
===Create link===
ip link add link eth0 name eth0.100 type vlan id 100


=FAQ=
=FAQ=

Latest revision as of 09:54, 4 May 2026

Documentation

HOWTO

Show routes

ip r
ip -d link show


ip link set dev eth0 up


vlans

ip link add link eth0 name eth0.100 type vlan id 100

FAQ

Nexthop has invalid gateway

You can't route through a not directly connected gateway


Device for nexhop is not up

just that