Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

VLAN Routing

0 views
Skip to first unread message

newbie

unread,
Oct 2, 2005, 5:18:39 AM10/2/05
to
I need to setup a following VLAN and make them able to see each other.

VLAN1 10.0.1.0/27
VLAN2 10.0.2.0/27
VLAN3 10.0.3.0/27

So, I figured that I need to give IP Address to the VLAN

VLAN1 = 10.0.1.1/27
VLAN2 = 10.0.2.1/27
VLAN3 = 10.0.3.1/27

And do IP Route

ip routing
ip route 0.0.0.0 0.0.0.0 10.0.1.3 <-- Router

enable VTP

vtp domain Cisco
vtp mode transparent

Is this could be all for InterVLAN Routing?

Do I have to set VTP Domain? Or do I have to set other things?

Do I have to specifiy which port belongs to which VLAN or just enabling
VTP Domain is good enough?

Newbie,

Cen

unread,
Oct 2, 2005, 8:28:34 AM10/2/05
to
For VLAN routing, you don't need VTP.
If you're using a switch (like the 2950) and set up the 3 VLANs, you need a
router to route between the VLANs and a common approach is using trunking.
If you're using a MLS (a switch with also routing capability, like the
3550), just set up the 3 VLANs, assign vlan membership to ports and off you
go. Don't even need to put a route (assuming you're not routing beyond the 3
VLANs).

"newbie" <xr...@yahoo.com> wrote in message
news:1128244719.4...@g44g2000cwa.googlegroups.com...

Doug McIntyre

unread,
Oct 2, 2005, 9:59:19 AM10/2/05
to
"newbie" <xr...@yahoo.com> writes:
>I need to setup a following VLAN and make them able to see each other.

Okay, on what platform? This could apply to layer-2 switches, in which
this won't work at all, or routers or layer-3 switches would could work.


>Is this could be all for InterVLAN Routing?

Possibly

>Do I have to set VTP Domain? Or do I have to set other things?

VTP is used to communicate to other switches/routers what VLANs
exist. A cisco won't forward VLAN traffic along a trunk unless it
knows the VLANs in use.

>Do I have to specifiy which port belongs to which VLAN or just enabling
>VTP Domain is good enough?

VTP isn't used to specify access of ports to a VLAN. Its used to
communicate to other switches what VLANs exist. You still have to have
some method to put each port into accessing what VLAN each needs to
(or use something like VMPS).

Igor Mamuzic

unread,
Oct 2, 2005, 10:11:14 AM10/2/05
to
"Doug McIntyre" <mer...@geeks.org> wrote in message
news:433fe7b7$0$30624$892e...@auth.newsreader.octanews.com...
> "newbie" <xr...@yahoo.com> writes:

> VTP is used to communicate to other switches/routers what VLANs
> exist. A cisco won't forward VLAN traffic along a trunk unless it
> knows the VLANs in use.

Cisco won't forward traffic along a trunk if there is no active VLANs on
other switches, but only if you enable VTP pruning which is disabled by
default on many switches I saw...

B.R.
Igor

>>I need to setup a following VLAN and make them able to see each other.
>
> Okay, on what platform? This could apply to layer-2 switches, in which
> this won't work at all, or routers or layer-3 switches would could work.
>
>
>>Is this could be all for InterVLAN Routing?
>
> Possibly
>
>>Do I have to set VTP Domain? Or do I have to set other things?
>

...

newbie

unread,
Oct 2, 2005, 10:41:13 AM10/2/05
to
It's a 3550 cisco layer 3 switch also I need to use the same VLAN
across two more 2950 switches. That's why I need to use VTP.

Do I need to speficy VLAN to ports on the switch? Now, all ports belong
to VLAN 1(default); how can I assign VLAN 3,4,5 to the all the ports.

Cen

unread,
Oct 2, 2005, 11:18:45 AM10/2/05
to
in interface config mode,
switchport access vlan x


"newbie" <xr...@yahoo.com> wrote in message

news:1128264073.8...@o13g2000cwo.googlegroups.com...

Newbie72

unread,
Oct 3, 2005, 7:55:54 AM10/3/05
to
The question is how do I add ports on the switch to each
vlan-------------

The command is
1 login to switch
2 enter enable mode type-------- en and enter
3 enter global config mode------ conf t then enter
4 type interface fastethernet 'slot/port number of interface that is to
be configured.
5 switchport access vlan 'the number of the vlan you want to give
access to'

make sure you enable trunking on each switch

Steve

0 new messages