-1

i know that if i want to access to switch remotly (for configuration) using TELNET from a network where the switch dosen't belong using ip default-gateway.

but what if i want to access to ths switch remotly from another network (different than the 1st network), does switch accept 2 or more ip default-gateway ?. thank you.

  • 2
    The default gateway needs to be able to connect anywhere, otherwise it's unsuited as such. – Zac67 Oct 5 '18 at 21:47
  • Did any answer help you? If so, you should accept the answer so that the question doesn't keep popping up forever, looking for an answer. Alternatively, you can provide and accept your own answer. – Ron Maupin Dec 25 '18 at 9:37
1

A default gateway for switch management is just like a default gateway in any other host. The switch management acts like a host on a network. The configured gateway for a host must be on the same network as the host itself. The gateway is a host on the network that knows how to reach other networks, and traffic from a host that is destined to other networks is sent to the gateway configured in the host.

See the answers to Meaning of the ip default-gateway L2 switch for an explanation of what happens.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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