2009/9/4 Steffen Weiberle <[email protected]>:
> On 09/04/09 09:40, Андрей Лысов wrote:
>>
>> 2009/9/4 James Carlson <[email protected]>:
>>>
>>> Andrey wrote:
>>>>
>>>> Greetings everyone!
>>>>
>>>> Is there any way to use solaris dhcp server on vlans?
>>>>
>>>> I have 3 vlans (created via dladm) with different subnets. I've create 3
>>>> macro with different subnets in dhcpmgr and added 3 address ranges. but 
>>>> dhcp
>>>> server takes first available address from first pool and advertise it to 
>>>> any
>>>> vlan.
>>>> is there way to bind network macro or address range to vlan interface?
>>>
>>> Just go ahead and use it.  There's never been a restriction on VLANs, as
>>>  far as I know, because the DHCP server itself is unaware that the
>>> interfaces it's using are VLANs -- that is, it sees them as being
>>> identical to distinct Ethernet interfaces.
>>>
>>> Are you sure you don't mean logical interfaces?  Unlike VLANs, which
>>> work fine, the Solaris DHCP server doesn't work with logical interfaces
>>> (e.g., "hme0:1").
>>>
>>> If you can post details about your configuration, that might help.
>>>
>>> --
>>> James Carlson         42.703N 71.076W         <[email protected]>
>>>
>>
>> Thanks for reply.
>> I solved problem by using vnic-s with VID tag instead of vlan-s in dladm.
>> as I can see - vlan interfaces are not so identical to ether
>> interfaces. but with vnic its works.
>
> Now I am also curious what your configurations are. That VNICs work and
> VLANs don't seems odd.
>
> What build of OpenSolaris are you using? OpenSolaris or SX-CE?

snv_121
Here it is step by step:
I have 3 vlans - first untagged (native) and other two tagged.
create two vlans with dladm, plump and configure all 3 interfaces with
different subnets
Create dhcp-server config. add networks and create address pools for
each network
try to get ip from one (tagged) vlan and get it from address pool of
another tagged vlan.
_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to