Static route for Nag XI server
Posted: Fri Nov 02, 2018 11:05 am
I'm setting up a Nag XI server and I cant reach other hosts from different subnets. I feel that some static routes need to be installed to tell the Nag server where to go. We have other servers in the environment that can reach any of our other servers (Cisco ISE/Prime, ESX, AD...etc)in any of our 3 data centers. I was able to hit all the devices that are local to the 10.10.254.xxx subnet and they are set for monitoring. I listed some of the output from the Nag server below.
[root@localhost network-scripts]# ip addr show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group def
ault qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: ens33: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state U
P group default qlen 1000
link/ether 00:50:56:a8:ec:17 brd ff:ff:ff:ff:ff:ff
inet 10.10.254.83/8 brd 10.255.255.255 scope global noprefixroute ens33
valid_lft forever preferred_lft forever
inet6 fe80::250:56ff:fea8:ec17/64 scope link
valid_lft forever preferred_lft forever
[root@localhost ~]# ip route list
default via 10.10.254.6 dev ens33 proto static metric 100
10.0.0.0/8 dev ens33 proto kernel scope link src 10.10.254.83 metric 100
Nag server subnet
10.10.254.83/24 DFGW 10.10.254.6
cant reach hosts on subnets 10.100.xxx.xxx or 10.150.xxx.xxx.
When I ping from the server:
[root@localhost ~]# ping 10.10.254.6 <---Default GW for the subnet
PING 10.10.254.6 (10.10.254.6) 56(84) bytes of data.
64 bytes from 10.10.254.6: icmp_seq=1 ttl=255 time=2.53 ms
64 bytes from 10.10.254.6: icmp_seq=2 ttl=255 time=2.38 ms
64 bytes from 10.10.254.6: icmp_seq=3 ttl=255 time=1.69 ms
[root@localhost ~]# ping 10.100.254.6 <---Default GW for the subnet
PING 10.100.254.6 (10.100.254.6) 56(84) bytes of data.
From 10.10.254.83 icmp_seq=1 Destination Host Unreachable
From 10.10.254.83 icmp_seq=2 Destination Host Unreachable
From 10.10.254.83 icmp_seq=3 Destination Host Unreachable
From 10.10.254.83 icmp_seq=4 Destination Host Unreachable
....
[root@localhost ~]# ping 10.150.254.6 <---Default GW for the subnet
PING 10.150.254.6 (10.150.254.6) 56(84) bytes of data.
From 10.10.254.83 icmp_seq=1 Destination Host Unreachable
From 10.10.254.83 icmp_seq=2 Destination Host Unreachable
From 10.10.254.83 icmp_seq=3 Destination Host Unreachable
From 10.10.254.83 icmp_seq=4 Destination Host Unreachable
routing tables from intersite routers.
O 10.10.254.0/24 [110/2] via 10.255.10.241, 7w0d, Port-channel10.901
C 10.10.254.5/32 is directly connected, Loopback2
....
B 10.100.0.0/16 [20/0] via 10.249.0.100, 4d08h
B 10.100.252.0/24 [20/2] via 10.249.0.100, 4d08h
B 10.100.253.240/28 [20/101] via 10.249.0.100, 4d08h
B 10.100.254.0/24 [20/2] via 10.249.0.100, 4d08h
....
B 10.150.0.0/16 [20/0] via 10.249.0.150, 4d08h
B 10.150.254.0/24 [20/101] via 10.249.0.150, 4d08h
[root@localhost network-scripts]# ip addr show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group def
ault qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: ens33: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state U
P group default qlen 1000
link/ether 00:50:56:a8:ec:17 brd ff:ff:ff:ff:ff:ff
inet 10.10.254.83/8 brd 10.255.255.255 scope global noprefixroute ens33
valid_lft forever preferred_lft forever
inet6 fe80::250:56ff:fea8:ec17/64 scope link
valid_lft forever preferred_lft forever
[root@localhost ~]# ip route list
default via 10.10.254.6 dev ens33 proto static metric 100
10.0.0.0/8 dev ens33 proto kernel scope link src 10.10.254.83 metric 100
Nag server subnet
10.10.254.83/24 DFGW 10.10.254.6
cant reach hosts on subnets 10.100.xxx.xxx or 10.150.xxx.xxx.
When I ping from the server:
[root@localhost ~]# ping 10.10.254.6 <---Default GW for the subnet
PING 10.10.254.6 (10.10.254.6) 56(84) bytes of data.
64 bytes from 10.10.254.6: icmp_seq=1 ttl=255 time=2.53 ms
64 bytes from 10.10.254.6: icmp_seq=2 ttl=255 time=2.38 ms
64 bytes from 10.10.254.6: icmp_seq=3 ttl=255 time=1.69 ms
[root@localhost ~]# ping 10.100.254.6 <---Default GW for the subnet
PING 10.100.254.6 (10.100.254.6) 56(84) bytes of data.
From 10.10.254.83 icmp_seq=1 Destination Host Unreachable
From 10.10.254.83 icmp_seq=2 Destination Host Unreachable
From 10.10.254.83 icmp_seq=3 Destination Host Unreachable
From 10.10.254.83 icmp_seq=4 Destination Host Unreachable
....
[root@localhost ~]# ping 10.150.254.6 <---Default GW for the subnet
PING 10.150.254.6 (10.150.254.6) 56(84) bytes of data.
From 10.10.254.83 icmp_seq=1 Destination Host Unreachable
From 10.10.254.83 icmp_seq=2 Destination Host Unreachable
From 10.10.254.83 icmp_seq=3 Destination Host Unreachable
From 10.10.254.83 icmp_seq=4 Destination Host Unreachable
routing tables from intersite routers.
O 10.10.254.0/24 [110/2] via 10.255.10.241, 7w0d, Port-channel10.901
C 10.10.254.5/32 is directly connected, Loopback2
....
B 10.100.0.0/16 [20/0] via 10.249.0.100, 4d08h
B 10.100.252.0/24 [20/2] via 10.249.0.100, 4d08h
B 10.100.253.240/28 [20/101] via 10.249.0.100, 4d08h
B 10.100.254.0/24 [20/2] via 10.249.0.100, 4d08h
....
B 10.150.0.0/16 [20/0] via 10.249.0.150, 4d08h
B 10.150.254.0/24 [20/101] via 10.249.0.150, 4d08h