Skip to content

Instantly share code, notes, and snippets.

@karthik101
Last active June 14, 2024 00:48
Show Gist options
  • Select an option

  • Save karthik101/6c58dd1cce23e9e063c92c5baacb6161 to your computer and use it in GitHub Desktop.

Select an option

Save karthik101/6c58dd1cce23e9e063c92c5baacb6161 to your computer and use it in GitHub Desktop.

Revisions

  1. karthik101 revised this gist Jun 14, 2024. No changes.
  2. karthik101 renamed this gist Jun 14, 2024. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  3. karthik101 created this gist Jun 14, 2024.
    23 changes: 23 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,23 @@
    # This is the network config
    network:
    version: 2
    ethernets:
    enp0s3:
    dhcp4: true
    routes:
    - to: default
    via: 10.0.2.2
    nameservers:
    addresses:
    - 8.8.8.8
    - 8.8.4.4
    enp0s8:
    dhcp4: no
    addresses:
    - 192.168.56.105/24
    routes:
    - to: default
    via: 192.168.56.1
    nameservers:
    addresses:
    - 192.168.1.200