4. How does a host determine its global IPv6 address in a stateless configuration? What role do router advertisement (RA) messages play in this process, and what information do these messages typically contain?
If the host has a link-local address, it can determine the global address. Router advertisement messages are the messages sent by routers on the link-local network. It includes the gloabal netwrok prefix, the router IP address, and possibly DNS info.
In a stateless configuration, a host determines its global IPv6 address if it already has a link-local address. This process involves router advertisement (RA) messages sent by routers on the link-local network. RA messages typically contain essential information such as the global network prefix, the IP address of the router, and potentially DNS information.