Unsolved
This post is more than 5 years old
20 Posts
0
15835
March 7th, 2006 17:00
Setting Up 2 VLANS 6024
I cannot figure this out for the life of me. We originally setup the 6024 on VLAN1, ip address 10.0.0.154 with the help of a DELL technician. So great, it works nicely.
However I need to setup another VLAN to put 5 workstations on. I created a VLAN 2, and put those ports on it (Untagged). I also configured the interface with an IP address on a different subnet. (10.0.1.1)
So VLAN2 now has an ip address. However the workstations cannot get out to the internet. I dont get it or what Im missing? To test it, I configured a static IP on one of those workstations.
IP: 10.0.1.4
Subnet: 255.255.255.0
Gateway: 10.0.1.1 (also tried 10.0.0.1) our default gateway (sonicwall)
Any ideas?
0 events found
No Events found!


jbilliau
20 Posts
0
March 7th, 2006 18:00
Message Edited by jbilliau on 03-07-2006 02:33 PM
DELL-Cuong N.
1K Posts
0
March 7th, 2006 18:00
Did you try looking at the paper on VLAN routing - found here?
Information you given here is not enough to know what might be the problem. There are many possibilities and without knowing exactly what you have in your network and the configuration of the switch it is hard to guess.
Anyway, try looking at the various papers at the link above including the one on "VLAN routing".
Cuong.
jbilliau
20 Posts
0
March 7th, 2006 18:00
DELL-Cuong N.
1K Posts
0
March 7th, 2006 18:00
Post your configuration. Then also describe your network. Are all the ports on the 6024 connected to workstations or do you have more switches? Describe what you are trying to do and what you expected to happen. Perhaps we can spot the problem if you provide enough info.
Cuong.
jbilliau
20 Posts
0
March 7th, 2006 19:00
console# show run
Router Configuration
-----------------------------
vlan database
vlan 2
exit
interface ethernet g1
switchport access vlan 2
exit
interface vlan 2
name test
exit
interface vlan 1
ip address 10.0.0.154 255.255.255.0
exit
interface vlan 2
ip address 10.0.1.1 255.255.255.0
exit
ip route 0.0.0.0 0.0.0.0 10.0.0.1
ip dhcp relay address 10.0.0.1
username admin password baef066bb91b53108a52594914ff85d0 level 15 encrypted
OOB host Configuration
-----------------------------
Empty configuration
_____________________________
>>Default settings:
_____________________________
>>Router Configuration
-----------------------------
>>Service tag: F1P2381
>>SW version 2.0.0.01 (date 10-Apr-2005 time 08:28:21)
>>Gigabit Ethernet Ports
=============================
>>no shutdown
>>speed 1000
>>duplex full
>>negotiation
>>flow-control off
>>mdix auto
>>no back-pressure
>>interface vlan 1
>>interface port-channel 1 - 7
>>no router RIP
>>no router OSPF enable
>>spanning-tree
>>spanning-tree mode STP
>>qos basic
>>OOB host Configuration
-------------------------
>>interface out-of-band-eth
>>no shutdown
>>speed 100
>>duplex full
>>negotiation
>>flow-control off
>>no back-pressure
>>exit
My testmachines static IP configuration is:
IP: 10.0.1.4 (because I want the new VLAN to be 10.0.1.0 subnet)
SubnetMask: 255.255.255.0
Gateway: 10.0.0.1 (although Ive also tried 10.0.1.0 & 10.0.0.154)
DNS: 10.0.0.2 (windows 2003 DNS server)
Secondary DNS: 63.209.135.242 (our ISP's DNS)
DELL-Cuong N.
1K Posts
0
March 7th, 2006 19:00
Yes that makes sense. Can you do a "show run" on your 6024 and post your configuration here please (remove the user password line if you worry about security or blank out the encrypted password - same with the SNMP server line if you configured snmp).
Also how did you configure your test PC? What's the IP/Mask and gateway address for this PC? Remember that you need a default gateway configured on your PC (point to the 6024 which is doing your routing) if you want to reach networks that are not in your subnet.
Cuong.
DELL-Cuong N.
1K Posts
0
March 7th, 2006 20:00
Ok note that by setting up the 6024 to route in this way, you are not blocking ports that are member of one VLAN from accessing ports that are member of the other VLAN since the 6024 will route across the VLANs. VLAN segmentation occurs only at Layer 2, whereas Layer 3 routing will cross VLAN boundary! I hope you realize that there is no VLAN segmentation in the 6024 once the routing layer is setup like this.
If you still want to block certain hosts on one VLAN from accessing hosts or services on another VLAN now, you would also need to setup ACL (access control list on the 6024) to specifically filter out packets and prevent them from getting across the VLAN boundary.
If you had setup just the VLANs to provide segmentation and did not configure any IP address to those VLAN then there would not be any routing tables setup and you have VLAN segmentation again.
If you do this and still want management access you can either use the OOB management ethernet port, or you can configure an additional VLANs (three in total). You would use VLAN 2 and 3 for example for your hosts then use VLAN 1 for management only on some ports for example (this might be a bit more tricky depending on what you are trying to do).
There are a number of whitepapers at the site I pointed to before which discuss VLAN routing (you are doing VLAN routing in the 6024), ACL, LAN segmentation, etc which may help you.
Cuong.
jbilliau
20 Posts
0
March 8th, 2006 17:00
jbilliau
20 Posts
0
March 8th, 2006 17:00
Message Edited by jbilliau on 03-08-2006 01:49 PM
DELL-Cuong N.
1K Posts
0
March 8th, 2006 17:00
From your test PC, can you ping the switch IP address at 10.0.1.1 (IP on VLAN 2)? Then from your PC can you ping 10.0.0.154 (the IP address on the interface from 6024 to the rest of your network)?
If you can ping both of these interfaces from your PC then it means that the 6024 is correctly routing your packets to the correct interfaces so if you don't get a response I suspect that its because the next hop router in your 10.0.0.x subnet doesn't have a route back to the 6024.
So check the router at the next hop and see if it has a route back to the 6024 for the system on the 10.0.1.x subnet (where your PC resides). If you have a packet sniffer you could sniff packets coming from the 6024 and see if you can see the packets from your PC toward the 10.0.0.x subnet.
I think what might have happened is that the 6024 is routing from the 10.0.1.x subnet to the 10.0.0.x subnet ok but then the next hop router doesn't have a route back to the 6024 (looks like you are using static routing) so the packets get out but when it tries to return it can't get back to the 6024.
Cuong.
DELL-Cuong N.
1K Posts
0
March 8th, 2006 18:00
jbilliau
20 Posts
0
March 8th, 2006 18:00
jbilliau
20 Posts
0
March 8th, 2006 22:00
Wow I think I got it. I made a static route
Destination Network: 10.0.1.0
Subnet Mask: 255.255.255.0
Gateway: 10.0.0.154
and now my testmachine gets internet. Thats great
jbilliau
20 Posts
0
March 9th, 2006 15:00
DELL-Cuong N.
1K Posts
0
March 9th, 2006 18:00