Difference between revisions of "Netplan examples"
Jump to navigation
Jump to search
Line 14: | Line 14: | ||
loopback_interface.yaml | loopback_interface.yaml | ||
modem.yaml | modem.yaml | ||
− | network_manager.yaml | + | [[network_manager]].yaml |
openvswitch.yaml | openvswitch.yaml | ||
route_metric.yaml | route_metric.yaml |
Revision as of 06:58, 10 March 2021
Netplan examples, https://netplan.io/examples
/usr/share/doc/netplan/examples/
bonding.yaml bonding_router.yaml bridge.yaml bridge_vlan.yaml dhcp.yaml dhcp_wired8021x.yaml direct_connect_gateway.yaml direct_connect_gateway_ipv6.yaml ipv6_tunnel.yaml loopback_interface.yaml modem.yaml network_manager.yaml openvswitch.yaml route_metric.yaml source_routing.yaml sriov.yaml sriov_vlan.yaml static.yaml static_multiaddress.yaml static_singlenic_multiip_multigateway.yaml vlan.yaml windows_dhcp_server.yaml wireguard.yaml wireless.yaml wpa_enterprise.yaml
Static IP configuration
network: renderer: networkd ethernets: eno1: addresses: - 10.10.10.xx/24 gateway4: 10.10.xx.1 nameservers: search: your_domain.com addresses: [8.8.8.8], 1.1.1.1] version: 2
DHCP configuration
Minimal configuration file:
network: ethernets: eno0: dhcp4: true
network: ethernets: eth0: dhcp4: true match: macaddress: dc:a6:32:2c:9f:33 set-name: eth0 version: 2
See also
Advertising: