- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
vi /etc/sysconfig/network/ifroute-eth0
now add entry in the below format
<TargetNetwork> <GatewayAddress> <Netmask> <Interface>
Similarly for eth1 also do the same.
vi /etc/sysconfig/network/ifroute-eth1
In your case
(eg)
10.9.32.0 10.9.40.1 255.255.224.0 eth1
Once done restart networkd
systemctl restart systemd-networkd
ip route show