Linux/IPv4: Difference between revisions

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

Revision as of 13:55, 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