[Dnsmasq-discuss] Re : Using the same IP for the wired and wireless interface of a laptop

László Monda laci at monda.hu
Mon Nov 30 01:53:26 GMT 2009


Hi Vincent,

On Sat, Nov 28, 2009 at 11:27 PM, Vincent Cadet <v_cadet at yahoo.fr> wrote:
> Hi  László.
>
>> I'm trying to bind two MACs which are the wired and the
>> wireless
>> interface of a laptop to one IP by specifying two related
>> lines in
>> /etc/ethers and one related line in /etc/hosts but it seems
>> only the
>> first MAC works.  I guess dnsmasq overrides the first
>> with the second.
>>
>> It'd be nice to use the same IP for the laptop regardless
>> whether the
>> wired or the wireless interface used, altough I'm not sure
>> that this
>> is a really good idea because when both of the interfaces
>> are active
>> this can lead to troubles.
>>
>> What do you think?
>
> You can use bonding for that. I've successfully used bonding with my wired and wireless interfaces on my laptop. The result is one virtual interface (hece one IP address) that combines both physical interfaces w/ possible failover or load balancing.

Great idea!  Bonding is much cleaner than my solution.

Thanks!

-- 
Laci  <http://monda.hu>



More information about the Dnsmasq-discuss mailing list