Skip to Main Content

Core Infrastructure

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Networking Routing multiple subnet using Networkmanager keyfile

user-6aaxkMar 5 2023 — edited Mar 5 2023

Hello All,
Using Oracle Linux OS 9.1 Version. We tried to set up network interface with different subnets attaching into the VM. Interfaces are UP state but only one network subnet is reachable, even written route and rule for individual interfaces. The problem still persistent. Note : Both interfaces are UP state. But only one network is reachable. Firewall disabled and ingress rules are allowed

Ex : Subnet 1 ens3: 10.10.20.0/24 g/w 10.10.20.1

   Subnet 2 ens4: 10.10.30.0/24  g/w 10.10.30.1

ip route

ip route default via 10.10.30.1 dev ens3 proto dhcp src 10.10.30.3 metric 100
default via 10.10.20.1 dev ens4 proto dhcp src 10.10.20.3 metric 101
10.10.20.0/24 dev ens4 proto kernel scope link src 10.10.20.3 metric 101
10.10.30.0/24 dev ens3 proto kernel scope link src 10.10.30.3 metric 100

sysctl -w net.ipv4.ip_forward=1.

Kindly sort it out, anyone please

Comments
Post Details
Added on Mar 5 2023
0 comments
120 views