Linux/IPv4: Difference between revisions

From Wiki
No edit summary
No edit summary
Line 18: Line 18:
</pre>
</pre>
</blockquote>
</blockquote>
[[Category:Linux/Network]]

Revision as of 13:29, 1 April 2017

  • dhcp
iface eth0 inet dhcp


  • static
iface eth0 inet static
    address 192.168.0.97   
    netmask 255.255.255.0  
    gateway 192.168.0.1
    dns-nameservers 192.168.0.1 10.10.0.2