Difference between revisions of "Network "Interfaces" configuration"

From Jay's Cafe' Wiki
(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>")
 
(No difference)

Latest revision as of 03:04, 19 April 2025

    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