Ticket #147 (closed defect: wontfix)

Opened 19 months ago

Last modified 16 months ago

Provide 'reload' or 'release' for dhcp on bridge network interfaces

Reported by: mail@eliasprobst.eu Owned by: roy
Priority: major Milestone:
Component: rc Version: 0.4
Keywords: Cc: mail@eliasprobst.eu

Description

If you're running restart on a bridge interface which gets it's configuration via DHCP, it takes a long time (60-90 secs) until everything works again.

If just the dhcp-process is restarted it takes ~2 seconds.

Please provide a release or reload option for network interfaces.

Change History

comment:1 Changed 16 months ago by roy

  • Status changed from new to closed
  • Resolution set to wontfix

The net.* scripts have been deprecated.

You can do what you want by using the dhcpcd-4.99 DHCP client.
dhcpcd -n br0
Would instruct dhcpcd to rebind on br0.

comment:2 follow-up: ↓ 3 Changed 16 months ago by mail@eliasprobst.eu

What does this mean, the net.* scripts have been deprecated? What should be used now instead of a net.* script?
I don't really understand this.

I'm currently working around by doing something similar, I wrote a tiny script which seeks the dhclient running on br0 and restarts this dhclient.
But I'll give dhcpcd-4.99 a try.

comment:3 in reply to: ↑ 2 Changed 16 months ago by roy

Replying to mail@…:

What does this mean, the net.* scripts have been deprecated? What should be used now instead of a net.* script?
I don't really understand this.

In SVN there is a new script called network which is very very simple.
It doesn't know anything about bridges or dhcp. Just ifconfig (and ip address).

I'm currently working around by doing something similar, I wrote a tiny script which seeks the dhclient running on br0 and restarts this dhclient.
But I'll give dhcpcd-4.99 a try.

dhcpcd-4.99 can now be launched as an init script and will configure all available interfaces.
It can be instructed to rebind a specific interface at any point after launching.

Note: See TracTickets for help on using tickets.