cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
6344
Views
5
Helpful
20
Replies

I cannot ping to native VLAN hosts. ?

jordan-jj
Level 1
Level 1

I have two vlans  in L3 (3560)and this is trunked to l2 (2950) switch ..

 Both switch have native VLAN1  but there is around 20 host on L2 switch in that VLAN .   

 Now my host from L3 cannot ping the native vlans  host of L2 switch .. 

Things i tried

Ip routing enabled

Intervlan is working between other vlan like from vlan 10 to  20

20 Replies 20

Just to be sure that I understand it correctly the default gateway configured on user PC is 192.168.1.1 and that address is on draytrek router?

Yes . 

Could you post the output of show ip interface brief from the L3 router and the output of show ip route from that router?

In draytrek The router's lan interface is given 192.168.1.1 and wan as 192.168.2.5 

 Also There is no routing configured only  its run by default configuration .. 

L3 Switch

show ip route

 

3560SW#show ip route

Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP

       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area

       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2

       E1 - OSPF external type 1, E2 - OSPF external type 2

       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2

       ia - IS-IS inter area, * - candidate default, U - per-user static route

       o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP

       + - replicated route, % - next hop override

 

Gateway of last resort is not set

 

      192.168.1.0/24 is variably subnetted, 2 subnets, 2 masks

C        192.168.1.0/24 is directly connected, Vlan1

L        192.168.1.2/32 is directly connected, Vlan1

      192.168.20.0/24 is variably subnetted, 2 subnets, 2 masks

C        192.168.20.0/24 is directly connected, Vlan20

L        192.168.20.1/32 is directly connected, Vlan20

      192.168.30.0/24 is variably subnetted, 2 subnets, 2 masks

C        192.168.30.0/24 is directly connected, Vlan30

L        192.168.30.1/32 is directly connected, Vlan30

      192.168.40.0/24 is variably subnetted, 2 subnets, 2 masks

C        192.168.40.0/24 is directly connected, Vlan40

L        192.168.40.1/32 is directly connected, Vlan40

Thank you for this information. It does show clearly that the L3 switch does know about vlans 1, 20, 30, 40 and looks like it can route between these subnets. It also shows that the L3 switch does not have a configured default route or a gateway of last resort. Assuming that these are your requirements 

1 ) hosts from vlan  10,20,30,40 should go to 192.168.2.0  for internet 

2) they should also need to ping 192.168.1.0 hosts of  second switch., 

I would suggest that these are the steps that you need to accomplish:

- configure a static default route on L3 switch specifying that the next hop address is on the draytrek router.

- make sure that all of the hosts in the vlans are configured so that their default gateway is set as the IP of the vlan interface of the L3 switch.

HTH

Rick

HTH

Rick

2960X Switch 

Show ip  route

Switch(config)#do show ip route

Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP

       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area

       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2

       E1 - OSPF external type 1, E2 - OSPF external type 2

       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2

       ia - IS-IS inter area, * - candidate default, U - per-user static route

       o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP

       + - replicated route, % - next hop override

 

Gateway of last resort is not set

 

      192.168.1.0/24 is variably subnetted, 2 subnets, 2 masks

C        192.168.1.0/24 is directly connected, Vlan1

L        192.168.1.4/32 is directly connected, Vlan1

Hi;

If vlan 1 users gateway is draytrek Router, then to communicate between vlan 1, Vlan 10 & 20 you need to configure routing between L3 switch and draytrek Router.

Step 1: Configure the free ip add of 192.168.1.X subnet to int vlan 1 on L3 switch.

Step 2: On draytrek Router configure the static router for vlan 10 & 20 toward 192.168.1.X (L3 switch IP address.

Thanks & Best regards;

Step1 :I configured an IP for vlan1 in  L3 switch

Step2: We want completely avoid speaking to draytrek router as i have another  umnaged router in my network  of 192.168.2.1 which is configured with a static ip which is connected with dray trek router and also and have a dhcp range from 192.168.2.0 range..

This is i really want to accomplish

1 ) hosts from vlan  10,20,30,40 should go to 192.168.2.0  for internet 

2) they should also need to ping 192.168.1.0 hosts of  second switch.,