dhcp does not work on setup

Issues related to configuring your network
Nakruf
Posts: 8
Joined: 2018/01/06 22:43:14

dhcp does not work on setup

Post by Nakruf » 2018/01/17 06:27:08

The problem that i am experiencing is that i never get assigned an ip address when installing Centos 7 (i am installing with the gui). I tested to install windows on same setup and it automatically got an ip. What kind of problem could cause this?
Last edited by Nakruf on 2018/01/18 00:18:34, edited 1 time in total.

tunk
Posts: 1205
Joined: 2017/02/22 15:08:17

Re: dhcp does not work on setup

Post by tunk » 2018/01/17 11:06:32

What's your hardware? It could be that CentOS doesn't recognise your card.

User avatar
avij
Retired Moderator
Posts: 3046
Joined: 2010/12/01 19:25:52
Location: Helsinki, Finland
Contact:

Re: dhcp does not work on setup

Post by avij » 2018/01/17 11:53:33

When you installed CentOS, did you set the interface to start automatically at boot? It is not enabled by default.

Nakruf
Posts: 8
Joined: 2018/01/06 22:43:14

Re: dhcp does not work on setup

Post by Nakruf » 2018/01/17 15:50:59

I'm installing the os onto my esxi server (which also where i tested it with Win10). I get a connection if i manually set everything myself but now and then the connection gets faulty and my apache and ssh server stops working for a while. I suspect the problem is with the ip assignment process within centos since it works perfectly well in windows 10 installation.

pjsr2
Posts: 614
Joined: 2014/03/27 20:11:07

Re: dhcp does not work on setup

Post by pjsr2 » 2018/01/18 18:10:13

What version of ESXi are you using?

Nakruf
Posts: 8
Joined: 2018/01/06 22:43:14

Re: dhcp does not work on setup

Post by Nakruf » 2018/01/18 19:52:58

pjsr2 wrote:What version of ESXi are you using?
Version : 6.5.0 (Build 4887370)

pjsr2
Posts: 614
Joined: 2014/03/27 20:11:07

Re: dhcp does not work on setup

Post by pjsr2 » 2018/01/18 21:16:40

What type did you specify in ESXi for the network adapter?

Nakruf
Posts: 8
Joined: 2018/01/06 22:43:14

Re: dhcp does not work on setup

Post by Nakruf » 2018/01/19 15:00:46

pjsr2 wrote:What type did you specify in ESXi for the network adapter?
Adapter type on the vm is VMXNET 3

pjsr2
Posts: 614
Joined: 2014/03/27 20:11:07

Re: dhcp does not work on setup

Post by pjsr2 » 2018/01/19 21:08:22

On my ESXi 6.5 .0 system with vmxnet3 adapter, the network is working flawlessly both with static IP and with dhcp configuration. I am more inclined to search in the direction of configuration or routing problems in your network than for problems in the CentOS guest.
I get a connection if i manually set everything myself but now and then the connection gets faulty and my apache and ssh server stops working for a while.
Do you mean like no response for a period (10 s, 30 s, 60 s? ) and then communication flows for a while without any change and then maybe again such a non-responsive period?

Nakruf
Posts: 8
Joined: 2018/01/06 22:43:14

Re: dhcp does not work on setup

Post by Nakruf » 2018/01/19 22:12:12

Maybe i should have been more clear in my configuration. I have a router to router bridge connection. I do not think the problem is with the bridge since it works flawlessly when i install a windows vm into the server.
Do you mean like no response for a period (10 s, 30 s, 60 s? ) and then communication flows for a while without any change and then maybe again such a non-responsive period?
Yes, it is as you describe it but the problem is occurring longer than a minute, more like 15 mins.

Post Reply