ne:cisco
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
| ne:cisco [2023/09/02 14:55] – admin | ne:cisco [2026/07/05 13:49] (aktuell) – [DHCP] admin | ||
|---|---|---|---|
| Zeile 7: | Zeile 7: | ||
| * [[https:// | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[.: | ||
| ==== Login & Password ==== | ==== Login & Password ==== | ||
| Zeile 83: | Zeile 85: | ||
| https:// | https:// | ||
| + | == Anatomy of an Option 121 Packet == | ||
| + | |||
| + | Option 121 data is sent as a string of hexadecimal bytes. It format follows a strict pattern for each route: | ||
| + | |||
| + | - **Width (1 byte)**: The subnet mask in CIDR notation (e.g., 24 for a 255.255.255.0 mask). | ||
| + | - **Destination IP (variable length)**: The target network. \\ Trick: It only includes the bytes required by the subnet mask. If it's a /24, it sends 3 bytes. If it's a /8, it only sends 1 byte! | ||
| + | - **Router IP (4 bytes)**: The gateway address that knows how to get to that destination. | ||
| + | - Cisco supports up to 10 routes, they are just concatenated together | ||
| + | |||
| + | **Example: ** | ||
| + | You want to tell a client: "To get to network 10.0.0.0/8, use the gateway 192.168.1.254." | ||
| + | The hex payload would look like this: | ||
| + | 08 0A C0 A8 01 FE | ||
| + | > 08: The subnet mask (/8). | ||
| + | > 0A: The destination network (10 in hex). Because it's a /8, it only needs one byte. | ||
| + | > C0 A8 01 FE: The gateway IP (192.168.1.254 in hex). | ||
| === DHCP-lease erneuern === | === DHCP-lease erneuern === | ||
ne/cisco.1693666541.txt.gz · Zuletzt geändert: von admin
