I interested in different bandwith for lan/wan access. For example i wish same computer have 10/100/1000 bandwith speed for lan access and different bandwidth for wan - internet access for example 1mbps.
Is this posible do with basic queues?!
you want for example to get speed of 2Mbps for your LAN like when you reach a camera that is in you internal LAN, and 512k for any internet connection??
if that is the question…then yes
you just have to mark connection and packets in the mangle…let me know if this is what you want and I can show you some examples
is there any hotspot activated on LAN ?? if yes then this is the trick. because somebody is trying to access something without logging in(using internal bandwidth)
okay this is what you have to do
let’s say that your LAN has the network address of 192.168.1.0/24
what you have to do is to create a mangle rule to mark the connection and packet to this network, and then mark connection and packet for everything that isn’t the network, then apply a queue for each one of the packets…this is an example
ok now what this means is that…
first you mark a connection with every connection with destination address of 192.168.1,0/24 and mark it, then take that connection and mark the packets of that connection
second you mark a connection with every connection that has NOT destination address of 192.168.1,0/24 (which means NOT LAN) and mark it, then take that connection and mark the packets of that connection
Then apply a queue for the LAN of 1Mbps and 512kbps for WAN…