Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Computing > Cisco > VLAN and subinterfaces

Reply
Thread Tools

VLAN and subinterfaces

 
 
grzesiek
Guest
Posts: n/a
 
      10-16-2005
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


 
Reply With Quote
 
 
 
 
Mark Lar
Guest
Posts: n/a
 
      10-17-2005
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.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Removing Subinterfaces from a CISCO 7204 Router John Ireland Cisco 4 11-23-2010 01:13 PM
dhcp addressing for vlans and subinterfaces muanivanua Cisco 0 07-18-2008 04:58 AM
PIX subinterfaces and Switch subinterfaces Omarmasood360@gmail.com Cisco 1 11-17-2005 08:55 PM
Netflow+NAT on subinterfaces on a stick Nick Filimonov Cisco 0 02-09-2004 02:10 PM
access-groups on vlan subinterfaces - packet directions? Tom Hickory Cisco 0 11-11-2003 12:52 PM



Advertisments