Got it

Does STP affect downstream terminals to obtain IP addresses through DHCP?

Created: Dec 31, 2021 11:21:59Latest reply: Dec 31, 2021 11:22:27 123 1 0 0 0
  Rewarded HiCoins: 0 (problem resolved)

Hello everyone,

I have a problem today:

Router-switch-PC

The PC cannot obtain the IP address assigned by DHCP. After STP is disabled on the switch, the PC can obtain the IP address. Does anybody explain why?

As I understand it, STP should not affect DHCP.

The basic topology is as follows:

 

Does STP affect downstream terminals to obtain IP

The router is H3C 310 and the switch is Huawei 1730S.


Featured Answers

Best answer

Recommended answer

DDSN
Admin Created Dec 31, 2021 11:22:27

Hi Rengar,

Enabling STP to obtain an IP address takes a long time because STP role election takes a long time. The maximum value is 50 seconds (20 + 15 + 15). Some network adapters fail to be obtained and the network adapters do not retry.

It is recommended that the port connected to the host be an STP edge port.

# Configure GE0/0/1 as an edge port.

<HUAWEI> system-view

[HUAWEI] interface gigabitethernet 0/0/1

[HUAWEI-GigabitEthernet0/0/1] stp edged-port enable

I hope it helps!


View more
  • x
  • convention:

All Answers
DDSN
DDSN Admin Created Dec 31, 2021 11:22:27

Hi Rengar,

Enabling STP to obtain an IP address takes a long time because STP role election takes a long time. The maximum value is 50 seconds (20 + 15 + 15). Some network adapters fail to be obtained and the network adapters do not retry.

It is recommended that the port connected to the host be an STP edge port.

# Configure GE0/0/1 as an edge port.

<HUAWEI> system-view

[HUAWEI] interface gigabitethernet 0/0/1

[HUAWEI-GigabitEthernet0/0/1] stp edged-port enable

I hope it helps!


View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.