IP isn't automatically assigned from DHCP after CentOS8 install
-
- Posts: 21
- Joined: 2018/06/08 17:25:29
IP isn't automatically assigned from DHCP after CentOS8 install
I have got Dell R520 PE and I have installed C8 , went fine . We have cisco switch which acts as DHCP and it assigns the IP ( we have MAC > IP binding there ) . Now , previously on C7 , all went fine i.e. when C7 was installed we get the IP which is needed without any problems but for C8 somehow it picks up different IP .
Currently what I have done is assign a static IP but we have few more machines which we plan to move to C8 , I think something has changed here in C8 which isn't allowing . Static changes works fine without any problem .
No changes at our end i.e interms of network/systems end so any inputs on this would be appreciated .
Currently what I have done is assign a static IP but we have few more machines which we plan to move to C8 , I think something has changed here in C8 which isn't allowing . Static changes works fine without any problem .
No changes at our end i.e interms of network/systems end so any inputs on this would be appreciated .
Re: IP isn't automatically assigned from DHCP after CentOS8 install
What sort of ip? Did you check the leases file to see what DHCP server provided it?for C8 somehow it picks up different IP .
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: IP isn't automatically assigned from DHCP after CentOS8 install
IP leases are anchored at MAC addresses
if you change the MAC address you will get a new IP
if you change the MAC address you will get a new IP
Re: IP isn't automatically assigned from DHCP after CentOS8 install
We also don't know if it is, for example, a 169.254 address and locally assigned. Not enough info...
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: IP isn't automatically assigned from DHCP after CentOS8 install
you can have a static lease or not, if your lease is not static...
some dhcpd always gives the same IP through updates unless the range is occupied (FreeBSD works as is)
some dhcpd gives random IP through updates (Windows works as is)
some dhcpd always gives the same IP through updates unless the range is occupied (FreeBSD works as is)
some dhcpd gives random IP through updates (Windows works as is)
-
- Posts: 1522
- Joined: 2014/05/21 20:16:00
- Location: Central New York, USA
Re: IP isn't automatically assigned from DHCP after CentOS8 install
In addition, many dhcp servers provide for 'assigned/reserved' addresses that you map to the MAC address so that your device gets the same/assigned address, regardless how many devices start & request addresses/leases before yours.some dhcpd always gives the same IP through updates unless the range is occupied (FreeBSD works as is)
some dhcpd gives random IP through updates (Windows works as is)
I run dhcp at home, but needed a few of my machines to always have the same (pseudo-static) address each time they connect so that they could be found. You usually won't want to STATIC a laptop. for instance, then take it to you local coffee shop wifi - and have to adjust the settings to get it to connect. Reserved addresses on the dhcp server at home "fixes" that; the laptop is then dhcp all the time, but gets the assigned address when home.
-
- Posts: 21
- Joined: 2018/06/08 17:25:29
Re: IP isn't automatically assigned from DHCP after CentOS8 install
This is private IP ( 192.168.x.x) . It is a switch which provides the IP not sure if any log is available on that cisco device , I will check on this & get back .
-
- Posts: 21
- Joined: 2018/06/08 17:25:29
Re: IP isn't automatically assigned from DHCP after CentOS8 install
Yes , its same MAC but it doesnt give the problem on C7 - how about that ? I mean if I reinstall with C7 , then all good .