Redundant link configuration
Ciprian Badescu
ciprian.badescu at alcatel.ro
Thu Jun 19 06:44:44 PDT 2003
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 | |
+---------------+ +---------------+
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"
>
More information about the freebsd-net
mailing list