setting up vlan problem

waqarsarwarwaqarsarwar Member Posts: 33 ■■□□□□□□□□
hello all, this is my second post and again asking for helping in setting up vlans for my home lab

i configured both switches with trunk ports and vtp domain... but when i got to router to set the ip address on int e0/0.10 this error status comes up...

R1(config)#int e0/0.10
R1(config-subif)#ip address 192.168.10.1 255.255.255.0 ?
secondary Make this IP address a secondary address
<cr>


R1(config-subif)#ip address 192.168.10.1 255.255.255.0


% Configuring IP routing on a LAN subinterface is only allowed if that
subinterface is already configured as part of an IEEE 802.10, IEEE 802.1Q,
or ISL vLAN.


R1(config-subif)#en
R1(config-subif)#enca
R1(config-subif)#encapsulation ?
% Unrecognized command
R1(config-subif)#encapsulation ?
% Unrecognized command
R1(config-subif)#encapsulation

and i see this in my router

R1(config)#int e0/0.10
R1(config-subif)#ec
R1(config-subif)#en
R1(config-subif)#en
R1(config-subif)#en
R1(config-subif)#enca
R1(config-subif)#?
Interface configuration commands:
arp Set arp type (arpa, probe, snap) or timeout
backup Modify backup parameters
bandwidth Set bandwidth informational parameter
bgp-policy Apply policy propagated by bgp community string
bridge-group Transparent bridging interface parameters
cdp CDP interface subcommands
default Set a command to its defaults
delay Specify interface throughput delay
description Interface specific description
exit Exit from interface configuration mode
glbp Gateway Load Balancing Protocol interface commands
ip Interface Internet Protocol config commands
keepalive Enable keepalive
llc2 LLC2 Interface Subcommands
mtu Set the interface Maximum Transmission Unit (MTU)
netbios Use a defined NETBIOS access list or enable name-caching
no Negate a command or set its defaults
ntp Configure NTP
rate-limit Rate Limit
service-policy Configure QoS Service Policy
shutdown Shutdown the selected interface
snapshot Configure snapshot support on the interface
snmp Modify SNMP interface parameters
standby HSRP interface configuration commands
timeout Define timeout values for this interface
traffic-shape Enable Traffic Shaping on an Interface or Sub-Interface
vrrp VRRP Interface configuration commands

Comments

  • theodoxatheodoxa Member Posts: 1,340 ■■■■□□□□□□
    Did you enable the physical interface using the "no shutdown" command?

    [EDIT] It works on PT without enabling the IF first (just double checked), but PT doesn't always 100% match the real thing. BTW, what router are you using? 2524/2525? 26_0? Something else?
    R&S: CCENT CCNA CCNP CCIE [ ]
    Security: CCNA [ ]
    Virtualization: VCA-DCV [ ]
  • waqarsarwarwaqarsarwar Member Posts: 33 ■■□□□□□□□□
    theodoxa wrote: »
    Did you enable the physical interface using the "no shutdown" command?

    on which physical int should i put no shutdown on router e0/0 ?

    R1#show version
    Cisco Internetwork Operating System Software
    IOS (tm) C2600 Software (C2600-IO3-M), Version 12.3(26), RELEASE SOFTWARE ( fc2)
    Technical Support: http://www.cisco.com/techsupport
    Copyright (c) 1986-2008 by cisco Systems, Inc.
    Compiled Mon 17-Mar-08 15:23 by dchih


    ROM: System Bootstrap, Version 11.3(2)XA4, RELEASE SOFTWARE (fc1)


    R1 uptime is 3 days, 1 hour, 50 minutes
    System returned to ROM by power-on
    System image file is "flash:c2600-io3-mz.123-26.bin"
  • DCDDCD Member Posts: 475 ■■■■□□□□□□
    Most 10 meg ports on router don't do router on the stick but cisco did come out with an IOS that did support it.Fastethernet has it by default.
  • waqarsarwarwaqarsarwar Member Posts: 33 ■■□□□□□□□□
    do you know which IOS version ?
  • blueberriesblueberries Banned Posts: 138
    I don't really understand exactly what the question is....
  • waqarsarwarwaqarsarwar Member Posts: 33 ■■□□□□□□□□
    I don't really understand exactly what the question is....

    my cisco routers 2610 dont support router on a stick for trunking ports.... bcz they have 10 mb ethernet cards?
  • blueberriesblueberries Banned Posts: 138
    Hit "sh version" and tell us your IOS number.
  • blueberriesblueberries Banned Posts: 138
    Show us your trunk port config commands...
  • waqarsarwarwaqarsarwar Member Posts: 33 ■■□□□□□□□□
    Hit "sh version" and tell us your IOS number.

    R1#show version
    Cisco Internetwork Operating System Software
    IOS (tm) C2600 Software (C2600-IO3-M), Version 12.3(26), RELEASE SOFTWARE ( fc2)
    Technical Support: Support and Documentation - Cisco Systems
    Copyright (c) 1986-2008 by cisco Systems, Inc.
    Compiled Mon 17-Mar-08 15:23 by dchih


    ROM: System Bootstrap, Version 11.3(2)XA4, RELEASE SOFTWARE (fc1)


    R1 uptime is 3 days, 1 hour, 50 minutes
    System returned to ROM by power-on
    System image file is "flash:c2600-io3-mz.123-26.bin"
  • d6bmgd6bmg Member Posts: 242 ■■■□□□□□□□
    I don't really understand exactly what the question is....

    You might be right.
    [ ]CCDA; [ ] CCNA Security
  • waqarsarwarwaqarsarwar Member Posts: 33 ■■□□□□□□□□
    Show us your trunk port config commands...

    R1(config)#int e0/0.10
    R1(config-subif)#ip address 192.168.10.1 255.255.255.0 ?
    secondary Make this IP address a secondary address
    <cr>


    R1(config-subif)#ip address 192.168.10.1 255.255.255.0


    % Configuring IP routing on a LAN subinterface is only allowed if that
    subinterface is already configured as part of an IEEE 802.10, IEEE 802.1Q,
    or ISL vLAN.

    R1(config-subif)#en
    R1(config-subif)#enca
    R1(config-subif)#encapsulation ?
    % Unrecognized command
    R1(config-subif)#encapsulation ?
    % Unrecognized command
    R1(config-subif)#encapsulation
  • blueberriesblueberries Banned Posts: 138
    Download a newer IOS image. It should do the trick.
  • waqarsarwarwaqarsarwar Member Posts: 33 ■■□□□□□□□□
    Download a newer IOS image. It should do the trick.


    I have the newest version which is 12.3!!!
  • blueberriesblueberries Banned Posts: 138
    Hit the "ip routing" command just to make sure and then try encapsulation command.

    Not guaranteeing anything but give it a shot.

    Otherwise you might want to upgrade to a nice 7200 router with a 12.4 IOS image.
  • waqarsarwarwaqarsarwar Member Posts: 33 ■■□□□□□□□□
    Hit the "ip routing" command just to make sure and then try encapsulation command.

    Not guaranteeing anything but give it a shot.

    Otherwise you might want to upgrade to a nice 7200 router with a 12.4 IOS image.

    that sucks.... i can do vlan and spanning tree on packet tracer just wanted to practice on home lab...
  • blueberriesblueberries Banned Posts: 138
    There is always GNS3.....
  • theodoxatheodoxa Member Posts: 1,340 ■■■■□□□□□□
    Hit the "ip routing" command just to make sure and then try encapsulation command.

    Not guaranteeing anything but give it a shot.

    Otherwise you might want to upgrade to a nice 7200 router with a 12.4 IOS image.

    The 1700 series are relatively cheap and they all have Fast Ethernet as best I can tell.

    Current Prices on eBay --

    1750 (Max. 12.3): $25
    1760 (Max. 12.4T): $35 (I've seen them for $20 previously)
    2650 (Max. 12.3): $35

    The 1760 is spec-wise the best of the bunch, but the 2650 does have an NM Slot which could be useful. Everything is on the back, so you can mount it backwards and have access to everything (Console Port, Modules, Power Switch, etc...) without ever having to go/stick your hand behind the rack.
    R&S: CCENT CCNA CCNP CCIE [ ]
    Security: CCNA [ ]
    Virtualization: VCA-DCV [ ]
  • waqarsarwarwaqarsarwar Member Posts: 33 ■■□□□□□□□□
    theodoxa wrote: »
    The 1700 series are relatively cheap and they all have Fast Ethernet as best I can tell.

    Current Prices on eBay --

    1750 (Max. 12.3): $25
    1760 (Max. 12.4T): $35 (I've seen them for $20 previously)
    2650 (Max. 12.3): $35

    The 1760 is spec-wise the best of the bunch, but the 2650 does have an NM Slot which could be useful. Everything is on the back, so you can mount it backwards and have access to everything (Console Port, Modules, Power Switch, etc...) without ever having to go/stick your hand behind the rack.


    how about 871w ?
  • DCDDCD Member Posts: 475 ■■■■□□□□□□
    c2600-ik9s-mz.122-46.bin
    IOS (tm) C2600 Software (C2600-IK9S-M), Version 12.2(46),RELEASE SOFTWARE (fc1)
    Router(config-if)#int e0/0.2
    Router(config-subif)#encapsulation ?
    dot1Q IEEE 802.1Q Virtual LAN
    sde IEEE 802.10 Virtual LAN - Secure DataExchange
  • theodoxatheodoxa Member Posts: 1,340 ■■■■□□□□□□
    how about 871w ?

    That would probably work just fine. It has Fast Ethernet. Not sure how the switchports would affect "Router on a Stick" though. On the plus side, it's an ISR, so it might even run IOS 15.
    R&S: CCENT CCNA CCNP CCIE [ ]
    Security: CCNA [ ]
    Virtualization: VCA-DCV [ ]
  • waqarsarwarwaqarsarwar Member Posts: 33 ■■□□□□□□□□
    DCD wrote: »
    c2600-ik9s-mz.122-46.bin
    IOS (tm) C2600 Software (C2600-IK9S-M), Version 12.2(46),RELEASE SOFTWARE (fc1)
    Router(config-if)#int e0/0.2
    Router(config-subif)#encapsulation ?
    dot1Q IEEE 802.1Q Virtual LAN
    sde IEEE 802.10 Virtual LAN - Secure DataExchange

    bro it didnt workout and below is my configuration

    R1(config)#int e0/0.10
    R1(config-subif)#enca
    R1(config-subif)#enca
    ^
    % Invalid input detected at '^' marker.


    R1(config-subif)#


    System flash directory:
    File Length Name/status
    1 5582768 c2600-i-mz.122-46.bin
    [5582832 bytes used, 10670092 available, 16252924 total]
    16384K bytes of processor board System flash (Read/Write)
  • JoeBirdsJoeBirds Member Posts: 49 ■■□□□□□□□□
    10mb ports do not support VLAN trunking.
  • DCDDCD Member Posts: 475 ■■■■□□□□□□
    bro it didnt workout and below is my configuration

    R1(config)#int e0/0.10
    R1(config-subif)#enca
    R1(config-subif)#enca
    ^
    % Invalid input detected at '^' marker.


    R1(config-subif)#


    System flash directory:
    File Length Name/status
    1 5582768 c2600-i-mz.122-46.bin
    [5582832 bytes used, 10670092 available, 16252924 total]
    16384K bytes of processor board System flash (Read/Write)

    You have the wrong version it's close. Yours is c2600-i-mz.122-46.bin and mine is c2600-IK9S-M.122-46.bin.
    JoeBirds wrote: »
    10mb ports do not support VLAN trunking.

    If you have the correct IOS yes it does that why I supplied the output.



  • waqarsarwarwaqarsarwar Member Posts: 33 ■■□□□□□□□□
    Thx DCD for helping out on vlans... I emailed the person from whom I bought the equipments he said the router don't have enough dram so he is sending me... They probably will arrive in couple of day... Meanwhile I bought 1751 bcz I couldn't wait this is so exciting when I'm able to work out things... VLAN is succesful n running on my network. Now I'm having problem setting up spanning but let me figure out that first if any problem I will post question!!! Thx all
  • mella060mella060 Member Posts: 198 ■■■□□□□□□□
    JoeBirds wrote: »
    10mb ports do not support VLAN trunking.

    Thats what i would have thought. Trunking is only supported on fast ethernet interfaces
  • waqarsarwarwaqarsarwar Member Posts: 33 ■■□□□□□□□□
    mella060 wrote: »
    Thats what i would have thought. Trunking is only supported on fast ethernet interfaces

    im getting my drams today or tomrrow so when i install on 2600 series router and get the correction version of iOS i will let you know.....
  • DCDDCD Member Posts: 475 ■■■■□□□□□□
    mella060 wrote: »
    Thats what i would have thought. Trunking is only supported on fast ethernet interfaces

    At the end of life of those router they came out with that IOS. He is the output again


    For a lab or a very small network it will work but for real production network not so much.
Sign In or Register to comment.