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
linux_router:ipoe [2022-12-29 Thu wk52 16:27] – [ISP IPoE DHCP Setup Notes] baumkplinux_router:ipoe [2023-04-30 Sun wk17 17:43] (current) – external edit 127.0.0.1
Line 63: Line 63:
              DHCP6 Client DUID: DUID-EN/Vendor:0000ab112278b955a63a0f690000</code>++++              DHCP6 Client DUID: DUID-EN/Vendor:0000ab112278b955a63a0f690000</code>++++
  
-===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]
Line 96: Line 96:
 ++++ ++++
  
-===Firewall Modifications===+====Firewall Modifications====
 When using pppoe a separate device is created that can be used to filter against.  When using IPoE with dhcp same device reference is shared by the IPoE WAN link and the modem LAN web page link.  My modem is setup at 192.168.5.1. The fire wall needs to be modified to consider this shared device instead of separate one. Other than changing the $wan reference from ppp1 to eno1 the postrouting to the modem needs to be made IP range specific. ++++ e.g.| When using pppoe a separate device is created that can be used to filter against.  When using IPoE with dhcp same device reference is shared by the IPoE WAN link and the modem LAN web page link.  My modem is setup at 192.168.5.1. The fire wall needs to be modified to consider this shared device instead of separate one. Other than changing the $wan reference from ppp1 to eno1 the postrouting to the modem needs to be made IP range specific. ++++ e.g.|
 <code> <code>
  • /app/www/public/data/attic/linux_router/ipoe.1672302441.txt.gz
  • Last modified: 2023-04-30 Sun wk17 17:44
  • (external edit)