A Taste of Honey

Friday, 18 January 2013

Linux static address

edit /etc/network/interfaces

auto eth0
iface eth0 inet static
address 192.168.1.100
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1



Restart the neworking service using the following command
/etc/init.d/networking restart


---
Thanks

http://www.ubuntugeek.com/change-ubuntu-system-from-dhcp-to-a-static-ip-address.html
Posted by Chris Moore at 08:59
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Blog Archive

  • ►  2022 (1)
    • ►  April (1)
  • ►  2020 (2)
    • ►  July (1)
    • ►  June (1)
  • ►  2018 (1)
    • ►  January (1)
  • ►  2017 (6)
    • ►  November (2)
    • ►  October (1)
    • ►  May (2)
    • ►  February (1)
  • ►  2016 (5)
    • ►  November (2)
    • ►  September (1)
    • ►  January (2)
  • ►  2015 (1)
    • ►  January (1)
  • ►  2014 (13)
    • ►  October (6)
    • ►  September (6)
    • ►  July (1)
  • ▼  2013 (10)
    • ►  August (1)
    • ►  April (1)
    • ►  February (2)
    • ▼  January (6)
      • DionaeaFR
      • Linux static address
      • OpenVAS Security Scanner
      • Install a graphical interface on Ubuntu
      • Useful links http://andrewmichaelsmith.com/2012/0...
      • Set Linux time / date
  • ►  2012 (4)
    • ►  December (1)
    • ►  September (1)
    • ►  August (2)
Awesome Inc. theme. Powered by Blogger.