View previous topic :: View next topic |
Author |
Message |
hidrogen n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Simpsons/simpsons_groundskeeper_will.gif)
Joined: 08 Mar 2007 Posts: 51
|
Posted: Fri May 04, 2007 3:11 pm Post subject: how to test gnap gateway with traffic control? [Solved] |
|
|
Hi,
I´ve installed gnap in a computer to use as a gateway with traffic control but now i don't now how to test if the traffic control is working, before i put the gateway in the network.
I'm trying to use vmware to test it but i'm having difficulties with the configurations and I still don't have a software to monitor the traffic.
thanks in advanced
Last edited by hidrogen on Mon Jun 11, 2007 10:44 am; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
di1bert l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/1322078658465db3da4a87f.gif)
Joined: 16 May 2002 Posts: 963 Location: Oslo, Norway
|
Posted: Fri May 11, 2007 4:15 pm Post subject: |
|
|
I'm not sure about your setup but what about installing something simple like MRTG
to graph the traffic on the interface ?
First watch the graph as you push traffic through the interface without any traffic
control in place then put your shaping in place and watch the graphs again.
I would be very restrictive with the controls under your test situation to be sure
that it's working as it should.
Anyway, that's just an idea....hope it puts you in the right direction....
-m _________________ choff. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
hidrogen n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Simpsons/simpsons_groundskeeper_will.gif)
Joined: 08 Mar 2007 Posts: 51
|
Posted: Mon May 14, 2007 5:01 pm Post subject: |
|
|
di1bert wrote: | I'm not sure about your setup but what about installing something simple like MRTG
to graph the traffic on the interface ?
First watch the graph as you push traffic through the interface without any traffic
control in place then put your shaping in place and watch the graphs again.
I would be very restrictive with the controls under your test situation to be sure
that it's working as it should.
Anyway, that's just an idea....hope it puts you in the right direction....
-m |
In the installation of MRTG its necessary to put something like public@10.10.10.5 because its a physical router, but i only have a gnap router. How can I do this? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
di1bert l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/1322078658465db3da4a87f.gif)
Joined: 16 May 2002 Posts: 963 Location: Oslo, Norway
|
Posted: Mon May 14, 2007 5:19 pm Post subject: |
|
|
Please excuse me if I'm not all that clued up on the GNAP setup but I've yet to
experiment with it.
It would be a case of installing snmpd and mrtg on the GNAP server, modifying
your snmpd.conf and then firing up snmpd.
Then just create your mrtg config files with
Code: |
cfgmaker <community>@localhost > /etc/mrtg/mrtg.cfg
|
etc. etc....
Shout if you need a hand with this, but it's fairly straight forward.
-m _________________ choff. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
hidrogen n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Simpsons/simpsons_groundskeeper_will.gif)
Joined: 08 Mar 2007 Posts: 51
|
Posted: Thu May 24, 2007 10:28 am Post subject: |
|
|
I had to use iptraf on the client PC to monitor traf between the client pc and gateway since the MRTG only works with routers.
di1bert wrote: | Please excuse me if I'm not all that clued up on the GNAP setup but I've yet to
experiment with it.
It would be a case of installing snmpd and mrtg on the GNAP server, modifying
your snmpd.conf and then firing up snmpd.
Then just create your mrtg config files with
Code: |
cfgmaker <community>@localhost > /etc/mrtg/mrtg.cfg
|
etc. etc....
Shout if you need a hand with this, but it's fairly straight forward.
-m |
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
di1bert l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/1322078658465db3da4a87f.gif)
Joined: 16 May 2002 Posts: 963 Location: Oslo, Norway
|
Posted: Thu May 24, 2007 1:04 pm Post subject: |
|
|
Quote: |
I had to use iptraf on the client PC to monitor traf between the client pc and gateway since the MRTG only works with routers.
|
That's not entirely true. You can install "net-analyzer/net-snmp" which will
provide you with the snmp daemon from which MRTG can graph data going in and out of
your network interfaces.
In /etc/snmp/snmpd.conf put something like
Code: | rocommunity server 127.0.0.1 |
and start it up with "/etc/init.d/snmpd start"
Then just use
Code: | cfgmaker server@localhost > /etc/mrtg/mrtg.cfg |
to create your mrtg config. Once that's done, add crontab entries to run mrtg every 5 minutes
using the config file you created and edited above...
It's a little involved but not too hard...give me a shout if you come unstuck...
Perhaps this requires a little how to ? I'll try and get that done this weekend...
-m _________________ choff. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
di1bert l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/1322078658465db3da4a87f.gif)
Joined: 16 May 2002 Posts: 963 Location: Oslo, Norway
|
Posted: Thu May 24, 2007 1:07 pm Post subject: |
|
|
Did a quick search of the forums and found this
It explains everything nicely....looks like I get a weekend off.
Hope you come right...
-m _________________ choff. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
hidrogen n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Simpsons/simpsons_groundskeeper_will.gif)
Joined: 08 Mar 2007 Posts: 51
|
Posted: Mon Jun 11, 2007 10:45 am Post subject: |
|
|
di1bert wrote: | Did a quick search of the forums and found this
It explains everything nicely....looks like I get a weekend off.
Hope you come right...
-m |
Thanks ![Wink ;)](images/smiles/icon_wink.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|