Two natd daemons

2005-04-22 Thread Alexandr Lookoshkoff
Hello freebsd-questions,

  I have gateway with two external links and want to some users using
  second link. How it can be done?

  Is it possible via two copyes of natd running?

-- 
WBR
Alexandr Lookoshkoffmailto:[EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


ng_netlow and mpd

2005-03-10 Thread Alexandr Lookoshkoff
Hello Freebsd-questions,

  I have ip statistics collector based on ng_netflow.
  It was working on old server, but now (server was reinstalled due to
  HDD failure).

  But now it is working with ethernet interfaces and not working with
  pptp (mpd).

  All configs and kernel was restored from backup.

  Is there any ideas?

-- 
Best regards,
 Alexandr  mailto:[EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re[2]: ng_netlow and mpd

2005-03-10 Thread Alexandr Lookoshkoff
Hello Dmitry,

AL I have ip statistics collector based on ng_netflow. It was
AL working on old server, but now (server was reinstalled due to HDD
AL failure). But now it is working with ethernet interfaces and not
AL working with pptp (mpd). All configs and kernel was restored from
AL backup. Is there any ideas?

DK Yes, look if your server sends UDP packets to collector host (even it
DK is local host). If not, try to cvsup and reinstall net/ng_netflow
DK port. If yes, look where this packets are dropped.
  Yes, packets with statistics are sent. We have about 120 VLANs and
  30 pptp interfaces. All vlan interfaces has his own ID and it is sent
  back clearly.

  But ng* (pptp interfaces) ignoring command 'setifindex'.
  Command
  ngctl msg node: setifindex { iface=207 input=55 output=255 }
  are executed, but no statistics available. Same command to vlan
  interfaces also executed and then statistics is working fine.

  FYI, 'ngctl list' is not working (only first 4k of list available,
  then ngctl hangs). And 'ngctl show ng*:inet' shows me that node type
  is BPF, and vlan interfaces has node type TEE. What does it mean?

===
+ show vlanXXX:upper
  Name: vlanXXX_tee Type: tee ID: 00dc   Num hooks: 4
  Local hook  Peer name   Peer typePeer ID Peer hook
  --  -   ---- -
  left2right  netflow_orbitel netflow  00e0iface1
  right2left  netflow_orbitel netflow  00e0iface0
  leftvlanXXX ether0003upper
  right   vlanXXX ether0003lower
+ show ngX:inet
  Name: ngX_tee Type: bpf ID: 004d   Num hooks: 5
  Local hook  Peer name   Peer typePeer ID Peer hook
  --  -   ---- -
  left2right  netflow_orbitel netflow  00e0iface204
  right2left  netflow_orbitel netflow  00e0iface203
  mpd unnamed   socket   004ademand
  iface   ngX iface004binet
  ppp mpd3417-pptp1   ppp  004cinet
===
  
DK -,   :)
  :(

-- 
WBR
Alexandr Lookoshkoffmailto:[EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


traffic counting

2005-01-04 Thread Alexandr Lookoshkoff
Hello freebsd-questions,

  How to make such thing as traffic counting?

  There is a gateway (with NAT) and a local network. Every month
  i must send a report how many traffic get everybody.

  What tool can help me with it?

  ipfw count ...
  Counters zeroed every reboot (so - everyday)
  How to collect and store these counters? And how to list a summary
  trafic (by days if possible)?

-- 
Best regards,
 Alexandr  mailto:[EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]