Default routes for route domains

I’m standing up a new Big-IP cluster and am trying to use route domains for the first time. Initially there will be two route domains but others may be added in the future. I’m trying to keep everything in one partition and this cluster will primary be used for NATs and SNATs. Is it possible to add routes for specific route domains?

Primary VLAN: 172.16.88.0/24 (Route Domain 0)
Secondary VLAN: 10.21.100.0/24 (Route Domain 100)

Default Route 
Destination: 0.0.0.0
Netmask:  0.0.0.0
Resource: Use Gateway
Gateway Address: 172.16.88.1

RD.100_Default
Destination: 0.0.0.0%100
Netmask:  0.0.0.0
Resource: Use Gateway
Gateway Address: 10.21.100.1%100

Hi Jason0,

you example is 100% correct. The RD-sufix needs to be added to the

Destination

and

Gateway Address

to make this route available for a given Route Domain.

Note: You can test/troubleshoot the individual routing tables on the command line by using thecommand…

rdexec
[user@hostname:Active:Standalone] ~  rdexec -?
usage: rdexec   []
[user@hostname:Active:Standalone] ~  rdexec 1 traceroute 8.8.8.8
traceroute to 8.8.8.8 (8.8.8.8), 30 hops max, 60 byte packets
 1  switch-mi-01.domain.de (172.25.0.2)  3.398 ms  3.236 ms  3.676 ms
 2  192.168.254.2 (192.168.254.2)  3.817 ms  4.072 ms  4.242 ms^C
[user@hostname:Active:Standalone] ~  rdexec 1 route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
127.1.1.0       *               255.255.255.0   U     0      0        0 tmm
172.25.0.0      *               255.255.0.0     U     0      0        0 VLAN_MYVLAN
default         172.25.0.1      0.0.0.0         UG    0      0        0 VLAN_MYVLAN

Cheers, Kai