Niraj,

What it looks like is that your 10.1.1.x network is on vlan 10.  The
administrative (default) vlan for the switch will be vlan 1.  What you need
to do is give your switch another address like 172.16.10.1/24 and create a
subinterface with isl vlan 1 on the router and give it address
172.16.10.2/24 and then you should be able to ping away.  The other option
(if its an option) would be to change the default administrative vlan on the
switch to vlan 10 (where your 10.1.1.x network is).

Don


-----Original Message-----
From: Niraj Palikhey [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 04, 2001 11:47 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: Cannot ping switch in a inter-vlan setup??


Hi Luke,
Here is the config:
1912: #ip addr 10.1.1.2 255.255.255.0
      #ip default-gateway 10.1.1.1

2620: #int f0/0
      #no ip addr
      #exit
      #int f0/0.10
      #encap isl 10
      #ip addr 10.1.1.1 255.255.255.0
      #shut
      #no shut
      #int f0/0.20
      #encap isl 20
      #ip addr 20.1.1.1 255.255.255.0
      #shut
      #no shut
      #end
      And so on for 30.1.1.1, 40.1.1.1.......till 80.1.1.1
1st pc ip=10.1.1.10, 255.255.255.0, 10.1.1.1
2nd pc ip=20.1.1.10, 255.255.255.0, 20.1.1.1
And so on till 80.1.1.10, 255.255.255.0, 80.1.1.1

All the pc's are plugged into the 1912. The router is plugged into f0/26.

All pc's can ping one another and the router and ditto from the router back 
to each pc. Same for telnet from a pc to the router. NO problem.

*** But CANNOT ping the switch from the pc or the router no can ping the 
swich ip on the switch itself or the router or any pc *** This is the 
problem.

Please advise.
Thank you.
Kind regards,
[EMAIL PROTECTED]



>From: "Luke" <[EMAIL PROTECTED]>
>Reply-To: "Luke" <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Re: Cannot ping switch in a inter-vlan setup??
>Date: Wed, 4 Apr 2001 09:11:53 -0500
>
>It would help if we had a look at the config from the switch and router.
>
>
>""Niraj Palikhey"" <[EMAIL PROTECTED]> wrote in message
>[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > Hi Don,
> > That is exactly what I have done. I have no problem pinging computers in
>the
> > other subnets. The switch is 10.1.1.2, the router f0/0.10 is 10.1.1.1, a
>pc
> > on e0/1 is 10.1.1.10. My problem is why can I NOT ping the switch from 
>the
> > pc or the router and also ping from the switch back to the router or the
>pc.
> > All other pc's happily ping their default gateways and to each other.
>Please
> > advise.
> >
> >
> > >From: "Barnhill, Don" <[EMAIL PROTECTED]>
> > >To: 'Niraj Palikhey' <[EMAIL PROTECTED]>
> > >Subject: RE: Cannot ping switch in a inter-vlan setup??
> > >Date: Tue, 3 Apr 2001 16:40:17 -0500
> > >
> > >Niraj,
> > >
> > >To talk to the switch, make sure the port 0/10 (the pc) and the switch
>are
> > >on the same vlan, the switch will be on management vlan 1.  Also to 
>make
> > >the
> > >other vlans talk to each other, you need to have the switch and the
>router
> > >trunked (isl is easiest) and then make sure to set up the router with 
>all
> > >the subinterfaces (one for each vlan) with an ip address for each
> > >subinterface and that address will be your default gateway for the 
>system
> > >on
> > >that vlan.  so if the system (172.16.100.2) on port 8 is in vlan8 then
>make
> > >an interface on your router f0/0.8 (ip 172.16.100.1) and give it isl 
>and
> > >vlan 8.  Then give the systems a default gateway of 172.16.100.1. The
> > >system
> > >can now talk to the router.  Set up all the other vlans, systems, and
> > >subinterfaces the same way and everyone will be able to talk.
> > >
> > >
> > >sample:
> > >
> > >
> > >interface fastethernet 0/0.8
> > >ip address 172.16.100.1 255.255.255.0   <----ip address on router that
>will
> > >be your default gateway
> > >    for systems on
> > >this vlan
> > >encapsulation isl 8   <---- vlan number
> > >
> > >interface fastethernet 0/0.9
> > >ip address 192.168.10.1 255.255.255.0
> > >encapsulation isl 9
> > >
> > >etc, etc
> > >
> > >
> > >Hope this didnt confuse you too much, cause it confused me just trying
> > >writing it :)
> > >
> > >Don
> > >
> > >
> > >
> > >-----Original Message-----
> > >From: Niraj Palikhey [mailto:[EMAIL PROTECTED]]
> > >Sent: Tuesday, April 03, 2001 3:08 PM
> > >To: [EMAIL PROTECTED]
> > >Cc: [EMAIL PROTECTED]
> > >Subject: Cannot ping switch in a inter-vlan setup??
> > >
> > >
> > >Hi,
> > >I have setup a 1912 switch with 8 vlans. I have 8 pc's with 8 different
> > >ip's
> > >
> > >plugged into the switch along with a 2620. I have an ip of 10.1.1.2 to
>the
> > >switch and a default-gateway of 10.1.1.1. I can ping any computer in 
>any
> > >vlan through the 2620 but one strange thing is that I cannot ping the
> > >switch
> > >
> > >from any pc or the router itself no can I ping the switch's ip on the
> > >switch
> > >
> > >itself or the default gateway. The first pc's ip=10.1.1.10 with a gwy 
>of
> > >10.1.1.1 on f0/0.10 on the router. I thought that atleast this pc would
>be
> > >able to ping the switch since they are in the same network but this is
>not
> > >the case. What am I doing wrong?
> > >Please advise.
> > >Thank you.
> > >Kind regards,
> > >[EMAIL PROTECTED]
> > >_________________________________________________________________
> > >Get your FREE download of MSN Explorer at http://explorer.msn.com
> > _________________________________________________________________
> > Get your FREE download of MSN Explorer at http://explorer.msn.com
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com
_________________________________
FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html
Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]

Reply via email to