• May 10, 2024, 10:45:57 AM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

This Forum Beta is ONLY for registered owners of D-Link products in the USA for which we have created boards at this time.

Author Topic: 2x DES-3550 + VLANS + PFSENSE  (Read 6492 times)

akumajo

  • Level 1 Member
  • *
  • Posts: 2
2x DES-3550 + VLANS + PFSENSE
« on: September 22, 2010, 01:31:22 AM »

Hi

It's been 3 days that I'm working on the following setup.
Note, same setup with Cisco Catalyst switchs works  :o.

Note : www.pfsense.org is a router/fw

PFSENSE > SWITCH1 > SWITCH2
pfsense ip : 10.0.0.254/8
switch1 ip : 10.0.0.50/8
switch2 ip : 10.0.0.51/8

VLANS on PFSENSE + DHCP for each VLANS
VID 10 / VLAN10 / 10.0.10.0/24
VID 20 / VLAN20 / 10.0.20.0/24
VID 30 / VLAN30 / 10.0.30.0/24
VID 40 / VLAN40 / 10.0.40.0/24
VID 50 / VLAN50 / 10.0.50.0/24
VID 60 / VLAN60 / 10.0.60.0/24
VID 70 / VLAN70 / 10.0.70.0/24
VID 80 / VLAN80 / 10.0.80.0/24
VID 90 / VLAN90 / 10.0.90.0/24
VID 100 / VLAN100 / 10.0.100.0/24
VID 110 / VLAN110 / 10.0.110.0/24
VID 120 / VLAN120 / 10.0.120.0/24
VID 130 / VLAN130 / 10.0.130.0/24

PFSENSE to SWITCH1 is connected on port 50.
SWITCH1 to SWITCH2 are connected on ports 49.

What I want to do on switch1.
PORTS 1-10 : VID 1 / DEFAULT
PORTS 11-12 : VID 10 / VLAN10
PORTS 13-15 : NOT USED, DISABLED
PORTS 16-20 : VID 20 / VLAN20
PORTS 21-25 : VID 30 / VLAN30
PORTS 26-30 : VID 40 / VLAN40
PORTS 31-35 : VID 50 / VLAN50
PORTS 36-40 : VID 60 / VLAN60
PORTS 41-45 : VID 70 / VLAN70
PORTS 46-47 : VID 80 / VLAN80
PORT 48 : NOT USED, DISABLED
PORT 49 : TO SWITCH2
PORT 50 : TO PFSENSE

What I want to do on switch2.
PORTS 1-10 : VID 1 / DEFAULT
PORTS 11-20 : VID 90 / VLAN90
PORTS 21-25 : VID 100 / VLAN100
PORTS 26-30 : VID 110 / VLAN110
PORTS 31-35 : VID 120 / VLAN120
PORTS 36-40 : VID 130 / VLAN130
PORTS 41-48 : NOT USED, DISABLED
PORT 49 : TO SWITCH1 (receive other VLANS)
PORT 50 : NOT USED, DISABLED

I'm going crazy with thoses switchs  :-\.
Thx for help !
Logged

akumajo

  • Level 1 Member
  • *
  • Posts: 2
Re: 2x DES-3550 + VLANS + PFSENSE
« Reply #1 on: September 22, 2010, 07:14:12 AM »

heres an exemple with less vlans (port 50 on SWITCH1 to pfsense router, port 49 on SWITCH1 to port 49 on SWITCH2)

#SWITCH1
config ipif System ipaddress 10.0.0.50/255.0.0.0
config vlan default del 1-48
create vlan vlan10 tag 10
config vlan vlan10 add untagged 2-10
config vlan vlan10 add tagged 49-50
create vlan vlan110 tag 110
config vlan vlan110 add untagged 11-48
config vlan vlan110 add tagged 49-50

#SWITCH2
config ipif System ipaddress 10.0.0.51/255.0.0.0
config vlan default del 1-48
create vlan vlan10 tag 10
config vlan vlan10 add untagged 2-10
config vlan vlan10 add tagged 49
create vlan vlan50 tag 50
config vlan vlan50 add untagged 11-48
config vlan vlan50 add tagged 49

Results :
VLAN10 and 110 works on switch 1
VLAN10 works on switch 2, VLAN50 does not works

What am I missing ?

Logged