Saturday, April 3, 2010

Switch's mgmt ip is not reachable

I couldn't connect to some switches from my box at work. Im'ed the admin who left the company about it and his response was "ya gotta connect to xyz machine and telnet from there, and there seems to be some problem connecting remotely".

These guys dont think systematically: just adding something like the following is enough.

"interface Vlan3
ip address 172.31.192.253 255.255.248.0"

In this set up, you can connect to this switch from 172.31.192.0/21, since connecting to 172.31.192.253 doesn't require any route, you just use the broadcast address to find the neighbor.

If you want to connect to this switch from other vlans (across tunnels or not), the switch needs a way to find remote ips. So, it requires gateway of sorts.

No comments: