Basic Routing Question


#1

So, I’ve inherited a network from a previous administrator who unfortunately went out on disability with medical issues and is in no mental condition to give me much of a clue about how he had things set up. I’m looking at our incoming traffic router’s configuration and I see this code (specific IPs/Macs redacted for my company’s privacy):

=================================
interfaces {
ethernet eth0 {
address (X.X.X.161/28)
description Inside
duplex auto
hw-id (mac)
smp_affinity auto
speed auto
}
ethernet eth1 {
address (A.B.C.D/24)
description Outside
duplex auto
hw-id (mac)
smp_affinity auto
speed auto
}
loopback lo {
}
}
protocols {
static {
route 0.0.0.0/0 {
next-hop (A.B.C.1) {
}
}
route (X.X.X.160/28) {
next-hop (X.X.X.161) {
}
}
}
}
===================================

I have reason to believe he changed it a couple of weeks ago (while in a rough mental state), and there have been some internal networking problems since the change.

If I understand that second route correctly, isn’t internal traffic stuck in an endless loop right back to this router? Or is that normal somehow?


#2

As per my understanding that static route to (X.X.X.160/28) will never be used as long as the network is ‘directly connected’ to the interface eth0.
You could check with:

show ip route

Best Regards,
Michael