# Configuring PADN Messages

You can configure PPPoE to receive PPPoE Active Discovery Network (PADN) messages. When a client connects to a PPPoE server, such as an E Series router, the client receives configuration information from the server via the PADN message. This PADN information associates the PPPoE sessions with a set of routes. The client can use this set of routes to determine which session to use based on the destination IP address.

The PADN packet data is relevant only when the PPP network layer is “ up.” To reach an up state, PPP alerts PPPoE after the Network Control Protocol (NCP) completes negotiation.

The routes of interest can be maintained on the router in domain maps.

| Note: For information about domain mapping, see JunosE Broadband Access Configuration Guide.

aaa domain-map

- Use to map a domain name between a PPP client’s domain name and a virtual router.
- Example
  host1(config)#aaa domain-map xyz.com host1(config-domain-map)#padn 10.2.25.6 255.255.255.0 10 host1(config-domain-map)#padn 20.2.0.0 255.255.0.0 11
- Use the no version to delete the map entry.
- See aaa domain-map.

padn

- Use to configure PADN parameters for a domain name.
- You may send up to a maximum of 16 PADNs per domain name.
- Example
  host1(config-domain-map)#padn 10.2.25.6 255.255.255.255 13
- Use the no version to delete PADN parameters for the domain name.
- See padn.