Options

native Vlans

biggishbiggish Member Posts: 29 ■□□□□□□□□□
Need help. Just been practicing for my exams, using Pearson test practice. There is a question about vlans and configuring a router connected to a switch, with 2 vlans.
The answer given is that the physical interface can be used as the native vlan, so you will only need 1 subinterface on the router.

Is that right? I thought that, when configuring router on a stick, you should configure the same number of subinterfaces as the number of vlans.

Comments

  • Options
    SerpenteSerpente Member Posts: 15 ■□□□□□□□□□
    Yea, generally you bring the physical interface up and leave it without an ip address, then configure the VLANs and IP address on the sub-interfaces. I think some older IOS versions might not allow you to set a sub-interface as a native VLAN, in which case you would use the physical interface, but for CCNA the practice is to bring up the physical interface and then configure the sub-interfaces for the VLANs.
  • Options
    kacperkacper Member Posts: 7 ■□□□□□□□□□
    As I understood it, anything on the native vlan is untagged. It's certainly possible to do RoAS using the native vlan but it might have unwanted effects. Anything traveling on the physical interface will be able to reach any switch port that isn't tagged (assuming no ACL or alike is in effect). Any switch port that isn't a member of a specific vlan is a member of the native vlan, which usually corresponds to number 1.
  • Options
    JLAW904JLAW904 Member Posts: 23 ■□□□□□□□□□
    Every PacketTracer lab I've been doing for my LAN Swtiching class seems to have me configure a subinterface for each and every VLAN being used (including the Management & Native VLAN).
  • Options
    biggishbiggish Member Posts: 29 ■□□□□□□□□□
    I actually thought that for every vlan, you should have a subinterface configured on the router, including the native vlan.
    In a Boson practice question, what is the minimum number of subinterfaces on a router connected to a switch with 5 vlans, and the answer was 5. If the physical interface can be configured as the native vlan, then the minimum has to be 4. So either Pearson or Boson is wrong.
    Whats the correct answer?
  • Options
    SerpenteSerpente Member Posts: 15 ■□□□□□□□□□
    At the CCNA level, CBT Nuggets and Odom both clearly state that the way to set up a router-on-a-stick is to have 1 sub-interface per vlan. I'm not sure if you can use the physical interface for the native VLAN and subs for the others as I haven't tried it myself, but I have heard that it's possible (I could be wrong though). Regardless, that is beyond the scope of the CCNA so if you are simply studying for the exam then all you need to know and follow is the 1 sub-interface per VLAN setup.
  • Options
    Dieg0MDieg0M Member Posts: 861
    If you use subinterfaces, you typically do not also want the physical interface to pass traffic, because the physical interface passes untagged packets. Because the physical interface must be enabled for the subinterface to pass traffic, ensure that the physical interface does not pass traffic by leaving out the nameif command. If you want to let the physical interface pass untagged packets, you can configure the nameif command as usual.
    Cisco Security Appliance Command Line Configuration Guide, Version 7.2 - Configuring Ethernet Settings and Subinterfaces  [Cisco ASA 5500-X Series Next-Generation Firewalls] - Cisco Systems
    Follow my CCDE journey at www.routingnull0.com
Sign In or Register to comment.