cisco 3560x vlan interface or gigabit intergace in no switch port error message

hi all,

i have a cisco 3560x with ipbase licence, when i make an vlan interface with ip adress or a gigabit interface L3 with ip adress and i try to ping i have the following error

% Invalid source interface - IP not enabled or interface is down

when i make show iterface and show vlan my interface is up, so whats wrong with this.

regards
jamillAsked:
Who is Participating?
 
JorisFRSTCommented:
If the vlan has an IP address this should work.
I just tried it from the exact same switch you have.

do a "sh ip route" to see if your routing table has the subnets you need.
0
 
JorisFRSTCommented:
Add a loopback interface and/or do :

ping "IP ADDRESS" source "INTEFACENAME or vlan and number"

You need to specify where the ping should originate from.
0
 
JorisFRSTCommented:
You might need to enable ip routing on the switch.
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

 
jamillAuthor Commented:
@JorisFRST:

i did this type of command from the first that's why i get this error: % Invalid source interface - IP not enabled or interface is down
0
 
jamillAuthor Commented:
@JorisFRST:

the ip routing is enabled from the first, ithink it necessary to enable the intervlan routing process
0
 
JorisFRSTCommented:
easiest way is to enable a routing protocol or to put in 2 static routes pointing at the 2 networks with the vlan or port as the gateway.

You need to fill in the routing table before you can ping between subnets.

Easiest :
router rip
v2
network ??????
network ??????

Is this to integrate the switch in a bigger network ? or just standalone ?
0
 
jamillAuthor Commented:
@JorisFRST:

it works when i set ip address to a physical interface ( intergace gigabit 0/11 no switchport with and ip adress), but with a vlan interface it not works.
I used only the static routes.
on the old 3560 this kind of configuration works without any problem !!!!
0
 
JorisFRSTCommented:
Try with a loopback interface first.

Is the VLAN Up ?

Is there a port configured in that vlan ?
0
 
jamillAuthor Commented:
@JorisFRST:

i try with the loopback interface the result is :
ping from loopback to the vlan interface ---> fail
ping from the interface vlan to the loopback ---> % Invalid source interface - IP not enabled or interface is down

the vlan is up
and i assigned a port to the vlan ( int gig 0/11 switchport access vlan 100)

0
 
jamillAuthor Commented:
@JorisFRST

Yes thantk you, that's what i did and i saw that the network ip of the vlan was not showed as directly connected, so it mean that the problem is on the interface using the vlan, i change to another interface and everything works.
Thank you for the support, my problem was solved with your good advices.

regards
0
 
jamillAuthor Commented:
.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.