<TREX Logo>

[PDF]Primary Service: Unicast Peering

This is the most basic service that Internet Exchange Points provide. Internet Service Providers connect to TREX and sign up for Unicast Peering so that they can exchange their customers' traffic between each other.

The VLAN can be requested in native form without any encapsulation in a port, or encapsulated with IEEE802.1q.

The Member Requirements for Unicast Peering service are on a separate page, because they are common to some other services. One of the requirements is to peer with the exchange point itself. Members can include this logo on their websites: Proud Member

Address Generation

IPv4 addresses are assigned by TREX, but the IPv6 addresses on this VLAN are formed as follows:

	2001:07F8:001D:0004:0000:0000:ASN#:RTRN
where
ASN#
This is the AS number of the router having this address, in hexadecimal. So AS12345 becomes 3039 and AS1234 becomes 04D2 for example.
RTRN
This is the router number, usually 0001, but if the member has more than one router this can be higher.
Applying this algorithm for the first exchange point router, one gets the following result:
	2001:07F8:001D:0004:0000:0000:72F8:0001
or in a shorter format:
	2001:7f8:1d:4::72f8:1

32-bit Autonomous Systems

Generating IPv6 addresses for 32-bit ASNs is very similar, the structure is:

	2001:07F8:001D:0004:0000:ASHI:ASLO:RTRN
where
ASHI
This is the upper part or high 16 bits of the AS number.
ASLO
This is the lower part or low 16 bits of the AS number.
MAC address generation for 32-bit ASNs may be trickier, because 10-xx-xx may be assigned to non-private use. However, 10-00-03 is not assigned, so it's safe to use for now.

MAC Addresses

Ethernet MAC addresses are generated similarly to IPv6 addresses. We are using the local OUI 0x0E on the shared medium:

	0E:RN:AS:HI:AS:LO
So again, the first exchange point router would become:
	0E:01:00:00:72:F8

©2003-2010 TREX Tampere Region Exchange Oy