Creating route objects
How do I create a route object?
Each interdomain route that originates from an Autonomous System (AS) can be specified in the APNIC Whois Database by creating an object called "route" for IPv4 and "route6" for IPv6.Before you create this object, you will need to check that:
- The following two objects exist in the whois database:
- inetnum the parent range of the route object you are creating
- aut-num the AS number where your route will originate from
- The mnt-routes attribute exist in both the inetnum and aut-num objects and the maintainer used for these two mnt-routes attributes are the same. For more information on authorization please see Updating information in the APNIC Whois Database.
To create the route object for 192.168.1.0/22.
STEP 1: Check the inetnum, and aut-num, and maintainer used for the mnt-routes attribute.
The parent inetnum object.
inetnum: 192.168.0.0 - 192.168.3.255
netname: EXAMPLENET
descr: Example Internet Service Provider
country: AU
admin-c: XY123-AP
tech-c: XY123-AP
status: ALLOCATED PORTABLE
remarks: This is an example
notify: xyz@example.net
mnt-by: APNIC-HM
mnt-lower: MAINT-AU-EXAMPLE
mnt-routes: MAINTROUTE-AU-EXAMPLE
changed: hm-changed@apnic.net 20080808
source: APNIC
The aut-num object, where the route will be announced.
aut-num: AS1234
as-name: Example ASN
descr: ASN announcing 192.168.1.0/22 prefix
country: AU
member-of: as-set1234
import: AS4567
export: AS4567
admin-c: XY123-AP
tech-c: XY123-AP
notify: xyz@example.net
mnt-by: MAINT-AU-EXAMPLE
mnt-routes: MAINTROUTE-AU-EXAMPLE
changed: hm-changed@apnic.net 20080808
source: APNIC
If you need to update the inetnum that has APNIC-HM for the mnt-by attribute, please email helpdesk@apnic.net for assistance.
STEP 2: Obtain the route object template
Make sure that the route object has a mnt-routes attribute and the maintainer used for mnt-routes is the same as that of the two objects above.
route: 192.168.1.0/22
descr: Example Route object
origin: AS1234
country: AU
notify: xyz@example.net
mnt-by: MAINT-AU-EXAMPLE
mnt-routes: MAINTROUTE-AU-EXAMPLE
changed: hm-changed@apnic.net 20080808
source: APNIC
For more information see the route object template for IPv6.
STEP 3: Creating the object
You can use either of the following ways:
- Creating the route object using an email update.
Simply email the route object with the password of the mnt-by maintainer to auto-dbm@apnic.net. Make sure that the email is sent in plain text format and not in HTML.
route: 192.168.1.0/22
descr: Example Route object
origin: AS1234
country: AU
notify: xyz@example.net
mnt-routes: MAINTROUTE-AU-EXAMPLE
mnt-by: MAINT-AU-EXAMPLE
changed: hm-changed@apnic.net 20080808
source: APNIC
password: xxxxxx - Creating the route object in MyAPNIC.
- Check if the maintainer for the mnt-by attribute of the route object is added in MyAPNIC under "Resource Management/Maintainer".
- In the Resource Management/Whois update, select "add" for the route object and complete the template.
