Reply to Message

View discussion in a popup

Replying to:
deepak88
Contributor
Contributor

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

Reply
0 Kudos