Unsolved
This post is more than 5 years old
6 Posts
0
5344
Understanding VLANs with PowerConnect 6224/6248
Hi,
New swtiches has just been delivered to us and I'm struggling with understanding VLANs. I've got SonicWall firewall which allows me to create virtual (sub-)interfaces on the single physical interface. I created 2 for tests. What I require is to communicate within all VLANs I would have. I would put untagged VLANs but unfortunately I cannot have multiple untagged VLANs on one port and also SonicWall restricts to have tagged VLAN on the interface. So I went through GUI and I didn't find any options to configure tagged VLANs. I was really surprised they are not there! But started digging the Internet and I found it's possible from CLI. So I went to CLI, configured everything and... it doesn't work. I can't ping firewall at all.
Configuration:
SonicWall has a LAN interface setup as 192.168.168.168 (default) with 2 VLANs on it with IP 10.0.0.1 (V10) and 20.0.0.2 (V20).
I enabled all rules to ping and to respond under these IPs. Went to Dell switch and put configuration like:
!Current Configuration:
!System Description "Dell 24 Port Gigabit Ethernet, 2.2.0.3, VxWorks5.5.1"
!System Software Version 2.2.0.3
!
configure
vlan database
vlan 2,10,20
vlan association subnet 10.0.0.0 255.0.0.0 10
vlan association subnet 20.0.0.0 255.0.0.0 20
exit
stack
member 2 1
member 4 1
exit
ip address 192.168.0.235 255.255.255.0
ip default-gateway 192.168.0.1
interface vlan 10
name "test"
exit
interface vlan 20
name "test"
exit
username "admin" password 0192023a7bbd73250516f069df18b500 level 15 encrypted
!
interface ethernet 2/g1
spanning-tree portfast
switchport mode general
no switchport general acceptable-frame-type tagged-only
switchport general allowed vlan add 10,20 tagged
exit
!
interface ethernet 2/g2
spanning-tree portfast
switchport mode general
no switchport general acceptable-frame-type tagged-only
switchport general allowed vlan add 10,20 tagged
exit
snmp-server community public rw ipaddress 192.168.0.232
exit
So my server is connected to port 1, sonicwall to port 2.
I can't ping sonicwall, sonicwall can't ping me.
I tried to assign IP addresses to both vlan interfaces but it didn't help. What really was strange for me, when I assigned IP addresses to vlan interfaces, and tried to ping them from switch they didn't reply back! Why ?
I don't really understand the way how it works. Please help me with sorting it out.
Thank you for your help in advance.
Regards,
Jarek