Jump to content

So i have a linksys managed switch LGS5528.

 

the main vlan ID 1 is untagged on all the 28 ports and uplink in port 27

the second vlan ID 10 is tagged on a few of the ports and uplink in port 28

 

so main thing is

How do i do port forwarding where if 192.168.1.xxx enters port 28 and exits to manually enter the ipconfig 10.10.10.xxx to gain access?

 

Link to comment
https://linustechtips.com/topic/1033076-cisco-vlans/
Share on other sites

Link to post
Share on other sites

I'm very confused by your question. Are you asking how to port forward from 1 VLAN to another?

Link to comment
https://linustechtips.com/topic/1033076-cisco-vlans/#findComment-12294537
Share on other sites

Link to post
Share on other sites

23 minutes ago, Windows7ge said:

I'm very confused by your question. Are you asking how to port forward from 1 VLAN to another?

okay so vlan 1 network im using it like a dummy switch because the firewall is connected to vlan 1 and the firewall has dhcp so the network range broadcasted is 192.168.0.xxx

 

im trying to change vlan 10 on port 28 to broadcast 10.10.10.xxx when the input from the router is 192.168.1.xxx

Link to comment
https://linustechtips.com/topic/1033076-cisco-vlans/#findComment-12294575
Share on other sites

Link to post
Share on other sites

7 hours ago, bebejapes said:

okay so vlan 1 network im using it like a dummy switch because the firewall is connected to vlan 1 and the firewall has dhcp so the network range broadcasted is 192.168.0.xxx

 

im trying to change vlan 10 on port 28 to broadcast 10.10.10.xxx when the input from the router is 192.168.1.xxx

Oh, I understand now.

 

There are switches with partial layer 3 functionality but to do something like that would require the configuration of a static route. Something I don't even know if is an option for your switch. However as @leadeater has informed me "cheap" switches often have weak CPUs making routing ill-advised (I don't know about yours)

 

What would be recommended if you can't spare or create a second port on the router for the 10.10.10.0 network would be you may be able to use or enable dot1q encapsulation to create a sub-interface on the router for VLAN10 which you should be able to assign to the 10.10.10.0 network. From there you just add it to the routing table of the router.

 

On the switch you'd have to create a Trunk Port (a port assigned to VLAN 1&10) whereas both networks would share a common uplink port.

Link to comment
https://linustechtips.com/topic/1033076-cisco-vlans/#findComment-12295501
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×