04-25-2024 06:53 AM
Hi,
I am trying to set up an SSH connection to my switch, but right now there is some lower level problem. I have set up my FastEthernet0 interface to ip address dhcp and the command show interfaces FastEthernet0 shows the correct address. Even if I try to ping something from my switch it show the correct gateway address for the subnet, so DHCP correctly assigned the addresses.
My Vlan0 is shutdown, but as I understand only FaE0 must be no shut for this to work. I have tried setting the ip address dhcp to Vlan0 instead, but that is not working either.
However, unfortunately I cannot ping to or from my switch in any way.
What am I doing wrong?
04-25-2024 07:00 AM
from which device you try to connect ?
what is the link between SW and this device
MHM
04-25-2024 07:46 AM
ok, I might have answered my question..
To test this out I have now connected the FaE0 to a dedicated temporary firewall on a physical interface and the same subnet both my switch and my management laptop. Both of them get the correct IP from DHCP. Both of them can ping each other in the this configuration.
However, initially I tried something different. I have configured one port of this switch as switchport mode access with a specific VLAN. Then I have plugged this port (GiE) to the FastEthernet0 port on the same switch. Same again, both laptop and FaE0 are on the same subnet. Both get the correct IP from DHCP. But now my switch is not pingable, nor can it ping anyone else, including my laptop.
So I think I am doing something wrong here. Can I not "hack" the OOB port in such a way? Does it truly mean I have to use another hardware set to connect to the switch over the OOB, because by plugging the same switch to itself essentially creates a switching loop, even though they are on a dedicated switchport VLAN?
04-25-2024 08:07 AM
Friends, you have interfafe abd it is l3 interface so there is no l2, the link connected SW to FW
Even if you connect to ant port abd use same subnet this not work
That different when you config vlan which have l2 and can connect to l2 port assign to that vlan
MHM
04-25-2024 08:18 AM
Sorry, I don't really understand what you are trying to say here..
The initial configuration was also L3, because OOB FastEthernet0 was connected to a FW via the _same switch_. Meaning, physically connected FastEthernet0 to GiE17, which had switchport access configured and the laptop is on the same subnet (and VLAN) and the FastEthernet0. I mean, you can't have L3 without L2
But I am not able to manage my switch from the same switch, right? I must put a L3 device between the FW and the FastEthernet0 and configure routing on my FW, so that I can then manage the switch, right?
04-25-2024 08:28 AM
Interface connection to FW did have vlan?
Vlan is not assign to l3 port
That make PC abd interference connect to FW isolated.
MHM
04-25-2024 07:56 AM
by a "different set of hardware" I essentially mean putting a router in between the OOB port is required for this work, right? Can't use just plain Layer 2 here?
04-26-2024 12:10 AM
Hello
Can you post the switch cfg please.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide