Find the answer to your Linux question:
Results 1 to 4 of 4

Thread: Static IP

Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Static IP

    Is there a way to set a static IP in linux?

  2. #2
    OfCourse you can. the way depends on your distro.
    What is it?

  3. #3
    Linux Newbie
    Join Date
    Jun 2005
    Dhaka, Bangladesh.
    Now a days, Most of the version of linux has own graphical tools to configure network.
    Which distro linux you are using?
    S. M. Ibrahim
    Registered Linux User # 394440

    Pentium-IV 3.00 Ghz(Cache -2MB, 64 bit), 512 MB RAM , 128 MB agp, 160 GB Hdd (SATA)

  4. $spacer_open
  5. #4
    Linux Guru
    Join Date
    May 2004
    ifconfig <ipaddress> netmask <netmask> gw <gateway> eth0
    I don't think you need to include the 'gw <gateway>' if you only have one way to the internet (only one NIC and no modem). '<netmask>' must match the netmask of the network it's connected to. Example:
    ifconfig netmask eth0
    //got nothin'
    ///this use to look better

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts