vyos:interfaces
Table of Contents
VyOS: interfaces
context
dit document beschrijft hoe je interfaces aanmaakt en beheert op VyOS
overzicht
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
aanmaken
ip adres aan een interface toekennen
alle commando's worden uitgevoerd vanuit configure
en bevestigd met commit
statisch
set interfaces ethernet ethx address <ip/netmask> set interfaces ethernet ethx description <omschrijving >
voorbeeld
set interfaces ethernet eth0 address 10.11.12.30/24 set interfaces ethernet eth0 description LAN
dynamisch
set interfaces ethernet ethx address dhcp set interfaces ethernet ethx description <omschrijving>
voorbeeld
set interfaces ethernet eth2 address dhcp set interfaces ethernet eth2 description WAN
verwijderen
delete interfaces ethernet ethx
meer info
vyos/interfaces.txt · Last modified: 2022/03/16 23:39 by koen