![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| BSD BSD, sometimes called Berkeley Unix, is a Unix operating system developed by the Computer Systems Research Group of the UC Berkeley. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Using several pipes in ipfw (dummynet) | xenator | BSD | 0 | 01-22-2009 04:15 PM |
| problem in finding a hardware problem | girish.batra | SUN Solaris | 8 | 09-09-2008 10:10 AM |
| problem with dd command or maybe AFS problem | Anta | Shell Programming and Scripting | 0 | 08-25-2006 10:10 AM |
| using dummynet to limit bandwidth | Alex_sh | IP Networking | 1 | 07-06-2006 02:05 PM |
| SSH Problem auth problem | budrito | UNIX for Advanced & Expert Users | 1 | 03-17-2004 10:12 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
dummynet problem.
I am using dummynet in bridge mode. and its working fine.
Now I have built another box (freebsd 7.1) in router mode. On this box I have two NICs, one for lan and one for wan. both networks are segmented physically and logically i-e both interfaces have different ip pools and connected to different physical networks e.g lan has 1.2.3.4 (only IP) wan has 2.3.4.5 including its gateway and dns servers. Both networks are /24. Ony my router i add a static route to forward all traffic for 1.2.3.4/24 to 2.3.4.5 (freebsd). So far the networking is working fine. I can reach any network from 1.2.3.0/24 network and similerly any network can reach 1.2.3.0/24 network. Now I enabled the dummynet on this box and add a teast rule like below. $cmd pipe 78 $bwd 512kbits/s $cmd pipe 79 $bwd 512kbits/s $cmd add pipe 78 ip $src 1.2.3.39 $dest any $cmd add pipe 79 ip $src any $dest 1.2.3.39 Now the problem is I am only getting the quarter of bandwidth i-e 128kbits (no other process is accessing internet). But if i changed the rules to $cmd pipe 78 $bwd 512kbits/s $cmd pipe 79 $bwd 512kbits/s $cmd add pipe 78 ip $src 1.2.3.39 $dest any out via le0 $cmd add pipe 79 ip $src any $dest 1.2.3.39 in via le0 Then I got half bandwidth. But the problem is if the client is connected over pppoe then the above rule doesnt apply on it because now the client traffic is comming from tun0. So I cant mention the interface in my rules because everytime client pppoe tunnel changes i-e tun0, tun1, tun3 etc. As I cant mention the interface name thatswhy I am still getting quarter bandwidth on download. Any ideas where i am wrong! |
| Sponsored Links | ||
|
|