Re: IP address incorrectly assigned on boot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 02/03/2012 01:54:34 PM, j.e.aneiros wrote:
> On Fri, Feb 3, 2012 at 4:01 PM, Geoffrey Leach <geoff@xxxxxxxxxx>
> wrote:
> 
> > A system on my local network (pvr) has its IP address in /etc/hosts
> >
> > geoff@pvr[1]->cat /etc/hosts
> > 127.0.0.1   localhost localhost.localdomain localhost4
> > localhost4.localdomain4
> >
> > 192.168.10.2    pvr.mtranch.com pvr
> > 192.168.10.3    mtranch.mtranch.com mtranch
> > 192.168.10.1    Netgear
> > 198.168.20.5    Homerun
> >
> > Netgear router accessed from pvr via wireless. It has the address
> > 192.168.10.2 reserved and assigned to pvr. Worked fine.  Today 
> after
> > booting up the latest kernel, (3.2.2-1.fc16.i686.PAE), the IP
> address
> > has changed to 192.168.10.5:
> >
> > geoff@pvr[2]->ifconfig wlan0
> > wlan0     Link encap:Ethernet  HWaddr AE:5D:BA:91:67:2D
> >          inet addr:192.168.10.5  Bcast:192.168.10.255
> > Mask:255.255.255.0
> >          inet6 addr: fe80::ac5d:baff:fe91:672d/64 Scope:Link
> >          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
> >          RX packets:484 errors:0 dropped:0 overruns:0 frame:0
> >          TX packets:462 errors:0 dropped:0 overruns:0 carrier:0
> >          collisions:0 txqueuelen:1000
> >
> > you'll note that it is 192.168.10.5
> >
> > Not surprisingly, I can't ssh 192.168.10.2, but I can ssh
> 192.168.10.5
> >
> > Question: where is this (dynamic?) assignment taking place?
> >
> 
> I think the machine is requesting the router a new IP and the router
> couldn't match the MAC of the request with the MAC associated to the
> reserved IP 192.168.10.2, so is giving a new IP in the range.
> Something
> change at the machine, did you check the MAC AE:5D:BA:91:67:2D 
> against
> your
> rule in the router?

Your suspicion was correct. I replaced the one in use with the one from 
ifconfig. Unfortunately that did not fix the problem.

I need a tutorial on assigning MAC addresses, as they are inconsistent 
on the server and client. Is it correct that the MAC address is the 
same as HWADDR in the ifcfg file? And why would the value change when 
the hardware did not?

Thanks.

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux