From: Matti Nykyri <matti.nykyri@iki.fi>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Dhclient and buggy ISP
Date: Fri, 20 Jul 2018 10:58:53 +0300 [thread overview]
Message-ID: <20180720075853.GA31046@oulu.nykyri.eu> (raw)
Hey
I have a following with Telia ISP and their dhcp-server... I'm using
dhclient to get dynamic IP from ISP and also to update DDNS. When
dhclient does DHCPDISCOVER the ISP will issue a new lease for 43200 sec
after a normal DHCPOFFER, DHCPREQUEST and DHCPACK cycle; and the
interface gets bound to the given address. Now when the dhclient does a
subsequent DHCPREQUEST, server will issue DHCP with a declining
lease-time ending at the same time as original 43200s lease. By
releasing the lease and doing a new DHCPDISCOVER the lease time is reset
to 43200s. The ISP how ever keeps track of the MAC and will always issue
the same IP.
When the lease-time of 43200 runs out the default gw stops responding
and the internet connection dies. The only way to then get it to work is
to manually start a new discover cycle (ifdown - ifup).
I would like to configure the interface so, that there would not be an
interuption in network traffic! Because the IP doesn't change, I would
like to configure the WAN interface to stay up with the IP all the time
and get dhclient to do DHCPDISCOVER to the ISP to update ISP-firewall to
let the traffic through for the next 43200 sec. If the IP changes for
some reason, I would like the dhclient to update the WAN interface.
Would there be a ready way in Gentoo to achieve this? Or anyway :'D
Ps. I hate my ISP :(
Pps. I have other problems too...
--
-Matti
next reply other threads:[~2018-07-20 7:59 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-20 7:58 Matti Nykyri [this message]
2018-07-20 22:41 ` [gentoo-user] Dhclient and buggy ISP Mick
2018-07-22 2:46 ` Roger J. H. Welsh
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180720075853.GA31046@oulu.nykyri.eu \
--to=matti.nykyri@iki.fi \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox