04-22-2022 04:32 AM
Hello everyone,
I am fairly new to Cisco and network configs, and have a question regarding the mentioned products.
I would like to setup a router on a stick with the 2951 router and the ES3 module acting as a switch.
Situation: 1 pc, 1 server connected to the ES3 module, the module itself is connected internally through 0/25 0/26 ports (if I am correct?) to the router. I want to create several vlans assigned to specific ports on the module.
I have tried to do this by myself, with no luck so far. What I did:
On the router created a 1/0.10 interface, IP 192.168.10.1, encapsulation dot1q
On the switch int 0/26 made it as a trunk port, assigned vlan 10
Gi0/1-4 interfaces assigned to vlan 10
Currently the vlan 10 interface has an IP of 192.168.10.2
From the PC (IP 192.168.10.5) I can ping 10.1 and 10.2, but I cannot ping the server 10.25 (same from the server, PC not pingable)
Is there some sort of setting I am missing, or is this the wrong approach?
04-22-2022 04:51 AM
You did not say where the server is connected? Is it connected on the same vlan?
Which network mask are you using?
04-22-2022 05:57 AM
Yes, the server is in the same vlan.
Masks are 255.255.255.0 everywhere I think.
04-22-2022 06:29 AM
Should be pinging. Does your server can reply ping? Isn´t there any firewall enable on server?
04-22-2022 07:11 AM
04-22-2022 07:45 AM
Both server and PC interface are on the same vlan right?
Can you share the show run ?
04-22-2022 08:18 AM
04-22-2022 08:53 AM
Well, that could be. If you have two interfaces and both are on the same vlan and PCs are configured with static IP address on the same network, then you need to ping each other. Pretty basic stuff.
I´d like to see some output from the module like:
show run-config
show int status
show run int Gi0/1
show run in Gi0/2
04-22-2022 11:08 PM
04-23-2022 06:06 AM
The (IMHO) non-intuitive thing about these sort of etherswitch modules is that the router is the physical home and power supply to the switch, but they are devices with separate configs and software. The etherswitch module also probably has more routing throughput than the 2951 if has L3 routing available. This is what a SM-ES2-16-P installed in a 2951 looks like in my lab. Here is the 2951 side.
EBD-2951#sh cdp nei Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge S - Switch, H - Host, I - IGMP, r - Repeater, P - Phone, D - Remote, C - CVTA, M - Two-port Mac Relay Device ID Local Intrfce Holdtme Capability Platform Port ID EBD-SM-ES2-16-P.ebd.net Gig 2/1 122 S I SM-ES2-16 Gig 0/17 EBD-SM-ES2-16-P.ebd.net Gig 2/0 122 S I SM-ES2-16 Gig 0/18 EBD-2951#sh run | b 2/0$ interface GigabitEthernet2/0 no ip address ! interface GigabitEthernet2/1 no ip address !
Here is the ES side.
EBD-SM-ES2-16-P#sh cdp nei Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge S - Switch, H - Host, I - IGMP, r - Repeater, P - Phone, D - Remote, C - CVTA, M - Two-port Mac Relay Device ID Local Intrfce Holdtme Capability Platform Port ID EBD-3750E.ebd.net Gig 0/1 155 R S I WS-C3750E Gig 1/0/32 EBD-3750E.ebd.net Fas 0/2 155 R S I WS-C3750E Gig 2/0/32 EBD-2951.ebd.net Gig 0/18 160 R B S CISCO2951 Gig 2/0 EBD-2951.ebd.net Gig 0/17 167 R B S CISCO2951 Gig 2/1 EBD-SM-ES2-16-P#sh run | b 0/17$ interface GigabitEthernet0/17 switchport access vlan 999 switchport mode access ! interface GigabitEthernet0/18 switchport access vlan 999 switchport mode access !
In practical terms, that means the router port G2/0 connects to switch port G0/18 and router port G2/1 connects to switch port switch port G0/17 without a patch cord. Hopefully that helps you understand the devices interconnect.
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