Network Interface configuration

2012-03-06 Thread hiren panchasara
Do we store network interfaces configuration information in any file that survives reboots? (as Linux does it in /etc/network/interfaces) Only thing I could find was when an interface needs address from DHCP, rc.conf says ifconfig_em0="DHCP". I know getifaddrs() can get you list of interfaces but

Lagg failover does not announce the failover to switch

2012-03-06 Thread Jason Leschnik
Lagg failover does not gratuitous ARP on the new interface to announce the link failover - This leaves clients trying to access the failed link and never making it to the up'd link. Bug ID: 156226 Found on this todo list: http://wiki.freebsd.org/EdMaste/ToDo I was wondering if i could offer a don

Re: suboptimal bge(4) BCM5704 performance in RELENG_8

2012-03-06 Thread YongHyeon PYUN
On Tue, Mar 06, 2012 at 07:54:02PM +0700, Eugene Grosbein wrote: > Hi! > > Yesterday I've updated old HP ProLiant DL360 G4p to 8.3-PRELELEASE/amd64 > running busy icecast2 server in hope it can saturate 1G bge(4) link. > > This server has PCI-X connected HP NC7782 Gigabit Server Adapter (BCM5704)

Re: panic using ipsec

2012-03-06 Thread Bjoern A. Zeeb
On 6. Mar 2012, at 21:54 , Nikos Vassiliadis wrote: > Hi, > > I got this kernel panic while playing around with IPsec: > ... > Should I better file a PR? Best follow-up on kern/164400 /bz -- Bjoern A. Zeeb You have to have visions! It does not matter how goo

panic using ipsec

2012-03-06 Thread Nikos Vassiliadis
Hi, I got this kernel panic while playing around with IPsec: Unread portion of the kernel message buffer: 0x26 kdb_backtrace(c0a5da40,1,,c124f67c,c4bc15a4,...) at kdb_backtrace+0x2a _witness_debugger(c0f7c8d0,c4bc15b8,4,1,0,...) at _witness_debugger+0x25 witness_warn(5,0,c0fcd403,c4bc15

Re: bge(4) failure, Dell 12G hardware, BCM5720C

2012-03-06 Thread Sean Bruno
On Fri, 2012-02-24 at 10:06 -0800, YongHyeon PYUN wrote: > On Thu, Feb 23, 2012 at 10:23:23AM -0800, Sean Bruno wrote: > > > > > As you see ukphy(4) was attached to bge2 so it may cause various > > > issues. > > > Is bge2 ASF/IPMI enabled interface? It seems ASF handling in > > > bge(4) causes

Re: soreceive_stream: mbuf leak if called with mp0 and MSG_WAITALL

2012-03-06 Thread Andre Oppermann
On 05.09.2011 21:58, Mikolaj Golub wrote: On Sun, 04 Sep 2011 12:30:53 +0300 Mikolaj Golub wrote: MG> Apparently soreceive_stream() has an issue if it is called to receive data as a MG> mbuf chain (by supplying an non zero mbuf **mp0) and with MSG_WAITALL set. MG> I ran into this is

Re: Difference between "struct addr" and "struct addrs"

2012-03-06 Thread hiren panchasara
On Tue, Mar 6, 2012 at 12:03 AM, Sergey Kandaurov wrote: > On 6 March 2012 11:08, hiren panchasara > wrote: > > > > > > On Mon, Mar 5, 2012 at 10:57 PM, Sergey Kandaurov > wrote: > >> > >> struct ifaddr is the in-kernel representation of the interface address. > >> In kernel each network interf

suboptimal bge(4) BCM5704 performance in RELENG_8

2012-03-06 Thread Eugene Grosbein
Hi! Yesterday I've updated old HP ProLiant DL360 G4p to 8.3-PRELELEASE/amd64 running busy icecast2 server in hope it can saturate 1G bge(4) link. This server has PCI-X connected HP NC7782 Gigabit Server Adapter (BCM5704). Is it supposed to emit more than 540Mbit/s with average packet size equal t

Re: IPv6 and CARP

2012-03-06 Thread Damien Fleuriot
On 3/6/12 12:47 PM, Hiroki Sato wrote: > Damien Fleuriot wrote > in <4f55e8b0.8010...@my.gd>: > > ml> Hello guys, > ml> > ml> > ml> Are there any news on the topic ? > ml> > ml> Trying to push IP6 at work for our firewalls and struggling with CARP > ml> interfaces with inet6 addresses at boot l

Re: IPv6 and CARP

2012-03-06 Thread Hiroki Sato
Damien Fleuriot wrote in <4f55e8b0.8010...@my.gd>: ml> Hello guys, ml> ml> ml> Are there any news on the topic ? ml> ml> Trying to push IP6 at work for our firewalls and struggling with CARP ml> interfaces with inet6 addresses at boot like OP. ml> ml> I could probably just set the address with

IPV6 + CARP - page fault while in kernel mode on 8.3-PRERELEASE amd64 (17/02/12)

2012-03-06 Thread Damien Fleuriot
Hello -net, I was experimenting with ipv6 and CARP on a backup firewall running the following: 8.3-PRERELEASE #0: Fri Feb 17 11:20:28 CET 2012 I tried (and succeeded) to reproduce the bug from kern/153848 where a CARP BACKUP host connects to itself instead of the MASTER for ipv6. Shortly afte

Re: IPv6 and CARP

2012-03-06 Thread Damien Fleuriot
Hello guys, Are there any news on the topic ? Trying to push IP6 at work for our firewalls and struggling with CARP interfaces with inet6 addresses at boot like OP. I could probably just set the address with a script in /usr/local/etc/rc.d/ but I'd rather get it working out of the box, that'll

Re: Difference between "struct addr" and "struct addrs"

2012-03-06 Thread Sergey Kandaurov
On 6 March 2012 11:08, hiren panchasara wrote: > > > On Mon, Mar 5, 2012 at 10:57 PM, Sergey Kandaurov wrote: >> >> struct ifaddr is the in-kernel representation of the interface address. >> In kernel each network interface consists of a linked list of interface >> addresses, described by ifaddr