Configuring Network Card

Discussion in 'Installation/Configuration' started by dclardy, Jan 9, 2010.

  1. dclardy

    dclardy Member

    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
              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)
    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)
  2. falko

    falko Super Moderator ISPConfig Developer

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

    Here's a useful network calculator:

Share This Page