Opened 4 years ago

Closed 15 months ago

#12300 closed bug (duplicate)

DHCP doesn't get an address automatically after ifconfig --delete

Reported by: jackburton Owned by: phoudoin
Priority: normal Milestone: Unscheduled
Component: Network & Internet/Stack Version: R1/Development
Keywords: Cc: phoudoin
Blocked By: #11938 Blocking:
Has a Patch: no Platform: All

Description

  • Working network interface, connected and in DHCP
  • ifconfig --delete <interfacename>
  • ifconfig <interfacename> up

I would expect that the network interface gets its IP address from DHCP, again. The network preflet will show IPV4 configured in DHCP, but the network interface will be unconfigured. To configure it again, select mode: Disabled, then DHCP.

Attachments (2)

network.png (19.7 KB ) - added by jackburton 4 years ago.
network2.png (23.7 KB ) - added by jackburton 4 years ago.

Download all attachments as: .zip

Change History (8)

comment:1 by pulkomandy, 4 years ago

Does it work if you force re-negociating?

ifconfig <interfacename> auto-config

by jackburton, 4 years ago

Attachment: network.png added

by jackburton, 4 years ago

Attachment: network2.png added

comment:2 by jackburton, 4 years ago

Yep, that works. However, here's another fail situation: Open the network preflet, disable an interface, re-enable it again. As you can see from the screenshots, the interface looks like it's configured, but network is still down. The "Renegotiate" button is disabled. ifconfig <interfacename> auto-config still works, though.

in reply to:  2 comment:3 by vidrep, 4 years ago

Replying to jackburton:

Yep, that works. However, here's another fail situation: Open the network preflet, disable an interface, re-enable it again. As you can see from the screenshots, the interface looks like it's configured, but network is still down. The "Renegotiate" button is disabled. ifconfig <interfacename> auto-config still works, though.

I believe that fault is covered in ticket #11938.

comment:4 by phoudoin, 2 years ago

Cc: phoudoin added

comment:5 by vidrep, 2 years ago

Owner: changed from axeld to phoudoin
Status: newassigned

comment:6 by vidrep, 15 months ago

Blocked By: 11938 added
Resolution: duplicate
Status: assignedclosed
Note: See TracTickets for help on using tickets.