Created a VLAN Interface, but can not ping it

Unanswered Question
Mar 27th, 2008

All, I created a VLAN interface on my 3750 switch, but from my PC (which isnt part of that VLAN) I can not ping it. what am I doing wrong?

Vlan99 10.250.1.1 YES manual up up

interface Vlan99

ip address 10.250.1.1 255.255.0.0

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Jon Marshall Thu, 03/27/2008 - 13:14

Hi

What vlan is the PC in ?

Does the PC vlan have a vlan interface on the 3750.

Is the default-gateway on the PC set to the IP address of the vlan imterface for the PC.

Does the PC have any firewalling.

Do any of the vlan interfaces have access-lists on them.

Is "ip routing" enabled on the 3750.

What is the PC ip address and subnet mask.

Jon

rwamstutz Thu, 03/27/2008 - 13:29

The PC is in the VLAN 100 and has a vlan interface to 100 (data) and 245 (voice)

No firewalling

No access lists

"IP routing" is enabled

the PC ip address is 10.1.250.23 255.255.0.0

francisco_1 Thu, 03/27/2008 - 14:30

your PC address should be 10.1.240.23 255.255.0.0 NOT 10.1.250.23 for vlan 100. check out your vlan 100 SVI. it on 10.1.240 not 250. Make sure also yout PC default gateway is 10.1.240.240

rwamstutz Thu, 03/27/2008 - 14:51

intersting. how come i can ping the 245 vlan interface? my other plants have similar configs and i can create vlans with no problem. stumped. my gateway on my pc is 10.1.1.1, which is my router.

francisco_1 Thu, 03/27/2008 - 15:03

you mean you can ping interface Vlan245 ip address 10.245.1.2 from your PC in vlan 100?

have u tried using the ip address i mentioned for your pc? does it work?

rwamstutz Thu, 03/27/2008 - 15:38

yea, i can ping the 245 interface while my pc is in vlan 100, using 10.1.250.x address.

i have not tried changing my ip as you specified, i will do it in the AM AND respond

rwamstutz Mon, 03/31/2008 - 08:41

Francisco, after I changed the gateway to 10.1.240.240, I could ping the VLAN. But I dont understand. At my other facilities with a similar setup, I dont use switch IP as my gateway, but a router as my gateway, and I can create and connect to VLAN's at will. Why do i have have to change my gateway to the IP on the Switch?

francisco_1 Tue, 04/01/2008 - 13:13

If you have a router that you prefer to use that is in the vlan subnet as long as your hosts can see the router in the same subnet (same vlan) then yes your hosts can use it as a gateway instead of your switch SVI. The router will do inter-vlan routing for you as long as it knows how to route to your other subnets. but if the router is in a different subnet (different vlan) then for your host to access other subnets, their gateway should be your switch SVI interface IP. Does that make senses?

rwamstutz Wed, 04/02/2008 - 10:55

yea, I do, but I dont understand how it differs from my other locations where I have a similar setup. Please see attached comparing this config to the previously attached config. Please help me.

Attachment: 
francisco_1 Wed, 04/02/2008 - 11:20

ok rwamstutz,

On your Charleston-SWT01 switch, give me an example of two PC's connected that is working according to the way you've mentioned. I need the IP address of the PC's, the vlan they are in and also their gateway ip address to start with and then we can take it from there.

rwamstutz Wed, 04/02/2008 - 11:26

example:

PC with an IP Address of 10.3.250.23, gateway 0f 10.3.1.1 in VLAN 300, can ping PLC with an ip address of 10.220.4.3, gateway 10.220.1.2 in VLAN 301. 10.220.1.2 is SVI on another switch.

THANK YOU FOR YOUR HELP.

glen.grant Thu, 03/27/2008 - 14:10

Do a show vlan , does it show up and active ? You created the layer 3 interface did you create the layer 2 vlan ???

rwamstutz Thu, 03/27/2008 - 14:13

12 P1PICS active

99 VLAN0099 active

what do you mean a layer 2 vlan? refresh my memory on the command.

Kenneth Mohammed Tue, 04/01/2008 - 13:34

I think what he is trying to say is that you have to actually tell the switch "vlan 99"

ex:

switch#config t

switch(config)#vlan 99

switch(config-vlan)#end

Actions

This Discussion