Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
linux_router:ipoe [2022-12-29 Thu wk52 16:29] – [dhclient] baumkplinux_router:ipoe [2023-04-30 Sun wk17 17:43] (current) – external edit 127.0.0.1
Line 64: Line 64:
  
 ====dhclient==== ====dhclient====
-The following dhclient commands are used to manual control dhcp connections.  Note however this does not work with the built-in systemd-networkd dhcpd functionality (see man systemd-networkd, networkctl and systemd.netdev). ++++TLDR:|+The following dhclient commands are used to manual control dhcp connections.  Note however this does not work with the built-in systemd-networkd dhcpd functionality (see man systemd-networkd, networkctl and systemd.netdev).  
 +++++tldr:|
   *To remove existing connected dhcp leased connections on eno1: ''sudo dhclient -r eno1'', note this also seems to remove static IP addresses.   *To remove existing connected dhcp leased connections on eno1: ''sudo dhclient -r eno1'', note this also seems to remove static IP addresses.
   *It is under stop the ''-x'' removes the local dhcp connection, but does not contact the upstream DHCP serve to remove lease, e.g. ''sudo dhclient -x eno1''    *It is under stop the ''-x'' removes the local dhcp connection, but does not contact the upstream DHCP serve to remove lease, e.g. ''sudo dhclient -x eno1'' 
   *To manual request a dhcp lease connection on eno1: ''sudo dhclient -4 eno1'' , the ''-4'' flag restricts operation to IPv4.    *To manual request a dhcp lease connection on eno1: ''sudo dhclient -4 eno1'' , the ''-4'' flag restricts operation to IPv4. 
-++++ 
  
 ===dhclient@.service=== ===dhclient@.service===
  
-''sudo vim /etc/systemd/system/dhclient@.service'' ++++ dhclient@.service|+''sudo vim /etc/systemd/system/dhclient@.service''
 <code> <code>
 [Unit] [Unit]