#1  
Old 9th January 2010, 06:49
dclardy dclardy is offline
Senior Member
 
Join Date: Sep 2009
Location: Dallas, TX
Posts: 347
Thanks: 10
Thanked 47 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.
Code:
# The primary network interface
# allow-hotplug eth0
#iface eth0 inet dhcp
auto eth0
iface eth0 inet static
        address 208.33.73.159
        netmask 255.255.255.192
        gateway 208.33.73.129
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:
Code:
eth0      Link encap:Ethernet  HWaddr 00:11:85:ea:d2:d2  
          inet addr:208.33.73.159  Bcast:208.33.73.191  Mask:255.255.255.192
          inet6 addr: fe80::211:85ff:feea:d2d2/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          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)
          Interrupt:31 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          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)
Thanks.
Reply With Quote
Sponsored Links
  #2  
Old 10th January 2010, 17:28
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
 
Default

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

Here's a useful network calculator: http://subnetmask.info/
__________________
Falko
--
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
Reply

Bookmarks

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 22:46
Xen on Ubuntu kmand HOWTO-Related Questions 17 5th March 2009 18:43
Need help configuring network card hoggwild Installation/Configuration 2 14th April 2008 03:37
How do I configure my network card? jhdtolentino Installation/Configuration 1 23rd November 2006 16:18
Perfect Xen 3.0 setup for Debian gurneyzap HOWTO-Related Questions 4 26th March 2006 11:30


All times are GMT +2. The time now is 09:01.


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