static routes between switches

static routes between switches

static routes between switches
static routes between switches
3 weeks ago - last edited 2 weeks ago
Hardware Version:
Firmware Version:

Hi!

 

I kindly ask for your advice as I don't find any help with getting omada to configure static routes between clients.

I do have an opnsense-firewall that is my gateway (default and vlans) and acts as dhcp-server (default-lan and vlans). As I do not want to have all the traffic being routed over this opnsense-box that is targeting the lan I asked Mr. Google and was told to have some static routes.

 

I don't see how to configure it with the Omada-sdn. All I would like to do is: traffic for client A/IP please use port-X or forward it to switch 2/IP...

I'm new to this topic but this seems to be something that is in 'every-day-use' and I just don't see how to configure it.

Please let me know how to configure it using Omada.

Kind regards,

Tom

  0      
  0      
#1
Options
1 Accepted Solution
Re:static routes between switches-Solution
3 weeks ago - last edited 2 weeks ago

  @DerTom 

 

Not quite...

 

What you describe is you want switch based routing

 

Internet traffic will go to your gateway, out then back, and all inter-vlan the switch will route internally.

 

- You need to set up Interfaces for each vlan on your switch, give it an IP relevant to each network.

- In your DHCP server settings, set each "Gateway" as the switch IP for that vlan

- On your gateway set a static route for each vlan to point to the switch interface IP on the management IP - you can supernet them together like this  192.168.0.0/16 > 192.168.0.254 (switch IP)

- On the switch, set a default static route 0.0.0.0 /0 > Gateway IP on management vlan

 

The swich will now route all inter-vlan traffic and will send any internet traffic to the agteway.  Return traffic from the internet will be sent of the gateway route to the switch and out to your clients

 

I wrote a guide for something similar, you can use this as a reference

 

https://community.tp-link.com/en/business/forum/topic/805824

Recommended Solution
  0  
  0  
#2
Options
2 Reply
Re:static routes between switches-Solution
3 weeks ago - last edited 2 weeks ago

  @DerTom 

 

Not quite...

 

What you describe is you want switch based routing

 

Internet traffic will go to your gateway, out then back, and all inter-vlan the switch will route internally.

 

- You need to set up Interfaces for each vlan on your switch, give it an IP relevant to each network.

- In your DHCP server settings, set each "Gateway" as the switch IP for that vlan

- On your gateway set a static route for each vlan to point to the switch interface IP on the management IP - you can supernet them together like this  192.168.0.0/16 > 192.168.0.254 (switch IP)

- On the switch, set a default static route 0.0.0.0 /0 > Gateway IP on management vlan

 

The swich will now route all inter-vlan traffic and will send any internet traffic to the agteway.  Return traffic from the internet will be sent of the gateway route to the switch and out to your clients

 

I wrote a guide for something similar, you can use this as a reference

 

https://community.tp-link.com/en/business/forum/topic/805824

Recommended Solution
  0  
  0  
#2
Options
Re:static routes between switches
3 weeks ago

  @GRL 
 

Thank you for your explanation and the reference. 

I will try to get it up and running over the weekend.

  0  
  0  
#3
Options