Find the answer to your Linux question:
Results 1 to 10 of 10
Ok, I had a duplicate IP from another device on the network that would jut not let it go and was the same IP as my Fedora box that was ...
  1. #1
    Just Joined!
    Join Date
    Sep 2010
    Posts
    6

    Exclamation Fedora 10 Duplicate IP No Internet access

    Ok, I had a duplicate IP from another device on the network that would jut not let it go and was the same IP as my Fedora box that was working fine. After screwing around with the other device I finally just gave up and changed the IP on the Fedora box. Now I can't access the internet at all from the Fedora box. I looked in my routing tables in my router and the mac was showing as the mac of the other device. After some reboots here and there that is fix and the routers routing tables are now showing correctly. The Fedora box still can not resolve any domains or get online. Is there something somewhere inside the Fedora box that is still jacked up from the duplicate IP?

  2. #2
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    did you specify DNS servers correctly on fedora box?

    what is contents of /etc/resolv.conf file?

  3. #3
    Just Joined!
    Join Date
    Sep 2010
    Posts
    6
    # Generated by NetworkManager
    domain tx.rr.com
    search tx.rr.com
    nameserver 8.8.8.8




    I just changed it to the Google server 8.8.8.8 to see if it would fix the problem, I didn't change anything on the box. At first I tried to get both devices to renew the IP address. The router has the address reserved for the Fedora box and the other device was a DVD player that would not let the IP go and renew the IP so I just ended up changing the IP of the Fedora box to see if that would fix the problem.

  4. #4
    Linux Engineer Freston's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    1,047
    It could be that you've changed your IP so that it's in a different range than your intended gateway (ie the router)


    I imagine this is a home network?
    if so, if your router for example is 192.168.0.1 and your DVD is 192.168.0.4 well depending on your settings but changing your Fedora box to 192.168.0.5 should work.

    You still need your gateway setup properly, in the above example it should be 192.168.0.1


    Couple of tests to do from your Fedora box:
    Code:
    route                              # displays routing information (we're interested in the gateway)
    /sbin/ifconfig                     # displays network config (we're interested in the IP address)
    
    ping $gateway_ip_address           # check whether you can 'see' your gateway => if so, then:
    ping www.linuxforums.org           # check whether the box resolves IP addresses
    ping 174.132.123.98                # check whether you can see outside your network
    Can't tell an OS by it's GUI

  5. #5
    Just Joined!
    Join Date
    Sep 2010
    Posts
    6
    Code:
    route                              # displays routing information (we're interested in the gateway)
    
    
    showing:
    
    
    
    Kernel IP routing table
    
    Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
    
    192.168.101.1   *               255.255.255.255 UH    0      0        0 eth0
    
    196.168.101.0   *               255.255.255.0   U     1      0        0 eth0
    
    default         192.168.101.1   0.0.0.0         UG    0      0        0 eth0
    
    
    
    /sbin/ifconfig                     # displays network config (we're interested in the IP address)
    
    
    
    showing:
    
    
    
    eth0      Link encap:Ethernet  HWaddr 00:11:11:B7:3C:68
    
              inet addr:196.168.101.18  Bcast:196.168.101.255  Mask:255.255.255.0
    
              inet6 addr: fe80::211:11ff:feb7:3c68/64 Scope:Link
    
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
    
              RX packets:19521 errors:0 dropped:0 overruns:0 frame:0
    
              TX packets:2278 errors:0 dropped:0 overruns:0 carrier:0
    
              collisions:0 txqueuelen:1000
    
              RX bytes:2095481 (1.9 MiB)  TX bytes:190652 (186.1 KiB)
    
    
    ping $gateway_ip_address           # check whether you can 'see' your gateway => if so, then:
    
    
    
    I can not ping my gateway which is strange because I can release and renew the IP address.
    
    
    ping            # check whether the box resolves IP addresses
    ping 174.132.123.98                # check whether you can see outside your network

  6. #6
    Just Joined!
    Join Date
    Sep 2010
    Posts
    6
    I can't ping that box or ssh to it from another box, it's like it doesn't exist on the network but it can release and renew and IP address. It also shows up in the dhcp tables in the router.

  7. #7
    Linux Engineer Freston's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    1,047
    Ah, found it

    This isn't right:
    Code:
    inet addr:196.168.101.18
    If you change this to 192.168.101.18

    Then *knocks on wood* it should work.


    Quote Originally Posted by stev1bp
    I can not ping my gateway which is strange because I can release and renew the IP address.
    That's not so strange, as dhcp_request does through broadcast, necessary because at the time of the request the client doesn't have an IP address yet. And you can, as happened here through a typo, give the client an address that falls outside the DHCP servers subnet.
    Can't tell an OS by it's GUI

  8. #8
    Just Joined!
    Join Date
    Sep 2010
    Posts
    6
    ummm...ok...lol how do I change that? Sorry not to savvy on linux.

  9. #9
    Linux Engineer Freston's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    1,047
    Quote Originally Posted by stev1bp
    it's like it doesn't exist on the network
    Strictly speaking, it doesn't. It's a completely different subnet.


    Quote Originally Posted by stev1bp
    ummm...ok...lol how do I change that? Sorry not to savvy on linux.
    Where and how did you set it to give it this: 196.168.101.18? I bet it's your router.

    Otherwise this will work for now:
    Code:
    sudo /sbin/ifconfig eth0 196.168.101.18
    But that wont survive reboot. Best thing is to look in your routersettings.
    Can't tell an OS by it's GUI

  10. #10
    Just Joined!
    Join Date
    Sep 2010
    Posts
    6

    Talking

    wow, I feel so dumb right now. I was about to lose my mind today with this, going round and round when all it was, was me hitting a wrong number in the assigned IP addresses in my router. You guys are great, thanks for the help, now our companies helpdesk is back online.

Posting Permissions

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