Source based routing in RH 7 with nmcli
Hello,
is it possible to setup source based routing only by using nmcli ?
ie ->
put following line in /etc/iproute2/rt_tables
88 MGMT
there are two interfaces on system, eno1 and eno2, let eno1 be management and eno2 be public usage,
without NetworkManager I would setup source based routing with -
/etc/sysconfig/network-scripts/rule-eno1
from 10.10.10.0/24 table MGMT
/etc/sysconfig/network-scripts/route-eno1
default via 10.10.10.1 dev eno1 table MGMT
/etc/sysconfig/network-scripts/ifcfg-eno2
IPADDR=192.168.7.99
PREFIX=24
GATEWAY=192.168.7.1
and that is it.
I'd like to be able to setup all above using only nmcli (using numeric for rt_table is also fine),
any hints ?
TIA,
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
