Re: Possible transmit/stats problem in igb driver.

2016-06-08 Thread Sreekanth Rupavatharam
Well, that wasn't the issue. However there are some other details. The device is DH8900CC(0x8086:0x43a) quad nic serdes interface. The issue happens when the device is used in passthrough mode inside a VM. The guest OS is running FreeBSD 10.1 and the host is Linux. There is no easy way to run thi

ipfw fwd to closed port

2016-06-08 Thread Slawa Olhovchenkov
Forwarding by ipfw to closed local port generating RST packet with incorrect checksun. Is this know ussuse? Need open PR? ___ freebsd-net@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "fre

Re: [Patch] Changing mac address does not always work

2016-06-08 Thread Eric Joyner
I think a better fix here is to have the driver not call init_locked() when the driver is not running when setting the MTU. It looks like all the other Intel network drivers do the same thing as this for the MTU. On Wed, Jun 8, 2016 at 2:47 AM Arnaud YSMAL wrote: > Hi, > > Configuring the netwo

Re: Getting CARP to broadcast on a different interface

2016-06-08 Thread Niklaas Baudet von Gersdorff
Niklaas Baudet von Gersdorff [2016-06-08 18:30 +0200] : > Then, I could use devd to assign the public failover IP (that I actually > wanted to share with CARP on vtnet0) to the public interface vtnet0. > CARP(4) provides an example on how to use carp status change events for > additional scripting

Re: Getting CARP to broadcast on a different interface

2016-06-08 Thread Niklaas Baudet von Gersdorff
Matthew Grooms [2016-06-08 11:02 -0500] : > Rewriting the multicast destination would be a neat trick, but sadly no. > You can't rewrite a destination address on egress. Using a route-to rule > would only modify the destination MAC address. If you were using > OpenBSD, you would switch from mul

Re: Getting CARP to broadcast on a different interface

2016-06-08 Thread Matthew Grooms
On 6/8/2016 10:15 AM, David DeSimone wrote: One of the purposes of the CARP announcements is to announce the location of the virtual mac address to the upstream switch fabric. Since CARP uses a virtual mac that floats between multiple ports, you need to have the CARP master continually assert tha

Re: Getting CARP to broadcast on a different interface

2016-06-08 Thread Matthew Grooms
Hi Niklaas, Rewriting the multicast destination would be a neat trick, but sadly no. You can't rewrite a destination address on egress. Using a route-to rule would only modify the destination MAC address. If you were using OpenBSD, you would switch from multicast to unicast using the syncpeer

Re: cannot delete on-interface route in FIB

2016-06-08 Thread Eugene M. Zheganin
Hi. On 08.06.2016 19:37, Alan Somers wrote: What is the value of "sysctl net.add_addr_allfibs"? In your case, it sounds like you want to set it to 0. Thanks a lot, looks like it, will try. Eugene. ___ freebsd-net@freebsd.org mailing list https://l

RE: Getting CARP to broadcast on a different interface

2016-06-08 Thread David DeSimone
One of the purposes of the CARP announcements is to announce the location of the virtual mac address to the upstream switch fabric. Since CARP uses a virtual mac that floats between multiple ports, you need to have the CARP master continually assert that its particular port is the target that s

Re: Getting CARP to broadcast on a different interface

2016-06-08 Thread Niklaas Baudet von Gersdorff
Trond Endrestøl [2016-06-08 15:53 +0200] : > Although it sounds pretty bad, you could set up CARP on the internal > network and use those CARP events to control the main interfaces, e.g. > re-adjust their annoncement intervals, or something equally awful. Thanks, Trond. As you said, not that it

Re: cannot delete on-interface route in FIB

2016-06-08 Thread Alan Somers
On Wed, Jun 8, 2016 at 4:43 AM, Eugene M. Zheganin wrote: > Hi. > > (first part of the message is describing why I need this, so impatient > people can proceed to th 'setfib 2 route delete' part directly). > > I have a FreeBSD router connected to the ISP network, which is organized > according to

Re: Getting CARP to broadcast on a different interface

2016-06-08 Thread Trond Endrestøl
On Wed, 8 Jun 2016 14:43+0200, Niklaas Baudet von Gersdorff wrote: > Hello, > > is it possible to configure CARP in such a way that it sends its > broadcasts on an interface different from the one that gets the shared > IP address assigned? Unfortunately, my provider blocks broadcast and > multic

[Differential] D6689: tcp/lro: Implement hash table for LRO entries.

2016-06-08 Thread hselasky (Hans Petter Selasky)
hselasky added a comment. @sepherosa_gmail.com Regarding performance. Is it possible to get the Hyper-V to sort the IP-packets before they enter the FreeBSD network stack in the VM? REVISION DETAIL https://reviews.freebsd.org/D6689 EMAIL PREFERENCES https://reviews.freebsd.org/setti

Getting CARP to broadcast on a different interface

2016-06-08 Thread Niklaas Baudet von Gersdorff
Hello, is it possible to configure CARP in such a way that it sends its broadcasts on an interface different from the one that gets the shared IP address assigned? Unfortunately, my provider blocks broadcast and multicast on public interfaces of virtual machines. However, they offer to set up an

[Differential] D6689: tcp/lro: Implement hash table for LRO entries.

2016-06-08 Thread hselasky (Hans Petter Selasky)
hselasky added a comment. Hi, Were you able to test the performance using tcp_lro_queue_mbuf() ? Better name for function?? tcp_lro_rx2() -> tcp_lro_rx_sub() --HPS REVISION DETAIL https://reviews.freebsd.org/D6689 EMAIL PREFERENCES https://reviews.freebsd.org/settings/panel

IPSec and large replay window support

2016-06-08 Thread Emeric POUPON
Hello, We plan to support large replay windows in the IPsec stack. Currently, the replay window size is limited due to the size of the field used in the sadb_sa_replay structure. https://www.ietf.org/rfc/rfc2367.txt : struct sadb_sa { uint16_t sadb_sa_len;

Locking issues in CARP in 10.2

2016-06-08 Thread Dag-Erling Smørgrav
I have two routers which have been unstable ever since I upgraded them from 10.1 to 10.2. The symptoms were mostly livelocks, where the machine doesn't freeze completely but is unusable (network is down, console doesn't refresh, it seems to react to keyboard input and tries but fails to shut down

Re: Is netmap jumbo frames broken in STABLE?

2016-06-08 Thread tom . barbette
Support for fragmented packets with ixgbe was recently added on the linux version of Netmap : https://github.com/luigirizzo/netmap/commit/fc1e77560a8a8ea93cc3594de5fae94334debcd3 I think the change for freebsd would be quite the same looking at https://github.com/freebsd/freebsd/blob/master/sys

Problem with ixgbe and lagg

2016-06-08 Thread Borja Marcos
Hello, I am unable to set up a LACP based interface with lagg and a two ports Intel 10 GbE card. When not using lagg, the interfaces work. However, an ifconfig shows that media is not properly detected. ix2: flags=8843 metric 0 mtu 1500 options=e407bb ether 0c:c4:7a:bd:70:26

cannot delete on-interface route in FIB

2016-06-08 Thread Eugene M. Zheganin
Hi. (first part of the message is describing why I need this, so impatient people can proceed to th 'setfib 2 route delete' part directly). I have a FreeBSD router connected to the ISP network, which is organized according to the rfc3069 (you know, when all of the clients think they have /24. but

[Patch] Changing mac address does not always work

2016-06-08 Thread Arnaud YSMAL
Hi, Configuring the network card with the following commands (in this specific order) does not work. # ifconfig em0 down # ifconfig em0 mtu 1500 # ifconfig em0 ether 12:34:56:12:34:56 # ifconfig em0 192.168.1.1/24 # ifconfig em0 up I was able to reproduce this issue on 10.3-RELEASE and HEAD with