Unsolved
This post is more than 5 years old
9 Posts
0
353176
March 15th, 2005 20:00
How to Set up Static Routes Between VLANs
I am having trouble understanding how set up static routes to access one VLAN from another. We have a Dell Powerconnect 6024, Layer 3 managed switch and two Dell Powerconnect 3348, Layer2 Managed switches.
I am working from an article on Dell's web site called "What is VLAN Routing?" It is "PowerConnect Application Note #38". It is available at the link,
http://www.dell.com/downloads/global/products/pwcnt/en/app_note_38.pdf.
I believe I understand everything in the article, except for two lines on page 4, step 4, in which the static routes are set up. They are as follows:
Dell-6024(config)# ip route 10.10.0.0 255.255.255.0 10.10.0.2
Dell-6024(config)# ip route 10.20.0.0 255.255.255.0 10.20.0.2
Dell-6024(config)# ip route 10.20.0.0 255.255.255.0 10.20.0.2
These are the routes defined on the 6024, Layer 3 switch. There are two basic things I don't understand in these statements. First, the destination network and the gateway to get to the destination network are on the same subnet in each case. My limited understanding of static routes tells me that, in order to grant access to another subnet, an IP address for one interface of a router must be in the same subnet as the computers that need access to the other subnet. In other words, in order for a computer with an IP address of, say, 10.10.0.5 on the 10.10.0.0/24 subnet to access the computer 10.20.0.5 on the 10.20.0.0/24 subnet, I thought the following route would be required,
ip route 10.20.0.0 255.255.255.0 10.10.0.2
where 10.20.0.0 255.255.255.0 is the destination subnet and 10.10.0.2 is the router interface on the same subnet as the 10.10.0.5 computer.
In this article, the 10.10.0.2 gateway or "next hop" is on the same subnet as the destination subnet, 10.10.0.0 255.255.255.0. I don't understand this. Could the fact that ports 23 & 24 on the 6024 are defined as Trunk ports have anything to do with this? Could these lines be a couple of typeos in which the destination subnets are each on the wrong line in this document?
The second thing I don't understand is what entities in this article are assigned the 10.10.0.2 and 10.20.0.2 IP addresses. Are these IP addresses assigned to the appropriate 3348 switches? VLAN 10 & VLAN 20 are assigned 10.10.0.1 & 10.20.0.1, respectively, on the 6024 switch. So, they can't be the VLAN IP addresses on the 6024 switch.
I have tried varoius scenarios for creating static routes. I tried setting the gateway addresses to be the VLAN addresses on the 6024 switch, but I got an error saying I can't use an IP address assigned to the device. I tried setting them to the VLAN IP addresses assigned on the 3348 switches and this didn't work either. In all cases, I tried defining static routes with the gateway address on the opposite subnet, as well as on the destination subnet. I tried placing a computer on each subnet and pinging the other computer, as well as pinging the IP addresses assigned to the VLANs on the switches, all without success. Do I need to enable ECHO on the switches?
Thank you for any information you can provide.
Sincerely,
Michael Mall
No Events found!


GregG1
2 Intern
•
812 Posts
0
March 16th, 2005 11:00
eriworld
9 Posts
0
March 16th, 2005 23:00
GregG1
2 Intern
•
812 Posts
0
March 17th, 2005 10:00
eriworld
9 Posts
0
March 21st, 2005 21:00
Port : g24
Port Mode: Trunk
Gvrp Status: disabled
Ingress Filtering: true
Acceptable Frame Type: admitAll
Ingress UnTagged VLAN ( NATIVE ): 1
Vlan Name Egress rule Port Membership Type
---- -------------------------------- ----------- --------------------
1 1 Untagged System
10 10 Tagged Static
20 20 Tagged Static
IP Address Type Directed
Broadcast
----------------------- --------- -----------
192.168.0.40/24 static disable
IP Address Type Directed
Broadcast
----------------------- --------- -----------
192.168.1.1/24 static disable
Maximum Parallel Paths: 4 (4 after reset)
C 192.168.1.0/24 is directly connected vlan 20
C 192.168.10.0/24 is directly connected vlan 1
Port : g15
Port Mode: Access
Gvrp Status: disabled
Ingress Filtering: true
Acceptable Frame Type: admitAll
Ingress UnTagged VLAN ( NATIVE ): 10
Vlan Name Egress rule Port Membership Type
---- -------------------------------- ----------- --------------------
10 10 Untagged Static
Vlan Name
Ingress UnTagged VLAN ( NATIVE ): 1
Vlan Name Egress rule Port Membership Type
---- -------------------------------- ----------- --------------------
1 1 Untagged System
10 10 Tagged Static
20 20 Tagged Static
IP Address Type Directed
Broadcast
----------------------- --------- -----------
192.168.0.32/24 static disable
IP Address Type Directed
Broadcast
----------------------- --------- -----------
192.168.1.2/24 static disable
Maximum Parallel Paths: 4 (4 after reset)
C 192.168.1.0/24 is directly connected vlan 20
C 192.168.11.0/24 is directly connected vlan 1
eriworld
9 Posts
0
March 23rd, 2005 16:00
Correction to last message:
In my last message, I wrote,
GregM_1
2 Intern
•
112 Posts
0
March 24th, 2005 15:00
eriworld
9 Posts
0
March 24th, 2005 22:00
Ethernet adapter Local Area Connection:
IP Address. . . . . . . . . . . . : 192.168.0.103
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.0.254
192.168.0.40
eriworld
9 Posts
0
March 25th, 2005 17:00
eriworld
9 Posts
0
March 25th, 2005 23:00
Okay, I have had some more success. But, I'm still very frustrated with this issue. Some of the info below is a rehash of what I wrote in previous messages.
**********S1 Configuration************
VLAN 10: 192.168.0.40 on subnet, 192.168.0.0 /24
VLAN 20: 192.168.1.1 on subnet, 192.168.1.0 /24
Port 24 is a trunk port with VLANs 10 & 20 added to it.
Port 1, which is a member of VLAN 10, connects to another switch on our network and thus is connected to the rest of our LAN. My workstation is configured as follows:
Windows IP Configuration
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . : erinet.eriworld.com
IP Address. . . . . . . . . . . . : 192.168.0.103
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.0.254
192.168.0.40
I don't understand what the second gateway, 192.168.0.40, actually does or how to get it to be useful in any way.
**********S2 Configuration**********
VLAN 10: 192.168.0.32 on subnet, 192.168.0.0 /24
VLAN 20: 192.168.1.2 on subnet, 192.168.1.0 /24.
Ethernet adapter Local Area Connection:
IP Address. . . . . . . . . . . . : 192.168.1.5
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.2
GregM_1
2 Intern
•
112 Posts
0
March 28th, 2005 13:00
eriworld
9 Posts
0
March 28th, 2005 20:00
Thank you very much for your assistance in this matter. I believe I now fully understand everything I was struggling with. Ultimately, the biggest hurdle seems to have been the fact that I couldn't figure out how set up a static route to another VLAN on the internet firewall. After looking at it again, I found where to do this. That took care of everything.
I haven't yet set up the workstations to use the 6024 as the gateway. However, I'm able to get internet access and see nodes on other VLANs/subnets, regardless of on which VLAN/subnet the node resides.