Ubuntu 14.04 and Static Network IP Info

Simple! Edit your /etc/network/interfaces file …
1. Change the ‘iface eth0 ….’ line and remove DHCP and replace with ‘static
2. Add the following lines below that … ‘address <your IP>’, ‘netmask <your netmask>’, ‘gateway <your gateway>’
3. It should look like below:
auth eth0
iface eth0 inet static
address 123.123.123.10
netmase 255.255.255.0
gateway 123.123.123.254

4. Now, to set your DNS. open /etc/dnsmasq.conf and add ‘nameserver=4.2.2.3’ or whatever IP of DNS you want to use
5. sudo ifdown eth0, and then do sudo ifup eth0; type ifconfig and verify your settings took

12 Replies to “Ubuntu 14.04 and Static Network IP Info”

  1. I simply want to mention I am just newbie to blogging and seriously enjoyed this web-site. Probably I’m likely to bookmark your site . You certainly come with fantastic articles. Regards for revealing your web site.

  2. This is the best blog site for any person who intends to discover this subject. You understand so much its nearly hard to suggest with you (not that I really would want?HaHa). You certainly placed a brand-new spin on a subject thats been covered for years. Great things, just excellent!

  3. I do agree with all the ideas you have offered to your post. They are very convincing and can definitely work. Still, the posts are very quick for beginners. Could you please extend them a bit from subsequent time? Thank you for the post.

  4. Do you have a spam issue on this website; I also am a blogger, and I was wondering your situation; we have created some nice practices and we are looking to trade methods with others, please shoot me an email if interested.

  5. Does your blog have a contact page? I’m having trouble locating it but, I’d like to shoot you an e-mail. I’ve got some creative ideas for your blog you might be interested in hearing. Either way, great website and I look forward to seeing it develop over time.

Leave a Reply

Your email address will not be published. Required fields are marked *