linux_router:ipoe

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revisionBoth sides next revision
linux_router:ipoe [2022-12-29 Thu wk52 16:29] – [dhclient] baumkplinux_router:ipoe [2022-12-29 Thu wk52 16:37] – [dhclient] baumkp
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]
  • /app/www/public/data/pages/linux_router/ipoe.txt
  • Last modified: 2023-04-30 Sun wk17 17:43
  • by 127.0.0.1