Redundant link configuration
Vlad GALU
vladg at vipnet.ro
Thu Jun 19 06:50:34 PDT 2003
On Thu, 19 Jun 2003 16:50:17 +0300 (EEST)
Ciprian Badescu <ciprian.badescu at alcatel.ro> wrote:
> Hi,
>
> I'm not very old in networking, and I want to migrate to following
> configuration:
>
>
>
> Local router Remote router
> +---------------+ +---------------+
> | | | |
> | |192.168.0.1 link 1 192.168.0.11 | |
> | |---------------------------------------| |
> | |---------------------------------------| |
> | |192.268.0.2 link 2 192.168.0.12 | |
> +---------------+ +---------------+
>
I tried channel bonding and it worked pretty good. I haven't
yet tested it extensively. Give it a try though. As for the system
interface, all I know about this is that you should use mii-based
NIC's, because they know how to report downlinks. I'm not aware
of any failover software at this very moment, but this can be my
poor memory. I hope someone else can answer to this more properly.
>
> The link 192.168.0.1 <->192.168.0.11 Is the actual one, using RF, and
> I want to move all traffic to the new OF link 192.268.0.2
> <->192.168.0.12.
>
> I don't know how to configura the routers to use the second link, and
> to keep the first link for redundancy, and if something is happening
> with link2, tha traffic must use automatically link1.
>
> It's enough tu use routing metrics, or I must use a routing protocol
> (and if so, which one)?
>
>
>
>
>
> --
> Ciprian Badescu
>
> On Thu, 19 Jun 2003, Scot Loach wrote:
>
> > Date: Thu, 19 Jun 2003 08:20:34 -0400
> > From: Scot Loach <sloach at sandvine.com>
> > To: "'freebsd-net at freebsd.org'" <freebsd-net at freebsd.org>
> > Subject: socket leak in FreeBSD 4.7
> >
> > If I execute the following program on a FreeBSD 4.7 system:
> >
> > int main()
> > {
> > for (int i = 0; i < 70000; i++)
> > {
> > socket(PF_INET, SOCK_STREAM, 0);
> > }
> > return 0;
> > }
> > the sockets never seem to be freed.
> >
> > vmstat tells me the memory is still in use:
> >
> > bash-2.05a$ vmstat -z
> >
> > ITEM SIZE LIMIT USED FREE REQUESTS
> >
> > tcpcb: 544, 106000, 65557, 4474, 70029
> > udpcb: 192, 106000, 7, 35, 481
> > unpcb: 160, 0, 7, 43, 78
> > socket: 192, 106000, 65571, 4487, 70639
> >
> > However, fstat and sockstat do not show a large number of sockets.
> >
> > netstat shows them, and they look like this:
> >
> > tcp4 0 0 *.* *.*
> > CLOSED
> >
> >
> > If I explicitly close the sockets before the program exits, this
> > does not occur. However I'm worried about the case where a
> > high-volume server exits unexpectedly and leaks sockets.
> >
> > Any ideas of what might be wrong?
> >
> >
> > _______________________________________________
> > freebsd-net at freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-net
> > To unsubscribe, send any mail to
> > "freebsd-net-unsubscribe at freebsd.org"
> >
> _______________________________________________
> freebsd-net at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"
>
--
Vlad GALU
Network Administrator VipNET Bucharest
tel: 021/3039940
email: vladg at vipnet.ro
web: http://www.vipnet.ro
PGP: http://mirapoint.vipnet.ro/public_key.pgp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-net/attachments/20030619/3526b4ed/attachment.bin
More information about the freebsd-net
mailing list