Category: Networking

Endianness

Let’s talk about byte ordering. You look at your packet bytes in Wireshark and see this data for a 16-bit integer field: If the data is said to be big-endian, then it is 0x0c4a = 3146 in decimal. If the data is said to be little-endian, then it is 0x4a0c = 18956 in decimal. So, […]

DHCPv6 Relay

Following my earlier post about introduction to DHCPv6, let’s see how DHCPv6 relaying works in practice. In VLAN 60 there is the DHCPv6 client but no DHCPv6 server. The subnet-attached router is configured as DHCPv6 relay, using the DHCPv6 server address from VLAN 41. The components in this setup are: I’ll capture the traffic on […]

Introduction to DHCPv6

Dynamic Host Configuration Protocol for IPv6 (DHCPv6) is just that: a protocol that can be used for host configuration, defined in RFC 8415. In this post I will introduce some basics of the protocol. DHCPv6 protocol A DHCPv6 message for client-server conversation consists of message type (1 byte), transaction ID (3 bytes) and variable number […]