cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1959
Views
0
Helpful
18
Replies

SG300-10 Route 2 VLANS

Nesperas35
Level 1
Level 1

Hello Guys,

I have a SG300-10 and I am trying to route 2 vlans, I was using layer 2 SW's and both my Firewalls to route them and all was working but I want the SW to do it now.

 

I'll try to explain my network as best as I can.

 

So I have 2 L2 SW's and 1 L3 SW in the middle 1 with LAG and the other trunked, connected to my L2 SW's are 2 different networks 10.1.1.0 and 172.16.1.0 they are NAT by the firewalls to 10.110.1.0 and 192.168.5.0 these 2 addresses are my router lan's and gateway

 

I have setup the VLANS and both firewalls get Ip addresses from the router but my question is how do I route the traffic between both 172 and 10 lans?

 

If I create both vlan interfaces on the L3 SW for 10 or 172 they also get ip's (DHCP) and the routes are created automatically but I still can't ping them both from 10 to 172 and 172 to 10.

 

Do I have to create a static route on the firewalls?

 

Sorry I'm not a network expert and all this is being done just by reading and testing but I do understand some concepts.

 

Cheers

 

18 Replies 18

Jaderson Pessoa
VIP Alumni
VIP Alumni
Dear,
try run this command: L3(config): ip routing
Jaderson Pessoa
*** Rate All Helpful Responses ***

The SW is already operating as L3 IP routing is active

Could provide output from:
show sdm prefer
show ip route
show ver

please?
Jaderson Pessoa
*** Rate All Helpful Responses ***

hi if you can please share rough diagram of your network and what you need to do.
Please rate this and mark as solution/answer, if this resolved your issue
Good luck
KB

Capture.PNG

 

 

There, my goal is to make both lans talk to each other

 

Any help would be great

you can configure LAN VLAN 10 and LAN VLAN 500 gateway IP address in L3 sw. then allow those VLANs on oll TRUNK links and LAG. try ping gateway, and if it is success it should route traffic between each other through L3 SW. and remember all L2 SWs need to have both LAN VLANs and allowed through Trunks.
Please rate this and mark as solution/answer, if this resolved your issue
Good luck
KB

Hi Thanks, do you mean assign vlan 10 and vlan 500 interfaces on the Switch and give them the firewalls LAN ip gateway's?

 

Thanks

if you assigned the gatwayes already to Firewall, then firewall can route traffic to l3 sw. im not sure why you are having 2 firewalls inside the LAN.
if you want to keep firewalls as it is, you can add static routes in firewall.
if not, tou can remove firewall and add LAN gateway to L3 sw.
ex.

option 1 >

 PC > FW 1(gateway for VLAN 10) > L3 SW > FW 2(gateway for VLAN 500) > PC

if so you need to have same subnet IP addresses for each VLAN (10 and 500) created in L3 sw and add respective routes in FW and L3 sw.

 

option 2 > 

PC > L3 SW (gateway for both vlan 10 and 500) > PC

Please rate this and mark as solution/answer, if this resolved your issue
Good luck
KB

Thanks! I have 2 firewalls as 1 is my home lab and the other my home network I usually shutdown the first

 

I'll try option 1

Thanks

Hi Guys,

 

Something REALLY weird is happening, and I hope you guys can help me.

 

I'm having a response from a 10.1.1.1 and 10.1.1.3 ip address's even when everything is disconnected from the network.

 

If I connect to my router wireless network I still get a reply from those 2 addresses, I have already reset my router and it's still there again nothing is connected to my router just my laptop. I can also ping those addresses from my phone.

 

This is weird as one of my lan networks is 10. but nothing is up or connected...

 

If I hotspot to my phone then they are gone which means this is on my vdsl2 isp network

 

What is going on??

Dear Nesperas35
    If you want to establish connection between lan1 and lan2 through two firewalls, you need a VPN between them to do works it.

So, try it first. Somes steps for you.

1. Create a vpn ipsec between PFSENSE and SOPHOS through wan of them.
2. Create a firewall rules on LAN and IPSEC interface thats was created behavior to allow both lans on two firewalls establish connection.

Thats it.
Obs: your L3 switch doesn't command anything in your topology, just the firewalls.
Jaderson Pessoa
*** Rate All Helpful Responses ***

thanks Jaderson, It's working now with 2 static routes 1 on each firewall however performance is very poor.

 

And I can't find the problem.. well poor network design perhaps :(

 

A vpn between them?

because your routes are appoint for wan interfaces.. its sound like a route through internet. Try make a vpn between of them and it will works fine.
Jaderson Pessoa
*** Rate All Helpful Responses ***

No, routes are on both lan interfaces and pointing to my L3 as gateway all works but very very slow