cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
348
Views
0
Helpful
3
Replies

Routing Issue

zekebashi
Level 4
Level 4

Hello, 

I built a very simply topology which I'll be building for a new project. Here's the summary: 

Sw_02: Distribution Switch 

                  SVI  VLAN100: 100.100.100.254/24 --- Used for for the default gateway for the server farm and workstation

                  F1/1 100.100.90.1/24      --- Used to connect Sw_02 to Sw_01

           F1/0: Trunk  

           F1/2: Trunk 

Windows Server2016: 100.100.100.99/24

PC1: 100.100.100.50/24

--------------------------------------------------------------

Ping results: 

SW_02#ping 100.100.100.50

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 100.100.100.50, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)
SW_02#


PC1> ping 100.100.100.254
host (100.100.100.254) not reachable

PC1>

---------------------------------------------------------

Anything that I am missing here? 

Thanks in advance, 

~zK 

        

        

2 Accepted Solutions

Accepted Solutions

Hello,

both server and PC are connected to the same switch, in the same VLAN, so if both ports on SW_02 are in the same VLAN, they should be able to connect, without any Layer 3 connection. Why are F1/1and F1/2 configured as trunks ? What happens if you simply make them access ports in VLAN 100 ?

If possible, post the configuration of SW_02.

View solution in original post

Hello

As stated when there s only one vlan you dont have to have routing enabled as commutation would be all l2 unless you want the hosts to communicate to other vlans or off the vlan and out of your network.

Sw2

conf t
Int vlan 100
ip address 100.100.100.254 255.255.255.0
no shut

vlan 100
exit

ip route 0.0.0.0 0.0.0.0 <nexthop address>  off your LAN possibly pointing to your wan rtr.)

int x/x
description to Sw1
Switchport trunk encp dot 1
switchport mode trunk

int x/x
description to Sw3
Switchport trunk encp dot 1
switchport mode trunk

ip routing


Sw1

int x/x
description to Sw2
Switchport trunk encp dot 1
switchport mode trunk

no ip routing


Sw3

conf t

int x/x
description to Sw2
Switchport trunk encp dot 1
switchport mode trunk

no ip routing


any of the switch(s)

int x/x/
description access ports for server or hosts
switchport host
switchport access vlan 100
no shut

Make sure all hosts have a default-gateway pointing to the svi on the vlan they are assigned to

res

Paul.


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

View solution in original post

3 Replies 3

Hello,

both server and PC are connected to the same switch, in the same VLAN, so if both ports on SW_02 are in the same VLAN, they should be able to connect, without any Layer 3 connection. Why are F1/1and F1/2 configured as trunks ? What happens if you simply make them access ports in VLAN 100 ?

If possible, post the configuration of SW_02.

Hello

As stated when there s only one vlan you dont have to have routing enabled as commutation would be all l2 unless you want the hosts to communicate to other vlans or off the vlan and out of your network.

Sw2

conf t
Int vlan 100
ip address 100.100.100.254 255.255.255.0
no shut

vlan 100
exit

ip route 0.0.0.0 0.0.0.0 <nexthop address>  off your LAN possibly pointing to your wan rtr.)

int x/x
description to Sw1
Switchport trunk encp dot 1
switchport mode trunk

int x/x
description to Sw3
Switchport trunk encp dot 1
switchport mode trunk

ip routing


Sw1

int x/x
description to Sw2
Switchport trunk encp dot 1
switchport mode trunk

no ip routing


Sw3

conf t

int x/x
description to Sw2
Switchport trunk encp dot 1
switchport mode trunk

no ip routing


any of the switch(s)

int x/x/
description access ports for server or hosts
switchport host
switchport access vlan 100
no shut

Make sure all hosts have a default-gateway pointing to the svi on the vlan they are assigned to

res

Paul.


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

pdriver  & gpauwen  

I ended up making some changes on Sw_02 interfaces which are connected to the downstream devices. I changed one interface to an Access port and the other one to a Trunk port with the native vlan being the vlan the downstream device is a member of.

Thank you, both!

Review Cisco Networking for a $25 gift card