Iproute2: Difference between revisions
From DWIKI
routing and using iproute2 |
m →vlans Tag: wikieditor |
||
| (7 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
==Documentation== | ==Documentation== | ||
* | *http://lartc.org/ | ||
* | *[https://linuxhint.com/route-add-command-linux/ ip route add command] | ||
*http://linux-ip.net/html/routing-tables.html | |||
*[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]] | |||
==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
- http://lartc.org/
- ip route add command
- http://linux-ip.net/html/routing-tables.html
- Multiple default gateways
HOWTO
Show routes
ip r
Show links status
ip -d link show
Bring link up
ip link set dev eth0 up
vlans
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
