This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
basic-static [2024/09/29 21:26] – [Configuring DHCP Reservations] -Condense, formatting hogwild | basic-static [2024/11/27 00:14] (current) – [Static ARP] -formatting, condense hogwild | ||
---|---|---|---|
Line 4: | Line 4: | ||
- | ===== DHCP Reservation | + | ===== Basic Concepts |
Since release 2020.8, what was called " | Since release 2020.8, what was called " | ||
Line 10: | Line 10: | ||
DHCP Reservation is a simple way to ensure that FreshTomato offers certain client devices the same IP address each time they request a lease. Simply enter the MAC address for a client device (found in [[status-devices|Device List]]), into the **MAC Address** field, enter the **IP Address** (and optionally, **Hostname**) you want to assign into the appropriate fields and click " | DHCP Reservation is a simple way to ensure that FreshTomato offers certain client devices the same IP address each time they request a lease. Simply enter the MAC address for a client device (found in [[status-devices|Device List]]), into the **MAC Address** field, enter the **IP Address** (and optionally, **Hostname**) you want to assign into the appropriate fields and click " | ||
- | The **Bound to** button is optional. | + | The **Bound to** button is optional. |
Line 29: | Line 29: | ||
- Find a match for the device' | - Find a match for the device' | ||
- Find a match for the device' | - Find a match for the device' | ||
- | - Failing | + | - If the first two options |
\\ | \\ | ||
- | {{:: | + | {{:: |
==== Security Limitations ==== | ==== Security Limitations ==== | ||
- | As mentioned earlier, DHCP Reservation offers the mapped IP address (and Hostname) to the MAC address you specified every time it offers a lease. DHCP Reservation does not prevent a different client from being configured with the same IP address. This is because DHCP Reservation only offers a static mapping to client devices which request a lease. If another device were self-configured with a (true) | + | Again, DHCP Reservation offers the mapped IP address (and Hostname) to the MAC address you specified every time it offers a lease. DHCP Reservation does not prevent a different client from being configured with the same IP address. This is because DHCP Reservation only offers a static mapping to client devices which //request// a lease. If another device were self-configured with a static IP, or if the router/DHCP were disabled, the other device could take that address. Similarly, if the first client |
- | Even if everything else were working properly, only DHCP lease //offers// are made static. The router' | + | Even if everything else were working properly, only DHCP lease //offers// are made static. The router' |
==== Inconsistent Terminology ==== | ==== Inconsistent Terminology ==== | ||
- | Sometimes, confusion occurs because of imprecise or inconsistent terminology. First, DHCP Reservation is sometimes confused with //Static IP//. They are not the same. DHCP Reservation involves configuring an assigned IP address for the client device // | + | Sometimes, confusion occurs because of imprecise or inconsistent terminology. First, DHCP Reservation is sometimes confused with //Static IP//. They are not the same. DHCP Reservation involves configuring an assigned IP address for the client device //within FreshTomato' |
- | Second, the term " | + | Also, the term " |
Some terminology variations include: | Some terminology variations include: | ||
Line 53: | Line 53: | ||
\\ | \\ | ||
- | * //" | + | * //" |
- | * "// | + | * "// |
- | * //" | + | * //" |
- | * Either// "DHCP Reservation" | + | * //" |
- | * //"IP address reservation"// | + | * //"IP address reservation"// |
\\ | \\ | ||
- | To reduce confusion, | + | To reduce confusion, |
---- | ---- | ||
Line 80: | Line 80: | ||
===== Static ARP ===== | ===== Static ARP ===== | ||
- | ARP is a protocol that clients use to obtain the MAC address of another client, given its IP address. | + | ARP is used so clients can figure out how to address network packets to another client. Clients use the ARP protocol when they have another client' |
=== Reduces Broadcast Traffic === | === Reduces Broadcast Traffic === | ||
- | Since ARP requests are broadcast | + | Since ARP requests are broadcast |
=== Reduces ARP spoofing === | === Reduces ARP spoofing === | ||
Line 92: | Line 92: | ||
Here again, Static ARP binding can help. When enabled, Static ARP binding will ignore ARP spoofing attempts. FreshTomato will ignore all (broadcast) ARP replies of devices listed in the table. Instead, FreshTomato will check the Static DHCP tables to find the MAC address that belongs to a certain IP address. We assume this information is more accurate, since the Static DHCP table is maintained by the network administrator. | Here again, Static ARP binding can help. When enabled, Static ARP binding will ignore ARP spoofing attempts. FreshTomato will ignore all (broadcast) ARP replies of devices listed in the table. Instead, FreshTomato will check the Static DHCP tables to find the MAC address that belongs to a certain IP address. We assume this information is more accurate, since the Static DHCP table is maintained by the network administrator. | ||
- | **MAC Address: | + | \\ |
- | **Bound To: **This enables Static ARP binding for the IP - MAC address mapping. It adds a Static ARP entry for it in FreshTomato' | + | **MAC Address: **here, enter the MAC Address you wish to bind. |
- | **IP Address: | + | \\ |
- | **IP Traffic:** This enables | + | **Bound To: **enables |
- | **Hostname: | + | This adds a Static ARP entry for it in FreshTomato' |
- | Traditionally, | + | (Default: Disabled). |
- | The client' | + | \\ |
- | Hostname description derived from IETF (IETF.ORG) RFC2131 Standards Track, DHCP Protocol, page 8 [[https:// | + | **IP Address:** the (optional) address to bind to the MAC address entered. |
+ | |||
+ | Leaving this empty will link only a Hostname to a MAC address, allowing normal DHCP operations. This "lack of IP" can be helpful for devices that don't automatically have a Hostname assigned, but for which you still prefer a dynamic IP allocation. | ||
+ | |||
+ | \\ | ||
+ | |||
+ | **IP Traffic:** enables IP Traffic Monitoring for the mapped MAC Address/ | ||
+ | |||
+ | (Default: Disabled). | ||
+ | |||
+ | \\ | ||
+ | |||
+ | **Hostname: | ||
+ | |||
+ | This is an arbitrary human-readable nickname to make it easier to identify the device on the network. | ||
+ | |||
+ | Traditionally, | ||
+ | |||
+ | \\ | ||
+ | |||
+ | For example: "'' | ||
+ | |||
+ | Often, the client DNS/Netbios name is used as the Hostname. Every client must have a unique Hostname on the broadcast domain to avoid conflicts. | ||
+ | |||
+ | \\ | ||
+ | |||
+ | The Hostname description | ||
+ | |||
+ | IETF (IETF.ORG) RFC2131 Standards Track, DHCP Protocol, page 8 [[https:// | ||
Line 113: | Line 141: | ||
**Ignore DHCP Requests from unknown devices:** | **Ignore DHCP Requests from unknown devices:** | ||
- | Enabling this will ensure | + | Enabling this ensures |
The //Ignore DHCP Requests from unknown devices// function only works for devices in subnets with netmask 255.255.255.0 (previously called “Class C” subnets). | The //Ignore DHCP Requests from unknown devices// function only works for devices in subnets with netmask 255.255.255.0 (previously called “Class C” subnets). | ||
- | \\ {{:: | + | \\ {{:: |
\\ | \\ | ||
Line 126: | Line 154: | ||
===== IPT ===== | ===== IPT ===== | ||
- | IPT stands for IP Traffic Monitoring. If Auto-Discovery is enabled in the [[admin-iptraffic|IP Traffic Monitoring]] menu, every client | + | IPT stands for IP Traffic Monitoring. Enabling IPT puts inactive/ |
- | + | ||
- | \\ | + | |
\\ | \\ |