Re: Simple router-on-a-stick question.

From: kevin gannon (kevin@gannons.net)
Date: Sun Oct 02 2005 - 08:59:40 GMT-3


Not sure what the sw config looks like but you might want
to try

int f0/0.1
encapsulation dot1Q 1 native

Regards
Kevin

On 10/2/05, Holmes <iamholmes@eml.cc> wrote:
> Thanks guys for the reply.
>
> Switch#sh interfaces fastEthernet 0/2 switchport
> Name: Fa0/2
> Switchport: Enabled
> Administrative Mode: trunk
> Operational Mode: trunk
> Administrative Trunking Encapsulation: dot1q
> Operational Trunking Encapsulation: dot1q
> Negotiation of Trunking: On
> Access Mode VLAN: 1 (default)
> <snip>
>
>
> Now this is what's odd. I have been using only dot1q encapsulation.
> I have the following configuration, but I get no replies
> from the router, when I ping it (10.1.1.1 ) from the switch.
>
> on the router, I have :
>
> one#sh runn
> <snip>
> !
> !
> interface FastEthernet0/0
> no ip address
> no ip directed-broadcast
> speed auto
> half-duplex
> !
> interface FastEthernet0/0.1
> encapsulation dot1Q 1
> ip address 10.1.1.1 255.255.255.0
> no ip redirects
> no ip directed-broadcast
> !
>
> on the switch :
>
> interface FastEthernet0/1
> switchport mode access
> no ip address
> !
> interface FastEthernet0/2
> switchport mode trunk
> no ip address
>
> <snip>
> interface Vlan1
> ip address 10.1.1.2 255.255.255.0
> no ip route-cache
> !
> ip default-gateway 10.1.1.1
> ip http server
> !
> !
>
> I scrapped the whole r-o-a-s idea, and configured the router as :
> interface FastEthernet0/0
> ip address 10.1.1.1 255.255.255.0
>
> and there's no problem with reachability between the router and
> switch. (I can see the other device on `sh cdp ne'. As soon as I
> set up the sub-interfaces on the router and configured dot1q
> encapsulation, I can't ping the switch from the router or vice-versa.
> (I do have the gateway and VLAN1 ip configured correctly on the
> switch). The other thing I noticed is that I dont see the other
> device on the `sh cdp ne', after I make this change.
>
> Any pointers ? Thanks again.
>
>
>
>
>
>
> On Sun, 2 Oct 2005 12:12:42 +0100, "kevin gannon" <kevin@gannons.net>
> said:
> > I dont have a 2950 to hand but you might want to check that the
> > port supports dot1q. Do a "show int cap" and this should should
> > it to you.
> >
> > Regards
> > Kevin
> >
> > On 10/2/05, Holmes <iamholmes@eml.cc> wrote:
> > > Hi all -
> > >
> > > My 2950 switch is running only a 12.1 Catalyst IOS.
> > >
> > > I want to run a simple router-on-a-stick setup, but I can't find
> > > any way to specify the kind of encapsulation I'm going to use on
> > > the switch. (I've worked on this for more than 2 hours).
> > > What am I missing here ?
> > >
> > > Switch(config-if)#switchport mode trunk
> > > Switch(config-if)#switchport tr
> > > Switch(config-if)#switchport trunk ?
> > > allowed Set allowed VLAN characteristics when interface is in
> > > trunking mode
> > > native Set trunking native characteristics when interface is in
> > > trunking
> > > mode
> > > pruning Set pruning VLAN characteristics when interface is in
> > > trunking mode
> > >
> > > Switch(config-if)#switchport trunk
> > >
> > > Don't you normally have a
> > > Switch(config-if)#switchport trunk encapsulation .. command ?
> > >
> > > Surely the IOS I'm using isn't that old. Anyone any idea whats wrong
> > > here ?
> > > I don't have access to the Cisco site to download an IOS, so I haven't
> > > been
> > > able to determine if its the IOS thats the problem.
> > >
> > > Switch#sh ver
> > > Cisco Internetwork Operating System Software
> > > IOS (tm) C2950 Software (C2950-I6Q4L2-M), Version 12.1(13)EA1, RELEASE
> > > SOFTWARE
> > > (fc1)
> > > Copyright (c) 1986-2003 by cisco Systems, Inc.
> > > Compiled Tue 04-Mar-03 02:14 by yenanh
> > > Image text-base: 0x80010000, data-base: 0x805A8000
> > >
> > > ROM: Bootstrap program is CALHOUN boot loader
> > >
> > > Switch uptime is 2 hours, 59 minutes
> > > System returned to ROM by power-on
> > > System image file is "flash:/c2950-i6q4l2-mz.121-13.EA1.bin"
> > >
> > > cisco WS-C2950G-24-EI (RC32300) processor (revis
> > > 02:59:20: %SYS-5-CONFIG_I: Configured from console by consoleion
> > > G0) with 20839K bytes of memory.
> > > Processor board ID FOC0718Y01J
> > > Last reset from system-reset
> > > Running Enhanced Image
> > > 24 FastEthernet/IEEE 802.3 interface(s)
> > > 2 Gigabit Ethernet/IEEE 802.3 interface(s)
> > >
> > > 32K bytes of flash-simulated non-volatile configuration memory.
> > > Base ethernet MAC Address: 00:0C:CE:D4:DD:C0
> > >
> > >
> > > Thanks for any pointers.
> > >
> > >
> > > --
> > > Holmes
> > > iamholmes@eml.cc
> > >
> > > --
> > > http://www.fastmail.fm - Choose from over 50 domains or use your own
> > >
> > > _______________________________________________________________________
> > > Subscription information may be found at:
> > > http://www.groupstudy.com/list/CCIELab.html
> > >
> > >
> --
> Holmes
> iamholmes@eml.cc
>
> --
> http://www.fastmail.fm - One of many happy users:
> http://www.fastmail.fm/docs/quotes.html
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html



This archive was generated by hypermail 2.1.4 : Sun Nov 06 2005 - 22:00:49 GMT-3