diff options
| author | Christian Breunig <christian@breunig.cc> | 2026-10-31 11:53:23 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-10-31 10:53:23 +0000 |
| commit | f939f4eb05f55e7e4c81e1b5dc954c3fc06d2389 (patch) | |
| tree | 7d1a15c40755704a0d509cd8f6b2e19829e29541 /docs/configexamples | |
| parent | 08d127bc86e801ae6674ffe7f3b42ea778dedbcf (diff) | |
| download | vyos-documentation-f939f4eb05f55e7e4c81e1b5dc954c3fc06d2389.tar.gz vyos-documentation-f939f4eb05f55e7e4c81e1b5dc954c3fc06d2389.zip | |
T3871: bind interface names to hardware slots instead of hw-id (#2246)
* docs: T3871: describe how interface names are assigned
Names are no longer derived from the hw-id node. They are bound to the slot
the hardware occupies and recorded in a mapping file, so document what
decides a name, what happens when a card is replaced or added, and how to
rename an interface.
The troubleshooting page said to pin a MAC with hw-id when interfaces were
renamed after a VM migration or a clone. That node no longer exists and the
situation it describes no longer arises, so replace it with a pointer to the
new section and a note on where to look when an interface really is missing.
* docs: T3871: drop hw-id from the example output
The node is gone from the CLI, so example configuration dumps which still
show it no longer match what a reader sees on their own system. Remove it
from the shown output only; no prose changes. The comparison shown on the
testing page is rewritten rather than trimmed, as deleting the lines would
have left an edit level behind with nothing under it.
Diffstat (limited to 'docs/configexamples')
| -rw-r--r-- | docs/configexamples/inter-vrf-routing-vrf-lite.md | 1 | ||||
| -rw-r--r-- | docs/configexamples/zone-policy.md | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/docs/configexamples/inter-vrf-routing-vrf-lite.md b/docs/configexamples/inter-vrf-routing-vrf-lite.md index 2ac36904..31854b5d 100644 --- a/docs/configexamples/inter-vrf-routing-vrf-lite.md +++ b/docs/configexamples/inter-vrf-routing-vrf-lite.md @@ -670,7 +670,6 @@ set protocols static route6 ::/0 next-hop 2001:db8::1 ```none set interfaces dummy dum0 address '172.16.0.1/24' set interfaces dummy dum0 address '2001:db8:0:2::1/64' -set interfaces ethernet eth0 hw-id '50:00:00:03:00:00' set interfaces ethernet eth1 address '172.16.2.2/30' set interfaces ethernet eth1 address '2001:db8::3/127' set protocols static route 0.0.0.0/0 next-hop 172.16.2.1 diff --git a/docs/configexamples/zone-policy.md b/docs/configexamples/zone-policy.md index 2cd773a9..3f899927 100644 --- a/docs/configexamples/zone-policy.md +++ b/docs/configexamples/zone-policy.md @@ -54,7 +54,6 @@ It will look something like this: interfaces { ethernet eth0 { duplex auto - hw-id 00:53:ed:6e:2a:92 smp_affinity auto speed auto vif 10 { |
