Thursday, January 24, 2013

Ubuntu/debian/Mint Setup Fixed IP address

Before setup fixed IP address please use an ifconfig to determine the current subnet.

$ sudo vi /etc/network/interfaces

# The primary network interface
auto eth0
#iface eth0 inet dhcp
iface eth0 inet static
address 192.168.59.133
gateway 192.168.59.2
netmask 255.255.255.0


$ sudo /etc/init.d/networking restart

7 comments:

  1. it's very helpful for me searching for this site!

    ReplyDelete
  2. maillot de foot portugal...

    Amazing! You know I love your blog!!!...

    ReplyDelete
  3. Hi there mates, its great article concerning tutoringand completely
    explained, keep it up all the time.

    ReplyDelete
  4. Great work! That is the kind of information that are
    supposed to be shared around the internet. Disgrace
    on the search engines for now not positioning this post higher!
    Come on over and visit my web site . Thanks =)

    ReplyDelete
  5. I every time spent my half an hour to read this blog's posts everyday along with a
    mug of coffee.

    ReplyDelete
  6. Thanks, I will buy you a cup coffee if you are around Toronto .

    ReplyDelete
  7. wonderful put up, very informative. I ponder why the opposite specialists of this sector do not realize this.
    You must continue your writing. I am sure, you've a great readers' base already!

    ReplyDelete