Re: Etherbet interface redundancy

2003-07-24 Thread othermark
In article [EMAIL PROTECTED], Roger 'Rocky' Vetterberg wrote:
 Is there a way to accomplish interface redundancy on machines with dual 
 interface?

 You're right ng_onetomany uses all the interfaces unless one goes
 down which is not what you're talking about.  FreeBSD does not provide
 this functionality by default, but there are many hardware vendors 
 that do provide cards that offer interface redundancy w/o the need
 for special software interfaces.

 That being said, you could write something, even in shell script, to
 poll an interface, and when it's state changes to down, or the link
 is no longer active, bring up and configure a new interface.  This
 would lose all the existing connections, but new connections would
 survive the failover.

---
Mark
atkin901 at NOSPAM yahoo dot com
(!wired)?(coffee++):(wired);

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


Re: IPv4/IPv6 dual-stack, IPv4-only and IPv6-only

2003-07-14 Thread othermark
Comments in-line:

In article [EMAIL PROTECTED], Francesco Casadei wrote:
 
 --UlVJffcvxoiEqYs2
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
I need to setup an IPv4/IPv6 dual-stack host,

This works as default.  Just ifconfig your ipv6 address.

 IPv4/IPv6 dual-stack host connected to the 6bone through freenet6. 

Works with the freenet port.  What this basically does is tunnel the
the ipv6 traffic between two ipv4 hosts.

 act as an IPv6 gateway for the other PC, configured as an IPv6-only host and
 IPv4-only host by installing twice FreeBSD and using dual-boot.
 
Is this possible to achieve? Does anybody know how to do this? Furthermo=

Your setup is reasonable.  You don't even need to dual boot the client
behind the firewall, let it run dual/stack too.  However, your setup 
will work the best if both the firewall and the client have publicly
routeable ipv4 addresses.  In other words NATing ipv4 via your
firewall will probably break things.  Ipv6 traffic from your client to 
your freenet6 enabled ipv6 router should work just fine.

 re,
 how can an application detect system's configuration (IPv4/IPv6, IPv4-only,
 IPv6-only)?

By looking at the configured address.  Most applications that are
enabled for ipv6 are capable of running both ipv4 or ipv6 by
abstracting the ipaddress type and changing to use a few different
function calls (inet_ntop and inet_pton mainly).

---
Mark
atkin901 at NOSPAM yahoo dot com
(!wired)?(coffee++):(wired);

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


Re: Can vi edit binary file in hex format?

2003-07-09 Thread othermark
Supote Leelasupphakorn wrote:
Is there option that enable standard vi (accompany wiht FreeBSD)
 for editing binary file in hex format ?

I do this fairly regularly, just use xxd.  For example try this:

cp /bin/cat ~/mycat
vi ~/mycat
now editing in vi
[esc] :%!xxd 
now editing mycat in hex
find some innocuous string or rcsid
change the values on the hex side
[esc] :%!xxd -r
[esc] :wq!
./mycat somefile

You can also 'pre' xxd transform the file, then edit it, then transform
it back when finished.

---
Mark
atkin901 at NOSPAM yahoo dot com
(!wired)?(coffee++):(wired);

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


Re: BTX halted

2003-07-01 Thread othermark
In article [EMAIL PROTECTED], Roger Merritt wrote:
 
 BTX Loader 1.00 BTX version is 1.01
 
 int=0006  err=  efl=00010246  eip=1934
 eax=00021d60  ebx=  ecx=  edx=
 esi=  edi=00020c34  ebp=00094bec  esp=00094bdc
 cs=0026  db=0033  es=0033  fs=0033  gs=0033  ss=0033
 cs:eip=0f 44 d6 89 55 fc 46 83-2c b7 00 74 05 83 fa ff
 ss:esp=00 00 00 00 00 00 00 00-00 00 00 00 ff ff ff ff
 BTX halted
 

did you try a hard power reset after this message?  I have an old 
IBM intellistation that does the same thing with 5.x.  After I install 
I get the BTX halted, but if I cold boot it after the message it
will boot.

---
Mark
atkin901 at NOSPAM yahoo dot com
(!wired)?(coffee++):(wired);

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