dit document beschrijft hoe je interfaces aanmaakt en beheert op VyOS
show interfaces
Codes: S - State, L - Link, u - Up, D - Down, A - Admin Down
Interface IP Address S/L Description
--------- ---------- --- -----------
eth0 10.11.12.31/24 u/u lan
eth0.100 10.11.100.253/24 u/u wifi_smart
eth1 10.11.120.21/24 u/u wan
eth2 - u/D
eth3 - u/D
lo 127.0.0.1/8 u/u
::1/128
eth[0-x]: fysieke interfaces
ethx.xxx: VLAN interfaces (vif)
lo: loopback adapter
D: down: interface (administratief) uitgeschakeld
ip adres aan een interface toekennen
alle commando's worden uitgevoerd vanuit configure en bevestigd met commit
set interfaces ethernet ethx address <ip/netmask> set interfaces ethernet ethx description <omschrijving >
set interfaces ethernet eth0 address 10.11.12.30/24 set interfaces ethernet eth0 description LAN
set interfaces ethernet ethx address dhcp set interfaces ethernet ethx description <omschrijving>
set interfaces ethernet eth2 address dhcp set interfaces ethernet eth2 description WAN
delete interfaces ethernet ethx