Re: Duplicate MAC addresses in VNET epair interaces

2017-02-14 Thread Giulio Ferro
On 06/02/2017 20:53, Bjoern A. Zeeb wrote: This is a potentially bad behavior, because if I want to bridge say epair1a on A with epair10a on B with a VPN or a physical connection giving 192.168.1.1 to epair1b and 192.168.1.2 to epair10b, I won't be able to make them talk to each other sinc

Re: netmap_mem_get_info

2017-02-14 Thread Vincenzo Maffione
Hi, Have you tried to play with netmap sysctl parameters like: dev.netmap.buf_num dev.netmap.ring_num dev.netmap.if_num those are listed in the sysctl section of the netmap man page. Cheers, Vincenzo 2017-02-11 13:34 GMT+01:00 amir alipour : > hi > i am trying to assign more memory to netm

Re: netmap_mem_get_info

2017-02-14 Thread Slawa Olhovchenkov
On Tue, Feb 14, 2017 at 12:26:55PM +0100, Vincenzo Maffione wrote: > Hi, > Have you tried to play with netmap sysctl parameters like: > > dev.netmap.buf_num > dev.netmap.ring_num > dev.netmap.if_num > > those are listed in the sysctl section of the netmap man page. man page hide details about

Re: Duplicate MAC addresses in VNET epair interaces

2017-02-14 Thread Bjoern A. Zeeb
On 14 Feb 2017, at 9:26, Giulio Ferro wrote: Hi Bjoern, thanks for your reply... the idea is sound, but unfortunately setting the mac address of the epair interface inside the jail doesn't work: ifconfig epair0b ether ether 02:ff:e0:00:00:0b ifconfig: can't set link-level netmask or broadcas

Re: Duplicate MAC addresses in VNET epair interaces

2017-02-14 Thread Giulio Ferro
On 14/02/2017 13:51, Bjoern A. Zeeb wrote: ifconfig epair0b ether ether 02:ff:e0:00:00:0b ifconfig: can't set link-level netmask or broadcast Two “ether”s there but I assume that’s a copy and paste issue? No, it's just me being stupid and careless... ;) Ok, it works great both in the jail

Re: How to enable ECMP flow based forwarding ?

2017-02-14 Thread Andrey V. Elsukov
On 14.02.2017 03:23, Olivier Cochard-Labbé wrote: > Hi, > > I'm testing FreeBSD ECMP behavior by adding "options RADIX_MPATH" to my > kernel configuration (11-stable). > Now I can configure two identical routes toward 2 different next-hop: First > step achieved :-) > But it uses only the first ent

carp and subnets

2017-02-14 Thread Julien Cigar
Hello, I have a redundant router/firewall with CARP and PF/PFSync with the following configuration (simplified for example): on FW1 (MASTER): ifconfig_em3="inet 1.2.208.89 netmask 255.255.255.224 -tso" ifconfig_em3_alias0="vhid 53 advskew 0 pass xx alias 1.2.208.90/32" on FW2 (BACKUP): ifconfi

Re: carp and subnets

2017-02-14 Thread Freddie Cash
On Tue, Feb 14, 2017 at 7:41 AM, Julien Cigar wrote: > Hello, > > I have a redundant router/firewall with CARP and PF/PFSync with the > following configuration (simplified for example): > > on FW1 (MASTER): > > ifconfig_em3="inet 1.2.208.89 netmask 255.255.255.224 -tso" > ifconfig_em3_alias0="vhi

[Bug 204340] [panic] nfsd, em, msix, fatal trap 9

2017-02-14 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204340 --- Comment #27 from commit-h...@freebsd.org --- A commit references this bug: Author: avg Date: Tue Feb 14 17:49:08 UTC 2017 New revision: 313735 URL: https://svnweb.freebsd.org/changeset/base/313735 Log: add svcpool_close to handle kil

Re: How to enable ECMP flow based forwarding ?

2017-02-14 Thread Scott Larson
I'm successfully using ECMP on 11.0-RELEASE firewalls, but in my case they're also using OSPF with a pair of upstream MX480 routers via Quagga. BIRD would be nicer to work with but the last time I checked it wasn't playing nice with ECMP on FreeBSD. Regardless, if OSPF is an option you can pur

Re: How to enable ECMP flow based forwarding ?

2017-02-14 Thread Ermal Luçi
On Tue, Feb 14, 2017 at 6:13 AM, Andrey V. Elsukov wrote: > On 14.02.2017 03:23, Olivier Cochard-Labbé wrote: > > Hi, > > > > I'm testing FreeBSD ECMP behavior by adding "options RADIX_MPATH" to my > > kernel configuration (11-stable). > > Now I can configure two identical routes toward 2 differe

Re: carp and subnets

2017-02-14 Thread Julien Cigar
On Tue, Feb 14, 2017 at 09:03:00AM -0800, Freddie Cash wrote: > On Tue, Feb 14, 2017 at 7:41 AM, Julien Cigar wrote: > > > Hello, > > > > I have a redundant router/firewall with CARP and PF/PFSync with the > > following configuration (simplified for example): > > > > on FW1 (MASTER): > > > > ifco

Re: How to enable ECMP flow based forwarding ?

2017-02-14 Thread Andrey V. Elsukov
On 14.02.2017 22:52, Ermal Luçi wrote: > I think you need to implement some code first. The fastfwd has not > supported MPATH and tryforward also doesn't support it. For IPv4 you can > try to add some IPsec security policy to disable ip_tryforward. In this > case ip_forward() will b