Routing between VLANs using a Layer 3 Switch

Routing between VLANs using a Layer 3 Switch

NewsGroups | Search | Tools
 comp.dcom.lans.ethernet  Post an article  get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content  add this group's latest topics to your Google content  YahooMyWeb Yahoo!  Google Google  Windows Live Favorites Windows Live  del.icio.us del.icio.us  digg digg  Add to Netscape Netscape
Subject Author Date
Routing between VLANs using a Layer 3 Switch support 03-24-2005
Posted by on March 24, 2005, 8:39 am
If you were  Registered and logged in, you could reply and use other advanced thread options


I am trying to figure out how to get an echo response when I ping a
device on a different VLAN.

Just to test things and get them to work, currently, I have two Dell
Powerconnect 6024 switches on my desk. I will call them S1 and S2. S1
is connected to our internal LAN. S2 is connected to S1 via a trunk
port on each switch and nothing else. I have some ports set up to be
on VLAN 10 and some to be on VLAN 20. I have IP Addresses assigned to
both VLANs on each switch as follows:

S1:
VLAN 10, 192.168.0.40
VLAN 20, 192.168.1.1

S2:
VLAN 10, 192.168.0.32
VLAN 20, 192.168.1.2

On S1, Port 24 is set up as a Trunk port with VLAN 10 & 20 both added
to it. It is connected by a cable to Port 1 on S2, also configured as
a trunk port with both VLAN 10 & VLAN 20 added to it.

Initially, I was trying to set up static routes using an white paper on
Dell's web site,
http://www.dell.com/downloads/­global/products/pwcnt/en/app_n­ote_38.pdf.


However, I received a reply from a Dell tech/engineer indicating that
this paper is misleading and that the Layer 3 switch (Powerconnect
6024) would automatically route between directly connected networks.

I am trying to test this by simply pinging the ip addresses of VLAN 20
from a computer connected to a port that is on VLAN 10. All I can get
is "Request timed out".

For example, my computer is connected to port 15 on S1 & has the IP
address, 192.168.0.103. I can ping 192.168.0.40, the IP address of
VLAN 10 on S1 with replies and I can ping 192.168.0.32, the IP address
of VLAN 10 on S2 and get replies. I cannot, however, get replies when
I ping 192.168.1.1 or 192.168.1.2, which is VLAN 20 on S1 & S2,
respectively.

If anyone is familar with configuring VLANs using Layer 3 & Layer 2
switches, please help.


Thanks,


Mike



Posted by T. Sean Weintz on March 24, 2005, 1:37 pm
If you were  Registered and logged in, you could reply and use other advanced thread options


support@eriworld.com wrote:
> I am trying to figure out how to get an echo response when I ping a
> device on a different VLAN.
>
> Just to test things and get them to work, currently, I have two Dell
> Powerconnect 6024 switches on my desk. I will call them S1 and S2. S1
> is connected to our internal LAN. S2 is connected to S1 via a trunk
> port on each switch and nothing else. I have some ports set up to be
> on VLAN 10 and some to be on VLAN 20. I have IP Addresses assigned to
> both VLANs on each switch as follows:
>
> S1:
> VLAN 10, 192.168.0.40
> VLAN 20, 192.168.1.1
>
> S2:
> VLAN 10, 192.168.0.32
> VLAN 20, 192.168.1.2
>
> On S1, Port 24 is set up as a Trunk port with VLAN 10 & 20 both added
> to it. It is connected by a cable to Port 1 on S2, also configured as
> a trunk port with both VLAN 10 & VLAN 20 added to it.
>
> Initially, I was trying to set up static routes using an white paper on
> Dell's web site,
> http://www.dell.com/downloads/­global/products/pwcnt/en/app_n­ote_38.pdf.
>
>
> However, I received a reply from a Dell tech/engineer indicating that
> this paper is misleading and that the Layer 3 switch (Powerconnect
> 6024) would automatically route between directly connected networks.
>
> I am trying to test this by simply pinging the ip addresses of VLAN 20
> from a computer connected to a port that is on VLAN 10. All I can get
> is "Request timed out".
>
> For example, my computer is connected to port 15 on S1 & has the IP
> address, 192.168.0.103. I can ping 192.168.0.40, the IP address of
> VLAN 10 on S1 with replies and I can ping 192.168.0.32, the IP address
> of VLAN 10 on S2 and get replies. I cannot, however, get replies when
> I ping 192.168.1.1 or 192.168.1.2, which is VLAN 20 on S1 & S2,
> respectively.
>
> If anyone is familar with configuring VLANs using Layer 3 & Layer 2
> switches, please help.
>
>
> Thanks,
>
>
> Mike
>

Are your trunks tagged?


Posted by anoop on March 24, 2005, 2:43 pm
If you were  Registered and logged in, you could reply and use other advanced thread options



support@eriworld.com wrote:
> I am trying to figure out how to get an echo response when I ping a
> device on a different VLAN.
>
> Just to test things and get them to work, currently, I have two Dell
> Powerconnect 6024 switches on my desk. I will call them S1 and S2.
S1
> is connected to our internal LAN. S2 is connected to S1 via a trunk
> port on each switch and nothing else. I have some ports set up to be
> on VLAN 10 and some to be on VLAN 20. I have IP Addresses assigned
to
> both VLANs on each switch as follows:
>
> S1:
> VLAN 10, 192.168.0.40
> VLAN 20, 192.168.1.1
>
> S2:
> VLAN 10, 192.168.0.32
> VLAN 20, 192.168.1.2

What subnet masks are you using?

> However, I received a reply from a Dell tech/engineer indicating that
> this paper is misleading and that the Layer 3 switch (Powerconnect
> 6024) would automatically route between directly connected networks.

You would typically need to enable IP forwarding on the switch.
See if they have a command such as "ip routing".

Anoop



Posted by eriworld on March 25, 2005, 12:37 pm
If you were  Registered and logged in, you could reply and use other advanced thread options


The subnet mask in all cases is 255.255.255.0.

VLANs are on the following Networks on both switches.

VLAN 10: 192.168.0.0 /24
VLAN 20: 192.168.1.0 /24

Below is more detailed information about my configuration.

********Configuration of S1*********

Using Telnet to connect to S1, the following shows that Port g24 is in
Trunk mode and has VLAN 10 & 20 added to it.

console# show interface switchport ethernet g24
Port : g24
Port Mode: Trunk
Gvrp Status: disabled
Ingress Filtering: true
Acceptable Frame Type: admitAll
Ingress UnTagged VLAN ( NATIVE ): 1
Port is member in:

Vlan Name Egress rule Port Membership Type
---- -------------------------------- ----------- --------------------
1 1 Untagged System
10 10 Tagged Static
20 20 Tagged Static

The following shows that 192.169.0.40 is binded to VLAN 10 and
192.168.1.1 is binded to VLAN 20 on S1.

console# show ip interface vlan 10
Proxy ARP is disabled

IP Address Type Directed
Broadcast
----------------------- --------- -----------
192.168.0.40/24 static disable

console# show ip interface vlan 20
Proxy ARP is disabled

IP Address Type Directed
Broadcast
----------------------- --------- -----------
192.168.1.1/24 static disable

The following shows that 192.168.0.0/24 & 192.168.1.0/24 are directly
connected subnets on S1.

console# show ip route
Maximum Parallel Paths: 4 (4 after reset)
Codes: C - connected, S - static, R - RIP, O - OSPF, E - OSPF external
C 192.168.0.0/24 is directly connected
vlan 10
C 192.168.1.0/24 is directly connected
vlan 20
C 192.168.10.0/24 is directly connected
vlan 1

The following shows that Port g15, to which my workstation is
connected, is a member of VLAN 10.

console# show interface switchport ethernet g15
Port : g15
Port Mode: Access
Gvrp Status: disabled
Ingress Filtering: true
Acceptable Frame Type: admitAll
Ingress UnTagged VLAN ( NATIVE ): 10
Port is member in:

Vlan Name Egress rule Port Membership Type
---- -------------------------------- ----------- --------------------
10 10 Untagged Static


********Configuration of S2*********

Using HyperTerminal on a Serial cable connection between my worstation
and S2, the following shows that Port g1 is in Trunk mode and has VLAN
10 & 20 added to it.

console# show interface switchport ethernet g1
Vlan Name
Ingress UnTagged VLAN ( NATIVE ): 1
Port is member in:

Vlan Name Egress rule Port Membership Type
---- -------------------------------- ----------- --------------------
1 1 Untagged System
10 10 Tagged Static
20 20 Tagged Static

The following shows that 192.169.0.32 is binded to VLAN 10 and
192.168.1.2 is binded to VLAN 20 on S2.

console# show ip interface vlan 10
Proxy ARP is disabled

IP Address Type Directed
Broadcast
----------------------- --------- -----------
192.168.0.32/24 static disable

console# show ip interface vlan 20
Proxy ARP is disabled

IP Address Type Directed
Broadcast
----------------------- --------- -----------
192.168.1.2/24 static disable

The following shows that 192.168.0.0/24 & 192.168.1.0/24 are directly
connected subnets on S2.

console# show ip route
Maximum Parallel Paths: 4 (4 after reset)
Codes: C - connected, S - static, R - RIP, O - OSPF, E - OSPF external
C 192.168.0.0/24 is directly connected
vlan 10
C 192.168.1.0/24 is directly connected
vlan 20
C 192.168.11.0/24 is directly connected
vlan 1

********End of Configuration Information*********



Posted by eriworld on March 25, 2005, 12:39 pm
If you were  Registered and logged in, you could reply and use other advanced thread options


Correction to last message:

In my last message, I wrote,

"...on S1, VLAN 10 is 192.168.040 & on VLAN 20, it is 192.168.0.32.
VLAN 20, on S1, is 192.168.1.1 & on S2 it is 192.168.1.2."

This should read as follows,

"...on S1, VLAN 10 is 192.168.040 & on S2, it is 192.168.0.32. VLAN
20, on S1, is 192.168.1.1 & on S2 it is 192.168.1.2."



Similar ThreadsPosted
Help: Low-Cost Switch with VLAN routing / LAN Segmentation? October 17, 2005, 3:04 pm
Low-end Layer 3 switch? February 14, 2006, 6:19 pm
Layer 2 switch vs Layer 3 switch October 5, 2007, 1:28 pm
HELP!A SURVEY ABOUT THE LAYER-3 SWITCH February 17, 2006, 12:34 am
Layer 3 switch model? March 30, 2007, 1:20 pm
MAC layer for a switch and a router November 30, 2007, 4:25 am
Configure VLANs on D-Link switch.. May 9, 2006, 6:57 am
Intra-switch VLANs Netgear September 6, 2006, 1:46 pm
Allied Telesyn switch VLANS May 14, 2007, 3:36 am
Help configuring VLANs on HP Procurve 2824 switch May 24, 2007, 3:06 pm

other useful resources:
The Federal Communications Commission (FCC)
Telecommunications Industry Association
Electronic and Software Security Products and Services
International Telecommunication Union

Custom CGI Perl and PHP programming by 1-Script.com

Contact Us | Privacy Policy
The site map in XML format XML site map