Modify

Opened 8 years ago

Closed 6 years ago

Last modified 4 years ago

#6363 closed enhancement (obsolete)

multiple dhcp aliases

Reported by: Bart Swinnen <bartswinnen@…> Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: base system Version:
Keywords: Cc:

Description

I need to get multiple DHCP aliases working.
I attached patch to the /lib/network/config.sh file to get this working.

Can someone check his and maybe make it available upstream?

Attachments (2)

config.sh.patch (2.8 KB) - added by Bart Swinnen <bartswinnen@…> 8 years ago.
dhcp-aliases.patch (3.2 KB) - added by Bart Swinnen <bartswinnen@…> 8 years ago.

Download all attachments as: .zip

Change History (8)

Changed 8 years ago by Bart Swinnen <bartswinnen@…>

comment:1 Changed 8 years ago by Bart Swinnen <bartswinnen@…>

ifup and ifdown need some modifications as well I think.
But I do not have much expertise in this. I'll try to find out.
Some processe ahve to be cleaned up to be able to restart or reload the network conf.

comment:2 Changed 8 years ago by Nilfred <nilfred@…>

This nice patch add support for DHCP client on alias interfaces, eg. WAN:1, otherwise unsupported. Useful to access to modem web interface.

comment:3 Changed 8 years ago by Bart Swinnen <bartswinnen@…>

TODO: I'm checking ifdown script as here I need to clean up locks and processes for these aliases.
Also I like to add clientid check if dhcp on aliases. If clientid is not set, dhcp runs only on one interface and will not get ip for other aliases if in the same LAN. So more to come soon...

comment:4 Changed 8 years ago by Bart Swinnen <bartswinnen@…>

Here is a new patch that also changes ifdown to have aliases dhcp processes removed.
dhcp-aliases.patch

Maybe if it get tested well it can be integrated in the trunk?

Changed 8 years ago by Bart Swinnen <bartswinnen@…>

comment:5 Changed 6 years ago by nbd

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

comment:6 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.