[ninux-research] Feedback dai ricercatori

Clauz clauz at ninux.org
Thu Jun 12 23:24:14 CEST 2014


On 06/11/2014 04:14 PM, Alessandro Gnagni wrote:
> Sembra sia un problema di dhcp, non di routing.
> 
> a quanto pare negoziano 2 indirizzi sul dhcp, ne comunicano 1 al
> controller e invece usano l'altro.
> 
> 10.135.2.21	06:ab:00:d9:01:01	2014/06/11 15:05:22	Halnet	
> 10.135.2.22	06:ab:00:d9:02:01	2014/06/11 15:05:37	Halnet	
> 10.135.2.23	06:ab:00:d9:01:01	2014/06/11 15:05:40	Halnet	000000000199_00d9
> 10.135.2.24	06:ab:00:d9:02:01	2014/06/11 15:05:52	Halnet	
> 10.135.2.25	06:ab:00:d9:03:01	2014/06/11 15:05:52	Halnet	
> 10.135.2.26	06:ab:00:d9:04:01	2014/06/11 15:06:21	Halnet	
> 10.135.2.27	06:ab:00:d9:03:01	2014/06/11 15:06:09	Halnet	
> 
> ecco la config di udhcp3 che gira sull'edge:
> 
> # generated by /opt/vyatta/sbin/dhcpd-config.pl
> 
> option space ubnt;
> option ubnt.unifi-address code 1 = ip-address;
> 
> class "ubnt" {
>         match if substring (option vendor-class-identifier , 0, 4) = "ubnt";
>         option vendor-class-identifier "ubnt";
>         vendor-option-space ubnt;
> }
> 
> ddns-update-style none;
> 
> shared-network Halnet {
>         not authoritative;
>         subnet 10.135.2.0 netmask 255.255.255.192 {
>                 option domain-name-servers 10.135.2.7, 8.8.8.8;
>                 option routers 10.135.2.5;
>                 default-lease-time 3600;
>                 max-lease-time 3600;
>                 host 10.135.2.20 {
>                         fixed-address 10.135.2.20;
>                         hardware ethernet c0:3f:d5:60:bc:1d;
>                 }
>                 range 10.135.2.21 10.135.2.60;
>         }
> }

Ma si riesce a configurare il Server DHCP con la "persistence" [*],
ovvero fare in modo che per lo stesso MAC address venga fatta la lease
dello stesso indirizzo IP?

Clauz

[*]
http://help.mysonicwall.com/sw/eng/405/ui2/24000/Network_dhcpServerView.html#1018694





More information about the Research mailing list