[pve-devel] [PATCH 2/2] improve arp setup
Dietmar Maurer
dietmar at proxmox.com
Tue Aug 27 16:57:51 CEST 2013
Please can you post the output from 'ip route list' and the ip (to reproduce it)?
> -----Original Message-----
> From: Alexandre DERUMIER [mailto:aderumier at odiso.com]
> Sent: Dienstag, 27. August 2013 15:27
> To: Dietmar Maurer
> Cc: pve-devel at pve.proxmox.com
> Subject: Re: [pve-devel] [PATCH 2/2] improve arp setup
>
> seem that is never matched
>
> $net->overlaps($ipobj) = 3->overlaps(3)
> $IP_B_IN_A_OVERLAP = -2
>
> my $net = new Net::IP($subnet);
> if ($net->overlaps($ipobj) == $IP_B_IN_A_OVERLAP) {
> $devinfo = {
> iface => $dev,
> net => $net,
> };
> $devinfo->{gateway} = $gw if $gw;
> }
>
>
> then devinfo is empty and hang
>
> if ($devinfo->{net}->overlaps(Net::IP->new($gateway)) ==
> $IP_B_IN_A_OVERLAP) {
> $devinfo->{gateway} = $gateway;
> }
More information about the pve-devel
mailing list