Automatic VLAN Assignment (AVA) - Problem with option routers

Tarik Gasmi tarik.gasmi at rz.uni-freiburg.de
Thu May 15 10:04:05 UTC 2008


i tried it with two different host-declaration for the same client
(fixed-address in both subnets), still same effect. router option only
sent correctly when put in host-declaration "iptel1922-2" ...

DHCP CONFIG:

# Default VLAN is 1921
# Voip VLAN is 1922

subnet 10.222.100.0 netmask 255.255.255.0 {
	option domain-name "msk.privat";
  	option routers 10.222.100.254;
	default-lease-time 900;
	max-lease-time 900;
	if substring (option vendor-class-identifier, 0, 11) = 	  "OptiIpPhone" {
                option vendor-encapsulated-options
                01:07:53:69:65:6D:65:6E:73:   #Siemens
                02:04:00:00:07:82:    #VLAN ID 1922 for the Voice VLAN
                03:1b:73:64:6c:70:3a:2f:...;   # DLS Server Information
        }

	host iptel1921-2 {
		hardware ethernet 00:01:e3:20:0b:22;
		fixed-address 10.222.100.2;
	}
	#pool {
	#	range 10.222.100.1 10.222.100.20;
	#}
}
subnet 10.222.200.0 netmask 255.255.255.0 {
	option domain-name "msk-tel.privat";
  	option routers 10.222.200.254;
	default-lease-time 86400;
	max-lease-time 172800;

	host iptel1922-2 {
		hardware ethernet 00:01:e3:20:0b:22;
		fixed-address 10.222.200.2;
		#option routers 10.222.200.254;   # when uncommented here
						 # it works !!
	}
}

Simon Hobson schrieb:
> Tarik Gasmi wrote:
> 
>> So i think that the problem is server side, because the server does not
>> send back the correct router option in the one case but does in the
>> other ...
>>
>> why do i have to put it in the host scope? is this correlated to the
>> mac-address of the client somehow?
> 
> You shouldn't have to put it in the host declaration.
> 
> Can you post the full dhcp config, and also if possible copies of the
> lease entries for this event.
> 
> 

-- 
________________________________________

 Tarik Gasmi
 Rechenzentrum Universität Freiburg
 Hermann-Herder-Str.10 / 79104 Freiburg

 Email: tarik.gasmi at rz.uni-freiburg.de
 Tel.:  +49 (0)761 203-4674
________________________________________


More information about the dhcp-users mailing list