Results 1 to 4 of 4

Thread: How to fix an IP address in fedora?

  1. #1
    Join Date
    Apr 2009
    Posts
    49

    How to fix an IP address in fedora?

    Hello,
    How to fix an IP address in fedora? I have 2 machines and a router TP-Link: a laptop and a PC with windows XP and Fedora.I turned off DHCP for security purpose, it cost me to set the ip addresses. On Windows everything works normally but against under fedora I forgot how to allocate addresses to interfaces.

    Thank you in advance

  2. #2
    Join Date
    May 2008
    Posts
    2,945

    Re: How to fix an IP address in fedora?

    In your config / etc/sysconfig/network-scripts/ifcfg-eth0 use the graphical tool in System -> Admin -> Network or type system-config-network in a command line.

    then change your config by:
    TYPE = Ethernet
    DEVICE = eth0
    BOOTPROTO = none
    ONBOOT = yes
    USERCTL = no
    PEERDNS = yes
    IPV6INIT = no
    NETMASK = 255.255.255.0
    IPADDR = 192.168.0.35
    GATEWAY = 192.168.1.1

  3. #3
    Join Date
    Jan 2009
    Posts
    48

    Re: How to fix an IP address in fedora?

    The network configuration is stored in files like:/ etc/sysconfig/network-scripts/ifcg-eth0 But you can also go through a GUI > system-config-network > Select your interface > Edit button > And uncheck DHCP to set static values. primary and secondary DNS to be defined in / etc / resolv.conf This file has been created by the last use of DHCP and should be changed only if the DNS information is changed.

  4. #4
    Join Date
    Jan 2006
    Posts
    4,221

    Re: How to fix an IP address in fedora?

    try to configure the file / etc/sysconfig/network-scripts/ifcfg-eth0 and edit the file / etc / resolv.conf for DNS addresses. And everything will work.

Similar Threads

  1. Specific IP address changing TCP IPv4 DNS server address
    By Poks in forum Networking & Security
    Replies: 4
    Last Post: 11-01-2011, 06:05 AM
  2. Bypass Export address table Address Filter (EAF)
    By Dwarner in forum Software Development
    Replies: 4
    Last Post: 25-12-2010, 08:06 AM
  3. Replies: 4
    Last Post: 13-11-2009, 06:58 PM
  4. Replies: 2
    Last Post: 16-02-2009, 08:06 PM
  5. Adding new email address to exchange address book
    By RaeS in forum Small Business Server
    Replies: 5
    Last Post: 23-09-2008, 08:24 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,714,264,308.33752 seconds with 17 queries