Editing Netplan examples

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
 
[[Netplan]] examples,  https://netplan.io/examples
 
[[Netplan]] examples,  https://netplan.io/examples
  
[[/usr/share/doc/netplan/examples/]]
 
Check <code>[[static.yaml]]</code> for a simple example.
 
  
bonding.yaml
+
== Static [[IP]] configuration ==
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:
 
  network:
   [[renderer:]] networkd
+
   renderer: networkd
 
   ethernets:
 
   ethernets:
 
     eno1:
 
     eno1:
Line 40: Line 13:
 
       gateway4: 10.10.xx.1
 
       gateway4: 10.10.xx.1
 
       [[nameservers]]:
 
       [[nameservers]]:
         search: [your_domain.com]
+
         search: your_domain.com
         addresses: [8.8.8.8, 1.1.1.1]
+
         addresses: [8.8.8.8], 1.1.1.1]
 
   version: 2
 
   version: 2
 +
  
 
== [[DHCP]] configuration ==
 
== [[DHCP]] configuration ==
 
Minimal configuration file:
 
Minimal configuration file:
 
+
<pre>
network:
+
network:
    ethernets:
+
    ethernets:
        [[eno0]]:
+
        eno0:
            dhcp4: true
+
            dhcp4: true
 +
</pre>
  
  
Line 63: Line 38:
 
     version: 2
 
     version: 2
 
</pre>
 
</pre>
 +
 +
  
 
== See also ==
 
== See also ==

Please note that all contributions to wikieduonline may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Wikieduonline:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)

Templates used on this page:

Advertising: