0

My Aruba 2930M switch cant reach the NTP servers.

Below is the following conf:

    #####################

    OOBM

IP Address 192.168.90.34

IP Version IPV4

IP Mode Manual

Subnet Mask 255.255.255.0

Gateway 192.168.90.1

DEFAULT_VLAN

IP Config: Manual

IP Address: 192.168.2.107

IPv4 Default Gateway: 192.168.2.1

IPv4 Subnet Mask: 255.255.255.0

    ###############

enter image description here

2
  • 1
    Can the switch ping 192.168.46.148? Does the server actually work?
    – Zac67
    Commented Jan 8, 2021 at 10:55
  • 2
    I've never used an Aruba device but, in Cisco devices when you enable ip routing you can no longer use a default gateway statement and have to use a route statement instead. If that's true for Aruba devices as well, you look to be missing something like ip route 0.0.0.0 0.0.0.0 192.168.2.1.
    – Jesse P.
    Commented Jan 8, 2021 at 11:07

1 Answer 1

1

It's poorly documented but Jesse's hit the nail on the head:

The switch uses the IP default gateway only while operating as a Layer 2 device. While routing is enabled on the switch, the IP default gateway is not used.

from https://support.hpe.com/hpesc/public/docDisplay?docId=emr_na-c04725294

So, you'll need to add

ip route 0.0.0.0 0.0.0.0 192.168.2.1
11
  • Nice. I didn't want to do the research earlier to confirm since I was busy working.
    – Jesse P.
    Commented Jan 9, 2021 at 2:02
  • Should i add 0.0.0.0.0.0.0.0 or a real IP?
    – Kikomi
    Commented Jan 10, 2021 at 10:41
  • 2
    The command is ip route <network address> <network mask> <gateway>, so 0.0.0.0 0.0.0.0 is the network/mask that fits any destination address - the default route. Just add it like that.
    – Zac67
    Commented Jan 10, 2021 at 10:54
  • I added the (ip route 0.0.0.0 0.0.0.0 192.168.2.1) but still have the NTP server is unreachable message
    – Kikomi
    Commented Jan 11, 2021 at 9:52
  • Again: can the switch ping that IP address? Have you verified the server is working and accepting queries?
    – Zac67
    Commented Jan 11, 2021 at 10:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.