This repository has been archived on 2024-04-29. You can view files and clone it, but cannot push or open issues or pull requests.
vyos-config/config-parts/interfaces.sh

19 lines
773 B
Bash
Raw Normal View History

2023-03-29 13:30:45 -05:00
#!/bin/vbash
set interfaces ethernet eth5 address 'dhcp'
set interfaces ethernet eth5 description 'WAN'
set interfaces ethernet eth5 hw-id '80:61:5f:04:88:5b'
2023-03-29 13:30:45 -05:00
set interfaces ethernet eth4 address '10.1.0.1/24'
set interfaces ethernet eth4 description 'LAN'
set interfaces ethernet eth4 hw-id '80:61:5f:04:88:5a'
set interfaces ethernet eth4 vif 10 address '10.1.1.1/24'
set interfaces ethernet eth4 vif 10 description 'SERVERS'
set interfaces ethernet eth4 vif 20 address '10.1.2.1/24'
set interfaces ethernet eth4 vif 20 description 'TRUSTED'
set interfaces ethernet eth4 vif 30 address '10.1.3.1/24'
set interfaces ethernet eth4 vif 30 description 'IOT'
set interfaces ethernet eth4 vif 40 address '10.1.4.1/24'
set interfaces ethernet eth4 vif 40 description 'VIDEO'
2023-03-29 13:30:45 -05:00