Iproute2: Difference between revisions

From DWIKI
Tony (talk | contribs)
Tony (talk | contribs)
Tag: wikieditor
 
(4 intermediate revisions by the same user not shown)
Line 5: Line 5:
*[https://unix.stackexchange.com/questions/345862/is-it-possible-to-have-multiple-default-gateways-for-outbound-connections Multiple default gateways]
*[https://unix.stackexchange.com/questions/345862/is-it-possible-to-have-multiple-default-gateways-for-outbound-connections Multiple default gateways]


=HOWTO=
==Show routes==
ip r
==Show links status==
ip -d link show
==Bring link up==
ip link set dev eth0 up
[[Category:Networking]]
[[Category:Networking]]
==vlans==
*[https://wiki.archlinux.org/title/VLAN VLAN]
===Create link===
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

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