DhcpReservation
One DHCP static reservation. MAC → IP binding on the OPNsense LAN.
public sealed record DhcpReservation : IEquatable<DhcpReservation>
1. Constructors
1.1. DhcpReservation(string, string, string)
One DHCP static reservation. MAC → IP binding on the OPNsense LAN.
public DhcpReservation(string Mac, string Ip, string Hostname)
| Name | Type | Description |
|---|---|---|
Mac |
string |
|
Ip |
string |
|
Hostname |
string |
2. Properties
2.1. Hostname
public string Hostname { get; init; }
2.2. Ip
public string Ip { get; init; }
2.3. Mac
public string Mac { get; init; }
3. Operators
3.1. operator !=(DhcpReservation, DhcpReservation)
public static bool operator !=(DhcpReservation left, DhcpReservation right)
| Name | Type | Description |
|---|---|---|
left |
DhcpReservation |
|
right |
DhcpReservation |
Returns: bool
3.2. operator ==(DhcpReservation, DhcpReservation)
public static bool operator ==(DhcpReservation left, DhcpReservation right)
| Name | Type | Description |
|---|---|---|
left |
DhcpReservation |
|
right |
DhcpReservation |
Returns: bool