Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
how to test gnap gateway with traffic control? [Solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
hidrogen
n00b
n00b


Joined: 08 Mar 2007
Posts: 51

PostPosted: Fri May 04, 2007 3:11 pm    Post subject: how to test gnap gateway with traffic control? [Solved] Reply with quote

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
View user's profile Send private message
di1bert
l33t
l33t


Joined: 16 May 2002
Posts: 963
Location: Oslo, Norway

PostPosted: Fri May 11, 2007 4:15 pm    Post subject: Reply with quote

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
View user's profile Send private message
hidrogen
n00b
n00b


Joined: 08 Mar 2007
Posts: 51

PostPosted: Mon May 14, 2007 5:01 pm    Post subject: Reply with quote

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
View user's profile Send private message
di1bert
l33t
l33t


Joined: 16 May 2002
Posts: 963
Location: Oslo, Norway

PostPosted: Mon May 14, 2007 5:19 pm    Post subject: Reply with quote

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
View user's profile Send private message
hidrogen
n00b
n00b


Joined: 08 Mar 2007
Posts: 51

PostPosted: Thu May 24, 2007 10:28 am    Post subject: Reply with 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.




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
View user's profile Send private message
di1bert
l33t
l33t


Joined: 16 May 2002
Posts: 963
Location: Oslo, Norway

PostPosted: Thu May 24, 2007 1:04 pm    Post subject: Reply with quote

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
View user's profile Send private message
di1bert
l33t
l33t


Joined: 16 May 2002
Posts: 963
Location: Oslo, Norway

PostPosted: Thu May 24, 2007 1:07 pm    Post subject: Reply with quote

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
View user's profile Send private message
hidrogen
n00b
n00b


Joined: 08 Mar 2007
Posts: 51

PostPosted: Mon Jun 11, 2007 10:45 am    Post subject: Reply with quote

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 ;)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum