On Sun 27/04, Kenneth R Westerback wrote:
> On Fri, Apr 25, 2014 at 12:31:16PM +0200, Alessandro DE LAURENZIS wrote:
> > On Tue 22/04, Kenneth Westerback wrote:
> > > >
> > > > Another thing: as highlighted in my initial message, I'm using the
> > > > loopback i/f as router address in the lease declaration section:
> > > >
> > > > # Lease declarations (fallback)
> > > > lease {
> > > > interface "trunk0";
> > > > fixed-address 192.168.1.103;
> > > > option subnet-mask 255.255.255.0;
> > > > option routers 127.0.0.1;
> > > > option domain-name-servers 127.0.0.1;
> > > > option dhcp-lease-time 259200;
> > > > renew 4 2020/12/31 23:59:59 UTC;
> > > > rebind 4 2020/12/31 23:59:59 UTC;
> > > > expire 4 2020/12/31 23:59:59 UTC;
> > > > }
> > > >
> > > > (this is the only way to make the router ping-able when trying to
> > > > configure a crossover cable connection between 2 PCs). Tomas Bodzar from
> > > > misc@ pointed me out it is in a different subnet w.r.t. the fixed
> > > > address;
> > > > do you think it may be relevant?
> > >
> > > Shouldn't be relevant for the dhclient part. Unless there is a check
> > > which I'm not aware of. But I'll look to make sure.
> > >
> > > .... Ken
> > >
> >
>
> And now a version that doesn't loop after trying a static lease. :-)
>
> .... Ken
>
Hello Ken,
Your last patch doesn't apply to 5.4-Stable as is, some hunks required a
bit of manual code modifications, but finally... it worked!
Now the i/f (both the physical eth and the virtual trunk) are correctly
configured after having acquired the fallback lease.
If you need to experiment with other modifications/adjustments, please
let me know.
Great achievement, in my opinion! Thanks a lot for your support,
kindness and patience.
Cheers
--
Alessandro DE LAURENZIS
[mailto:[email protected]]
LinkedIn: http://it.linkedin.com/in/delaurenzis