VLAN and subinterfaces

Discussion in 'Cisco' started by grzesiek, Oct 16, 2005.

  1. grzesiek

    grzesiek Guest

    hi

    I'm using Boson sim. On one router's ethernet interface I have conected
    switch with two hosts. Every host belongs to diffrent vlan ( VLAN 2 ,
    VLAN3). So I configure subinterfaces in router with diffrent network address
    ( ethernet 0/0.2 --> 192.168.1.1 ; ethernet 0/0.3--> 192.168.2.1 ).
    But I left physical ethernet 0/0 without address ( can I ? ). I used
    'no shutdown' command on evry subinterfaces. Now I try ping those addresses
    and it doesn't work. I have no reply.
    Is anybody now what is wrong?

    Thanks

    P.S. I am beginer and sorry for so simple question (probly) :)

    --
    grzesiek
    US405
    grzesiek, Oct 16, 2005
    #1
    1. Advertising

  2. grzesiek

    Mark Lar Guest

    grzesiek wrote:
    > hi
    >
    > I'm using Boson sim. On one router's ethernet interface I have conected
    > switch with two hosts. Every host belongs to diffrent vlan ( VLAN 2 ,
    > VLAN3). So I configure subinterfaces in router with diffrent network address
    > ( ethernet 0/0.2 --> 192.168.1.1 ; ethernet 0/0.3--> 192.168.2.1 ).
    > But I left physical ethernet 0/0 without address ( can I ? ). I used
    > 'no shutdown' command on evry subinterfaces. Now I try ping those addresses
    > and it doesn't work. I have no reply.
    > Is anybody now what is wrong?
    >
    > Thanks
    >
    > P.S. I am beginer and sorry for so simple question (probly) :)
    >


    You need to configure each subinterface with the encapsulation type (I
    assume dot1q) and the vlan id. Just enumerating subinterfaces doesn't
    associate them with a vlan tag, and no, the subinterface number and vlan
    id don't have to match.

    M.
    Mark Lar, Oct 17, 2005
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Tom Hickory
    Replies:
    0
    Views:
    794
    Tom Hickory
    Nov 11, 2003
  2. Nick Filimonov

    Netflow+NAT on subinterfaces on a stick

    Nick Filimonov, Feb 9, 2004, in forum: Cisco
    Replies:
    0
    Views:
    2,403
    Nick Filimonov
    Feb 9, 2004
  3. John Ireland
    Replies:
    4
    Views:
    11,127
    kirandeepmittal
    Nov 23, 2010
  4. Replies:
    1
    Views:
    6,776
    deccax
    Nov 17, 2005
  5. muanivanua
    Replies:
    0
    Views:
    451
    muanivanua
    Jul 18, 2008
Loading...

Share This Page