Just so you know, you don't HAVE to create a new subinterface. The vlan 
number is not dependant on the subinterface number. F0/0.10 would work fine 
with encap isl 1, but than again, your way is much less confusing. :)

Just something to keep in mind.


>From: "Niraj Palikhey" <[EMAIL PROTECTED]>
>Reply-To: "Niraj Palikhey" <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED], [EMAIL PROTECTED]
>CC: [EMAIL PROTECTED]
>Subject: Re: Cannot ping switch in a inter-vlan setup??
>Date: Wed, 04 Apr 2001 14:51:15 -0400
>
>Hi John,
>How do I specify on what vlan interface should the switch ip be? I assumed
>that it was vlan1 by default. But looks like I understand the problem now.
>The switch by default is in vlan1 and I have specified vlan10 as 10.1.1.1
>which is the default-gateway for the switch. Obviously, this is not going 
>to
>work. Looks like I have to define a new subif (f0/0.1), encap isl 1, ip 
>addr
>10.1.1.1, shut, no shut and then make the pc(10.1.1.10)part of vlan 10. I
>think this would do it, right?
>Please advise.
>Thank you.
>Kind regards,
>[EMAIL PROTECTED]
>
>
>>From: "John Neiberger" <[EMAIL PROTECTED]>
>>To: [EMAIL PROTECTED]
>>CC: [EMAIL PROTECTED]
>>Subject: Re: Cannot ping switch in a inter-vlan setup??
>>Date: Wed, 04 Apr 2001 12:35:45 -0600
>>
>>On what VLAN interface do you have the IP address configured on the
>>switch, VLAN10?  The default is VLAN1 and if you haven't changed that,
>>the switch management ip address will not be able to communicate with
>>the outside world.  In that situation, the switch 10.1.1.0/24 network is
>>on VLAN1, the default management VLAN, but the router has that subnet
>>configured on VLAN10.
>>
>>I've missed most of this thread so forgive me if you've already covered
>>this, but this configuration error would cause the problems you're
>>seeing.
>>
>>HTH,
>>John
>>
>> >>> "Niraj Palikhey" <[EMAIL PROTECTED]> 4/4/01 11:46:56 AM >>>
>>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
>_________________________________________________________________
>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