cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
937
Views
0
Helpful
2
Replies

Problems implementing VLANs.

chavarriaa
Level 1
Level 1

Hello everyone:

Recently my Iv'e pursached a SF300-24 for work. I wanna implement a pfsense as proxy server and firewall using Vlans. The problem is when i configurate my vlans completly I've lose the access from WEB-GUI. 
Here's my network map:
I reiterate, this is only a network test. but want to know what is the correct way to implement:

 

My router configuration is the next:

****CREATE MY VLANS****
S1(config)#vlan database
S1(config-vlan)#vlan 10
S1(config-vlan)#vlan 20
S1(config-vlan)#exit

**** PORT 1 CONFIGURATION ****
S1(config)#interface fe1
s1(config-if)#switchport mode trunk
S1(config-if)#switchport trunk allowed vlan add 10,20
S1(config-if)#no shut
S1(config-if)#exit

**** PORT 1 CONFIGURATION ****
S1(config)#interface fe2
S1(config-if)#switchport mode access
S1(config-if)#switchport access vlan 10
S1(config-if)#exit

**** PORT 1 CONFIGURATION ****
S1(config)#interface fe3
S1(config-if)#switchport mode access
S1(config-if)#switchport access vlan 20
S1(config-if)#exit
S1(config)#exit
S1#show ip interface


    IP Address         I/F       Type     Directed   Precedence   Status
                                          Broadcast
------------------- --------- ----------- ---------- ---------- -----------
192.168.0.232/24    vlan 1    DHCP        disable    No         Valid


​​

Always has de same IP interface. Before the VLANs configuration can i acces, but  when I've done my configuration I can't access to the GUI.

I'm  a little new in vLANs and I don't know what I do wrong. I will aprecciate your time and knowledge shared.

 

2 Replies 2

John Blakley
VIP Alumni
VIP Alumni

For vlans to work, you need a router. What's doing the routing for you when you're trying to go from vlan 10 to vlan 20? Do you have subinterfaces configured on the router?

HTH,

John

HTH, John *** Please rate all useful posts ***

Actually I have two routers: 

  • Mikrotik by ISP: brings the internet and somes IPs from  Network Job. and direct access from internet.
  • PFsense: acts as Router, Firewall and proxy server. He brings the IPs from my Network test.

First, when I connect the mikrotik cable to my Switch L3 works good. I can access from the IP provide by mikrotik. After putting the code attached previously, I've lost the access from GUI. neither from Network Job  or Network test can access.