Q. I've Intel Corporation 80003ES2 LAN Gigabit Ethernet Controller. How do I set static IP address settings for my Ubuntu Linux as follows:
DEVICE name : eth0
Type: static
IP ADDR : 10.10.29.66
NETMASK : 255.255.255.192
Router IP: 10.10.29.65
Broadcast: 10.10.29.127
How do I setup static IP address under Ubuntu?
A. Ubuntu Linux stores all network configuration option in /etc/network/interfaces configuration file. You need to open this file using a text editor such as vi or gedit.
Open terminal (command line)
Type the following command:
sudo vi /etc/network/interfaces
OR
sudo gedit /etc/network/interfaces
Make the changes as follows:
auto eth0 iface eth0 inet static address 10.10.29.66 netmask 255.255.255.192 network 10.10.29.65 broadcast 10.10.29.127 gateway 10.10.29.65
Save and close the file. Restart networking:
$ sudo /etc/init.d/networking restart
See more Ubuntu Linux networking examples here.
Featured Articles:
- 20 Linux System Monitoring Tools Every SysAdmin Should Know
- 20 Linux Server Hardening Security Tips
- My 10 UNIX Command Line Mistakes
- Linux: 20 Iptables Examples For New SysAdmins

- 25 PHP Security Best Practices For Sys Admins
- The Novice Guide To Buying A Linux Laptop
- 10 Greatest Open Source Software Of 2009
- Top 5 Email Client For Linux, Mac OS X, and Windows Users
- Top 20 OpenSSH Server Best Security Practices
- Top 10 Open Source Web-Based Project Management Software
- Top 5 Linux Video Editor Software
Facebook it - Tweet it - Print it -


{ 1 comment… read it below or add one }
Your missing the DNS entry in /etc/resolv.conf.
nameserver XXX.XXX.XXX.XXX