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.
You should follow me on twitter here or grab rss feed to keep track of new changes.
Featured Articles:
- 30 Handy Bash Shell Aliases For Linux / Unix / Mac OS X
- Top 30 Nmap Command Examples For Sys/Network Admins
- 25 PHP Security Best Practices For Sys Admins
- 20 Linux System Monitoring Tools Every SysAdmin Should Know
- 20 Linux Server Hardening Security Tips
- Linux: 20 Iptables Examples For New SysAdmins
- Top 20 OpenSSH Server Best Security Practices
- Top 20 Nginx WebServer Best Security Practices
- 20 Examples: Make Sure Unix / Linux Configuration Files Are Free From Syntax Errors
- 15 Greatest Open Source Terminal Applications Of 2012

- My 10 UNIX Command Line Mistakes
- Top 10 Open Source Web-Based Project Management Software
- Top 5 Email Client For Linux, Mac OS X, and Windows Users
- The Novice Guide To Buying A Linux Laptop












{ 2 comments… read them below or add one }
Your missing the DNS entry in /etc/resolv.conf.
nameserver XXX.XXX.XXX.XXX
Nice info .