Forcing a packet through an interface (OT?)

2005-07-11 Thread Mario Lobo
Forgive me if this is off-topic. How could I force a packet to go out through an interface, despite the default route? Suppose I have two interfaces connected to the internet: 1) rl0 (real.ip.no.1) ---> ISP x 2) rl1 (real.ip.no.2) ---> ISP y ISP y is just a backup link. ISP x is the working li

Re: Forcing a packet through an interface (OT?)

2005-07-11 Thread Warner Losh
> Suppose 1) is down. I switch to 2). But I have to keep testing 1) > to see when it comes back up. How could I force a packet (ping maybe?) > to www.whatever.com through 1), despite the default route being 2) ? > > I am aready binding the ping packet to the IP I want but that´s not enough. > >

Re: Forcing a packet through an interface (OT?)

2005-07-11 Thread Avleen Vig
On Mon, Jul 11, 2005 at 04:53:25PM -0300, Mario Lobo wrote: > Forgive me if this is off-topic. > How could I force a packet to go out through an interface, > despite the default route? You have a couple of options. Look at CARP in 5.4, that might do what you want best. man 4 carp Also google fo

Odd ataraid situation

2005-07-11 Thread Giovanni P. Tirloni
Hi, I've to start working on a new server right now that should use ataraid for RAID mirroring but the customer shipped a box with only one disk and the second one won't arrive soon for many reasons. I know ataraid can't build a RAID mirror without two disks and I've already checked both atacon

Re: Odd ataraid situation

2005-07-11 Thread Daniel O'Connor
On Tuesday 12 July 2005 11:38, Giovanni P. Tirloni wrote: > But I'd like to ask if it'd theoretically be possible to create the RAID1 > array (ar0) with only one disk and add the second one later? It'd work > like a broken array for some time. It's just an idea :) I haven't been able to do this :

Re: Odd ataraid situation

2005-07-11 Thread Aaron Glenn
On 7/11/05, Giovanni P. Tirloni <[EMAIL PROTECTED]> wrote: > But I'd like to ask if it'd theoretically be possible to create the RAID1 > array (ar0) with only one disk and add the second one later? It'd work > like a broken array for some time. It's just an idea :) What is the advantage of buildi

Re: Odd ataraid situation

2005-07-11 Thread Giovanni P. Tirloni
Aaron Glenn disse: > On 7/11/05, Giovanni P. Tirloni <[EMAIL PROTECTED]> wrote: >> But I'd like to ask if it'd theoretically be possible to create the >> RAID1 >> array (ar0) with only one disk and add the second one later? It'd work >> like a broken array for some time. It's just an idea :) > >

Re: Cross-Compiling FreeBSD

2005-07-11 Thread Maslan
> Hello Maslan, > > > hi guys > > what about cross-compiling freebsd-5.4 from a different BSD as openbsd > > or even linux. > > how can i accomplish this ??? > > AFAIK, only NetBSD allows to do this with their source. I've never > heard of such a thing with FreeBSD sources. > > Regards, > -- >

Re: Odd ataraid situation

2005-07-11 Thread Aaron Glenn
On 7/11/05, Giovanni P. Tirloni <[EMAIL PROTECTED]> wrote: > I'd be able to work on this server right now and add the second disk when > it arrives without reinstalling everything. Mirroring via software (gmirror) is not an option? aaron.glenn ___ free

Re: Odd ataraid situation

2005-07-11 Thread Vasil Dimov
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > > But I'd like to ask if it'd theoretically be possible to create the RAID1 > array (ar0) with only one disk and add the second one later? It'd work > like a broken array for some time. It's just an idea :) > Find some unused disk, plug it into t

corefiles

2005-07-11 Thread mats . lindberg
Hi All When I try to catch SIGTERM and generate a core file the call stack is corrupted on FreeBSD. Yes I know that I do not have to catch the signal, a core is generated by default. But the reason is that I need to do more at SIGTERM. Example 1 In gdb backtrace, why is monitorSignalHandl