How to create additional table-id in OpenShift 4
Using Agent-based installer in OCP 4.13.
RHOCP has default 254 main routing table ID by default.
in our environment, we have two physical interfaces (eth0 and eth1) and both required a default gateway. To achieve this, we need a second routing table-ID (eg. 200 for data).
In the sample file below, the outcome is to use table-id 200 for eth1 but it doesn't exist during nodes provisioning. The new routing table in /etc/iproutes/rt_table needs to be created during OCP deployment. Can this be done? How can we achieved using agent-config.yaml file?
- destination: 0.0.0.0/0
next-hop-address: 10..x.x.1
next-hop-interface: data.200
table-id: 200
Need this approach because eth0 cannot have two different default gatway. Need additional routing table with eth0 reisde in 254 main table and eth1 reside in table-id 200.