Re: two ISP connections, three nics, and a NAT

2005-05-12 Thread WMC
At 11:06 AM 5/12/2005, you wrote:
I have two ISP connections, a DSL line and a Cable Modem line.  I want  to 
plug both connections into a FreeBSD box that has three nics in it, one 
nic for each ISP connection and the last nic for my NAT.  How can I bind 
the connections together without any other sort of router?
I setup something similar that may be useful  We have a small office 
with a 12/24ths of a T-1 line for an absurd amount of money as our primary 
connection.  Cheap residential cable service became available with 
quadruple the bandwidth [incoming only] for cheap.

I installed an extra NIC the to cable modem and setup the Squid proxy / 
cache on a f'bsd box that was already running other services.  Then used 
some Squid options and IPFW to get all Squid's traffic running over the 
cable line.  This gets us faster web and ftp downloads, and off-loads the 
T-1 for other things.

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


Re: Redirect *:port to ip:port on the same machine?

2005-05-12 Thread WMC
At 12:56 PM 5/12/2005, you wrote:
I have a program that binds to ip:port. What are my options, if I want it 
to listen on all interfaces (*:port)? Let's say reconfiguring the program 
and/or running one instance per interface is not possible.
How 'bout:
* Install ports/net/redir
* Config original program to listen on localhost
* Config redir to pass from the other IPs to localhost.
  -Wayne
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: swap space problems

2005-05-09 Thread WMC
At 01:20 PM 5/9/2005, Chris Fedde wrote:
Occasionaly my system hangs for a few seconds while loading a process
from swap that has been idle for some time.
ad0: TIMEOUT - WRITE_DMA retrying (2 retries left) LBA=161663
What type of driver interface and controller is this?  And what FBSD 
version?
I used to get this error when I was trying to get a SATA drive working last 
summer.  There were bugs in the ata driver (circa 5.2.1) that are about 96% 
fixed in 5.3.  It would happen under heavy disk IO doing a lot of random 
seeks.  The hang really is a hang, not just a delay from the swapping 
activity.  40 or 50% of the time, it resulted in a hard full system hang 
(ie:  had to power cycle or hit the reset button.)  Often there was severe 
data corruption, also.

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


Re: Low HDD tranfer rate with FreeBSD 5.3-Release

2005-05-09 Thread WMC
At 03:50 PM 5/9/2005, you wrote:
 So how does the block size makes the difference?? What is the 
true  transfer rate.?
FWIW, there's a nice little disk IO benchmark Bonnie available in the 
ports  packages.  Tests several variations of sequential and random IO.  I 
don't know how accurate its numbers in absolute terms, but it's at least 
good for relative comparisons of devices on similar systems.  Be sure to 
use the -s option to increase the test file size to something larger than 
your ram.

Sample Output:
/datatel  bonnie -s 1000
File './Bonnie.709', size: 1048576000
Writing with putc()...done
Rewriting...done
Writing intelligently...done
Reading with getc()...done
Reading intelligently...done
Seeker 1...Seeker 3...Seeker 2...start 'em...done...done...done...
  ---Sequential Output ---Sequential Input-- 
--Random--
  -Per Char- --Block--- -Rewrite-- -Per Char- --Block--- 
--Seeks---
MachineMB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU  /sec %CPU
 1000 10835 98.5 26996 18.1 19876 15.2  8925 83.6 62490 23.0 
325.9  3.3


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


Re: serial console

2005-05-05 Thread WMC
At 02:16 PM 5/5/2005, Paul T. Root wrote:
trying to get a HP Vectra up without keyboard or monitor with Serial A as 
the console.
What I've tried (loader.conf) doesn't seem to work.
Shot in the dark, as I've never messed with serial much.  But I think you 
have to enable it in /etc/ttys for it to work post-install.

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