cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1209
Views
1
Helpful
10
Replies

Inter vlan

kabilanvijay8
Level 1
Level 1

L3 switch has two VLAN's , vlan 1 with ip address of 192.168.1.1 and vlan 10 with ip address of 192.168.10.1 assigned in the switch .

when the cable connected from the device in vlan 10 to the port is removed from the switch

why cant we ping the ip of vlan 10 which is present in the switch from the device connected to vlan 1 ?

can someone give me the reason please...

10 Replies 10

Hi @kabilanvijay8 

 Make sure you enabled routing on the switch

conf t

 ip routing

If you did, make sure both hosts have default gateway configured.

I have  done it all bro

If you have ip routing enable, if you have default gateway pointing to the interface vlan on the switch, if you added the vlan to the switch port where the host is connected, the only thing I can think of is firewall on the PC bloking the ping. 

share
show vlan 
show ip in breif 
show ip route

VLAN 1 - IP Gateway address 192.168.1.1 ; Device IP - 192.168.1.10

VLAN 10 - IP Gateway address 192.168.10.1 ; Device IP - 192.168.10.10

Note: Gateway IP address in assigned in switch

Device in VLAN 1 is connected in port no 01

Device in VLAN 10 is connected in port no 22 

my question is , when I remove the cable from the port 01 ,why can't I ping the gateway of VLAN 1 from the device in VLAN 10 ?

 

that normal, 
VLAN need one port UP to be UP/UP 
some switch have no autostate comamnd to override this issue 
OR 
allow vlan in trunk UP port 

https://www.cisco.com/c/en/us/support/docs/switches/catalyst-6500-series-switches/41141-188.html

 

RoadRunner4k
Level 1
Level 1

is the vlan 10 in up/up state ?  (did you make vlan 10 also?)

show interface vlan 10 

Vlan10 is up, line protocol is up
Hardware is EtherSVI, address is 4c00.828f.76c1 (bia 4c00.828f.76c1)
Internet address is 192.168.10.1/24
MTU 1500 bytes, BW 1000000 Kbit/sec, DLY 10 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive not supported
ARP type: ARPA, ARP Timeout 04:00:00
Last input 00:01:31, output 00:17:35, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: fifo
Output queue: 0/40 (size/max)
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
2545 packets input, 263461 bytes, 0 no buffer
Received 0 broadcasts (0 IP multicasts)
0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
1495 packets output, 128043 bytes, 0 underruns
0 output errors, 3 interface resets
0 unknown protocol drops
0 output buffer failures, 0 output buffers swapped out

show ip int brief <<- share this 

show ip route <<- share this 

kabilanvijay8
Level 1
Level 1

....