Based solely on the error message you provided in your original post I would 
say assigning two or more network interfaces on the same subnet at the same 
time is the problem. It is not that they are both getting the same IP address 
but different IP addresses on the same subnet.

If you want to do such a thing you'd use the trunk method indicated earlier.



<div>-------- Original message --------</div><div>From: Hrishikesh 
Murukkathampoondi <hris...@gmail.com> </div><div>Date:03/29/2015  7:24 AM  
(GMT-06:00) </div><div>To: Peter Hessler <phess...@theapt.org> </div><div>Cc: 
openbsd-newbies@sfobug.theapt.org </div><div>Subject: Re: Configuring DHCP for 
multiple interfaces </div><div>
</div>Thanks for the response.

I thought it is the DHCP server that must give different addresses - right ? If 
two interfaces from the same machine request IPs with different 
dhcp-client-identifiers, the DHCP server should be able to distinguish the 
requests. 

So what has to be supported by OpenBSD?

Thanks
Hrishi 



> On 29-Mar-2015, at 4:43 pm, Peter Hessler <phess...@theapt.org> wrote:
> 
> On 2015 Mar 29 (Sun) at 16:34:23 +0530 (+0530), Hrishikesh Murukkathampoondi 
> wrote:
> :Hello
> :
> :I am new to OpenBSD. I installed it on an Asus EeePC without much 
> difficulty. I am trying to get both the ethernet port as well as the wireless 
> to connect to my router via DHCP.
> :
> :The ethernet port (ale0) works perfectly - makes a request for DHCP and gets 
> an IP. The wifi (rel0) fails with the message:
> :
> :--
> :DHCPDISCOVER on ral0 - interval 3
> :interface ale0 already has the offered subnet!
> :--
> :
> :I get this message at boot as well as when I execute dhclient ral0
> :
> :I am guessing that ral0 is being offered the same IP as the ale0 interface 
> by the DHCP server (i.e. my outer) and that is the source of this conflict. 
> However, I am unable to resolve the problem. Other machines (Win/Mac) 
> connected to the router - simultaniously via wifi as well as ethernet - dont 
> have this issue. 
> :
> 
> 
> This is not supported in OpenBSD right now.
> 
> You could put the ethernet and Wifi ports into a fail-over trunk, and
> switch between them, but that will not allow you to use them seperately.
> 
> $ man 4 trunk
> includes an example of how to set this up, at the end.  You can change
> the IP assignment to "dhcp", instead of fixing an IP address.
> 
> 
> 
> 
> -- 
> Why did the Roman Empire collapse?
> What is the Latin for office automation?

_______________________________________________
Openbsd-newbies mailing list
Openbsd-newbies@sfobug.theapt.org
http://mailman.theapt.org/listinfo/openbsd-newbies
_______________________________________________
Openbsd-newbies mailing list
Openbsd-newbies@sfobug.theapt.org
http://mailman.theapt.org/listinfo/openbsd-newbies

Reply via email to