I have several different classes of IP, how to set up routes so that the following IPs can be connected to each other,
192.168.0.0
192.168.4.0
192.168.6.0
Thanks 
			
			
			
				Without netmasks hard to say.
But if networks all are connected via opnsense, nothing has to be done. Then all are direct connected routes. Your clients just need the opnsense as default gateway.
			
			
			
				Quote from: hbc on March 05, 2020, 11:40:42 AM
Without netmasks hard to say.
But if networks all are connected via opnsense, nothing has to be done. Then all are direct connected routes. Your clients just need the opnsense as default gateway.
Thanks for reply,
i Mean like this,
192.168.0.0/24 --> wifi Guest (gateway 192.168.0.1)
192.168.4.0/24 --> wifi meeting (gateway 192.168.4.1)
192.168.6.0/24 --> LAN (gateway 192.168.6.1)
how to set up the routes? so that the ip class can be connected to the LAN 
			
 
			
			
				Ok, once again:
If all network segments are directly connected via opnsense, you do NOT need to setup routes! Watch System: Routes: Status, all directly connected networks are on link# and in kernel routing table.
You just need firewall rules to allow traffic between your networks.