WEIGEL FORUM
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Login

    Ubuntu set Static IP

    Linux
    1
    1
    11
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • DerMeldosD
      DerMeldos
      last edited by

      Conf File finden und öffnen in /netplan ist eine .yaml file diese bearbeiten

      sudo nano /etc/netplan/
      

      die .yaml ca so auf bedarf ändern

      network:
        version: 2
        renderer: networkd
        ethernets:
          ens3:
           dhcp4: no
            addresses:
              - 192.168.121.221/24
            gateway4: 192.168.121.1
            nameservers:
                addresses: [8.8.8.8, 1.1.1.1]
      

      File speichern und config laden

      sudo netplan apply
      
      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Powered by NodeBB | Contributors