Skip to Main Content

Infrastructure Software

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!

Is it bad to have two default routes (same gateway) one tied to NIC,one not?

DubbsNixNov 20 2019 — edited Nov 29 2019

Basically as per the subject.  Whar are the conceivable issues with having to default routes whose only difference is one is tied to a network interface and one is not. i.e.

netstat -rn

Routing Table: IPv4
  Destination           Gateway           Flags  Ref     Use     Interface
-------------------- -------------------- ----- ----- ---------- ---------
0.0.0.0              100.100.XXX.XXX     UG        1          0
default              100.XXX.XXX.XXX     2       6380 net0
default              100.XXX.XXX.XXX     2     268875

For extra points is there a way to remove a specific default route, as running route delete seems to always remove the first entry displayed from netstat -rn regardless of of whether you specify a NIC or not.

thanks,

Dave

Comments
Post Details
Added on Nov 20 2019
3 comments
1,031 views