Need help configuring network card

Discussion in 'Installation/Configuration' started by hoggwild, Apr 13, 2008.

  1. hoggwild

    hoggwild New Member

    I am fairly new to Linux...and I can't seem to get the hang of configuring a network card for a static IP address.

    I have a server I'm converting to Linux that resides behind a Linksys wireless router connected to the internet through my phone company. I do have a static IP address from the phone company.

    I would like to configure the network card so that it has a static IP address instead of obtaining an address from the router using DHCP. However, every time I try to configure the network card for a static address, I seem to screw everything up, and the server is no longer able to transmit mail over the internet to external addresses (I'm obviously configuring something wrong). If I let the network card obtain an IP address from the router using DHCP, everything works find; however I have to reconfigure the router to route the different ports to the server every time the network IP address changes, which is a major pain.

    Is there anyone out there who is willing to help me with this?

    I would appreciate any assistance you can offer.
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Can you post the outputs of
    Code:
    ifconfig
    and
    Code:
    route -nee
    when the system is using DHCP and can connect to the internet?
    Which distribution are you using?
     
  3. hoggwild

    hoggwild New Member

    Falko,

    Thank you for responding. I finally figured out what I was setting up wrong, and everything's working now. Took me forever to figure this out.

    :D

    I'm learning. :cool:
     

Share This Page