[Flent-users] Re: [tohojo/flent] Question about custom symbolic diffserv marking names feature (#215)
Closed #215. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/tohojo/flent/issues/215#event-4201977585___ Flent-users mailing list -- flent-users@flent.org To unsubscribe send an email to flent-users-le...@flent.org
[Flent-users] Re: [tohojo/flent] Question about custom symbolic diffserv marking names feature (#215)
olg33 writes: > Oops! Right I was forgetting the --test-parameter sentence. I tested again > and now all looks good. > > As always, thanks for your help. Awesome - you're welcome! :) -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/tohojo/flent/issues/215#issuecomment-741961660___ Flent-users mailing list -- flent-users@flent.org To unsubscribe send an email to flent-users-le...@flent.org
[Flent-users] Re: [tohojo/flent] Question about custom symbolic diffserv marking names feature (#215)
Oops! Right I was forgetting the --test-parameter sentence. I tested again and now all looks good. As always, thanks for your help. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/tohojo/flent/issues/215#issuecomment-741956489___ Flent-users mailing list -- flent-users@flent.org To unsubscribe send an email to flent-users-le...@flent.org
[Flent-users] Re: [tohojo/flent] Question about custom symbolic diffserv marking names feature (#215)
olg33 writes: > Done! This time all works just fine. :-) > > Just one more thing. I'd like to have the marking names declared in the > `.flentrc` file so that I don't have to type them every time I run a test. > With that in mind, I created the ~/.flentrc file and added the following > lines: > > [global] > `marking_names=10=0x28;11=0x2C;13=0x34;15=0x3C;17=0x44;19=0x4C;21=0x54;23=0x5C` > > But when I run a test: > `flent rrul_var -H 10.111.38.60 --test-parameter bidir_streams=2 > markings=11,13` > > The system returns the following error: > `flent: error: unrecognized arguments: markings=11,13` You have to repeat --test-parameter for each parameter. So try running: flent rrul_var -H 10.111.38.60 --test-parameter bidir_streams=2 --test-parameter markings=11,13 You can also double-check the loading of the RC file by running with -v; that should make Flent print out whether it finds the file and which values it loads from it... -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/tohojo/flent/issues/215#issuecomment-741159062___ Flent-users mailing list -- flent-users@flent.org To unsubscribe send an email to flent-users-le...@flent.org
[Flent-users] Re: [tohojo/flent] Question about custom symbolic diffserv marking names feature (#215)
Done! This time all works just fine. :-) Just one more thing. I'd like to have the marking names declared in the `.flentrc` file so that I don't have to type them every time I run a test. With that in mind, I created the ~/.flentrc file and added the following lines: [global] `marking_names=10=0x28;11=0x2C;13=0x34;15=0x3C;17=0x44;19=0x4C;21=0x54;23=0x5C` But when I run a test: `flent rrul_var -H 10.111.38.60 --test-parameter bidir_streams=2 markings=11,13` The system returns the following error: `flent: error: unrecognized arguments: markings=11,13` Looks like the flentrc file is not being read by flent. The file's permissions are as follows: `-rw-r--r-- 1 administrator administrator755 Dec 8 16:39 .flentrc` Any idea on how can I make it work? -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/tohojo/flent/issues/215#issuecomment-740772008___ Flent-users mailing list -- flent-users@flent.org To unsubscribe send an email to flent-users-le...@flent.org
[Flent-users] Re: [tohojo/flent] Question about custom symbolic diffserv marking names feature (#215)
olg33 writes: > I did clone flent: > > `git clone https://github.com/tohojo/flent` > > Then installed it: > > `sudo python3 setup.py install` > > It is he following release: > > `Started Flent 1.9.9-git-0024eb9 using Python 3.6.9.` > > Hopefully this is the right one. > > However, when I run flent with any test, I get the following error: Ah, that's a bug! Seems I accidentally broke support for old versions of Python, my apologies. Pushed a fix, so try doing another 'git pull' and see if that helps :) -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/tohojo/flent/issues/215#issuecomment-740610277___ Flent-users mailing list -- flent-users@flent.org To unsubscribe send an email to flent-users-le...@flent.org
[Flent-users] Re: [tohojo/flent] Question about custom symbolic diffserv marking names feature (#215)
olg33 writes: > This one: > > `Started Flent 1.9.9-git-b8165da using Python 3.6.9.` That's from before the --marking-name parameter was introduced, which would explain why it doesn't work :) Try doing a 'git pull'... -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/tohojo/flent/issues/215#issuecomment-740212063___ Flent-users mailing list -- flent-users@flent.org To unsubscribe send an email to flent-users-le...@flent.org
[Flent-users] Re: [tohojo/flent] Question about custom symbolic diffserv marking names feature (#215)
I just reviewed my notes and found the command that actually worked: `./run-flent rrul_var --test-parameter bidir_streams=5 --test-parameter markings=0x28,0x2C,0x34,0x44,0x4C --test-parameter labels='10','11','15','17','19' -H 10.111.38.60 ` All works good with the above command. It works with ./run-flent or just with the flent command. Maybe just out of curiosity would I ask what might be the problem when using the --marking-name parameter? -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/tohojo/flent/issues/215#issuecomment-740157611___ Flent-users mailing list -- flent-users@flent.org To unsubscribe send an email to flent-users-le...@flent.org
[Flent-users] Re: [tohojo/flent] Question about custom symbolic diffserv marking names feature (#215)
olg33 writes: > Thanks Toke, In order to do further testing with your suggestions, first I > got rid of the .flentrc file (in part because it seemed not to be properly > read by flent) and inserted the values directly in the command line using the > --marking-name parameter described in cf4f3da: > > `flent rrul_var -H 10.111.38.60 --test-parameter bidir_streams=2 > --marking-name 11=0x2C --marking-name 13=0x34 --test-parameter markings=11,13` > > However, the parameter is not being recognized: > > `flent: error: unrecognized arguments: --marking-name 11=0x2C --marking-name > 13=0x34` > > is my syntax correct? Yeah, should be; what version of Flent are you using? -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/tohojo/flent/issues/215#issuecomment-740085368___ Flent-users mailing list -- flent-users@flent.org To unsubscribe send an email to flent-users-le...@flent.org
[Flent-users] Re: [tohojo/flent] Question about custom symbolic diffserv marking names feature (#215)
Thanks Toke, In order to do further testing with your suggestions, first I got rid of the .flentrc file (in part because it seemed not to be properly read by flent) and inserted the values directly in the command line using the --marking-name parameter described in cf4f3da: `flent rrul_var -H 10.111.38.60 --test-parameter bidir_streams=2 --marking-name 11=0x2C --marking-name 13=0x34 --test-parameter markings=11,13` However, the parameter is not being recognized: `flent: error: unrecognized arguments: --marking-name 11=0x2C --marking-name 13=0x34` is my syntax correct? -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/tohojo/flent/issues/215#issuecomment-740079666___ Flent-users mailing list -- flent-users@flent.org To unsubscribe send an email to flent-users-le...@flent.org
[Flent-users] Re: [tohojo/flent] Question about custom symbolic diffserv marking names feature (#215)
olg33 writes: > Hello, > > I have a system using the feature that implements custom symbolic diffserv > marking names, In the past, I got it working with your help (Issue #203). > > Now, I had to replicate settings in another server. First I cloned the VM of > the first deployment and reviewed the flentrc file, which has the following > lines: > > `[global] > marking_names=10=0x28;12=0x30;14=0x38;16=0x40;18=0x48;20=0x50;26=0x68;34=0x88` > > Once everything was in place I ran the following test: > > `flent rrul_var -H 10.111.38.60 --test-parameter bidir_streams=5 > --test-parameter markings=10,12,14,16,20` > > In principle all went fine: > > > ![Capture](https://user-images.githubusercontent.com/61751672/101208375-1ac72e00-3640-11eb-935d-8f88eb9f14b1.JPG) > > Simultaneously, I performed a packet capture to see the marks in the traffic > generated in the upload traffic as the download one doesn't seem to be marked > maybe due to a router blocking, but that is not an issue right now. > > Looking at the upload captures I'm not seeing the outcome expected. I should > see values of 0x28, 0x30, 0x38, 0x40 and 0x50 in those packets. Instead, I > see values like 0x10, 0x0a, ox0e, etc. > > ![Capture](https://user-images.githubusercontent.com/61751672/101209320-8a89e880-3641-11eb-873e-ec7e87534ad5.JPG) > > After banging my head for a wile, I would like to ask if you see anything > that I may be missing in steps described above? > > Any clue would be appreciated. Hmm, seems like the configuration is correct on the Flent side. However, note that the values you specify are the values of the entire TOS byte, whereas what wireshark displays is only the DSCP field. So you need to left-shift your values by two bits. I.e., if you want the DSCP field to be 0x28, you need to set the marking to (0x28 << 2) == 0xa0... 0x28 >> 2 is 0x0a, so this seems to be consistent with what you're seeing :) -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/tohojo/flent/issues/215#issuecomment-739520901___ Flent-users mailing list -- flent-users@flent.org To unsubscribe send an email to flent-users-le...@flent.org