Configuração de rede para debian like

Configuração Dinâmica por DHCP:
auto eth0
    allow-hotplug eth0
    iface eth0 inet dhcp

Configuração Manual IPv4:
auto eth0
    iface eth0 inet static
        address 192.168.0.7
        netmask 255.255.255.0
        gateway 192.168.0.254

auto eth0
allow-hotplug eth0
iface eth0 inet static
        address 10.100.0.70
        netmask 255.255.255.0
        network 10.100.0.0
        broadcast 10.100.0.255
        gateway 10.100.0.1
        # dns-* options are implemented by the resolvconf package, if installed
        dns-nameservers 10.100.0.1
        dns-search incolume.com.br


Configuração Manual IPv6:
iface eth0 inet6 static
        address 2001:db8::c0ca:1eaf
        netmask 64
        gateway 2001:db8::1ead:ed:beef

Comentários