Network "Interfaces" configuration

From Jay's Cafe' Wiki
Revision as of 03:04, 19 April 2025 by Jayctheriot (talk | contribs) (Created page with "<pre> auto eth0 allow-hotplug eth0 iface eth0 inet dhcp </pre><pre> iface eth0 inet6 dhcp </pre> or <pre> iface eth0 inet6 auto </pre> Static Configuration <code> auto eth0 iface eth0 inet static address 192.0.2.7/24 gateway 192.0.2.254 dns-nameservers 12.34.56.78 12.34.56.79 </code>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
    auto eth0
    allow-hotplug eth0
    iface eth0 inet dhcp

iface eth0 inet6 dhcp

or

iface eth0 inet6 auto

Static Configuration

   auto eth0
   iface eth0 inet static
       address 192.0.2.7/24
       gateway 192.0.2.254

dns-nameservers 12.34.56.78 12.34.56.79