i have four ethernet port. eth1 is out interface, eth2 is data interface eth3 is wifi interface and eth4 is pbx interface and i want to separate all eth2 & eth3 ð4 interface using VLANs. in my current situation now all this interfaces is separated using Firewall so i drop in and out ping and packet from each interface, so that's why i am asking about VLANs to separate those interfaec by VLANs
You still didn't provide any details. And you are still asking an
XY problem type question (thinking that using vlans is the solution to the problem). Do eth2, eth3, and eth4 all have ip addresses that are in separate subnets? If so, then traffic between them will need to be routed (that gateway that was mentioned). If there is no firewall in place to prevent this traffic from being routed, the router will route the traffic it can; that is what a router does.
@Sob gave you the correct answer several times.
Head over to Ed Harmoush's Practical Networking site
https://www.practicalnetworking.net Ed has recently started a
Networking Fundamentals course and he is putting the first module (with multiple videos) on Youtube. It's a good intro with very little assumptions about previous knowledge, and even if you think you already know this stuff, if you watch it, and give it your
utmost attention, you will probably get a deeper understanding than you currently have. Ed has some of the best explained info about vlans
Virtual Local Area Networks (VLANs) See the
challenge quiz if you think you understand vlans. Ed also has a video covering the same info
VLANs – the simplest explanation Here's an
index to the vlan pages on PracticalNetworking And here's a good starting point for Networking topics in general (don't be put off by the CCNA, this is pretty generic info that you need to know, and explained in an easy to understand way.
CCNA Index (The ACL stuff is Cisco spedific, and unless you use Cisco, probably isn't worth reading).