mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-31 04:53:01 +02:00
Update networking.md
Updating VLAN interface doc inline with current implementation Mathias has fixed the syntactic sugar when creating eth0.20 interfaces, thus the associated documentation example is updated accordingly.
This commit is contained in:
+7
-2
@@ -128,8 +128,13 @@ VLAN ID of the interface, compared to *all* the VLAN IDs if you run
|
||||
```
|
||||
admin@example:/> configure
|
||||
admin@example:/config/> edit interface eth0.20
|
||||
admin@example:/config/interface/eth0.20/> set vlan id 20
|
||||
admin@example:/config/interface/eth0.20/> set vlan lower-layer-if eth0
|
||||
admin@example:/config/interface/eth0.20/> show
|
||||
type vlan;
|
||||
vlan {
|
||||
tag-type c-vlan;
|
||||
id 20;
|
||||
lower-layer-if eth0;
|
||||
}
|
||||
admin@example:/config/interface/eth0.20/> leave
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user