Old 9th January 2010, 07:49
dclardy dclardy is offline
Senior Member
Join Date: Sep 2009
Location: Dallas, TX
Posts: 347
Thanks: 10
Thanked 50 Times in 28 Posts
Default Configuring Network Card

How do I configure a static IP address on a Debian Lenny server?

I thought that was the correct information.
# The primary network interface
# allow-hotplug eth0
#iface eth0 inet dhcp
auto eth0
iface eth0 inet static
It does not allow me to actually connect to the internet. I can get this setup in my Ubuntu Desktop just fine. Any ideas on what I am missing?

This is the output of ifconfig:
eth0      Link encap:Ethernet  HWaddr 00:11:85:ea:d2:d2  
          inet addr:  Bcast:  Mask:
          inet6 addr: fe80::211:85ff:feea:d2d2/64 Scope:Link
          RX packets:645 errors:0 dropped:0 overruns:0 frame:0
          TX packets:805 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:119708 (116.9 KiB)  TX bytes:109296 (106.7 KiB)

lo        Link encap:Local Loopback  
          inet addr:  Mask:
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:15 errors:0 dropped:0 overruns:0 frame:0
          TX packets:15 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:1262 (1.2 KiB)  TX bytes:1262 (1.2 KiB)
Reply With Quote
Sponsored Links
Old 10th January 2010, 18:28
falko falko is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,752 Times in 2,582 Posts

Are the netmask and gateway correct? Did your hoster give you these details?

Here's a useful network calculator: http://subnetmask.info/
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to connect to Mysql mbascombe Installation/Configuration 12 10th January 2010 23:46
Xen on Ubuntu kmand HOWTO-Related Questions 17 5th March 2009 19:43
Need help configuring network card hoggwild Installation/Configuration 2 14th April 2008 04:37
How do I configure my network card? jhdtolentino Installation/Configuration 1 23rd November 2006 17:18
Perfect Xen 3.0 setup for Debian gurneyzap HOWTO-Related Questions 4 26th March 2006 12:30

All times are GMT +2. The time now is 22:20.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.