igb Intel Gigabit Network Connection I350, lagg, vlan - increase mtu

2013-09-09 Thread Marek Salwerowicz
14:59:37] ifconfig: ioctl (set mtu): Invalid argument event setting the MTU to 1500 (default value) results in same error. same for lagg0, and vlanX How can I increase the MTU for lagg interface ? Is it possible without rebooting or only via /etc/rc.conf ? Regards, -- Marek Salwerowicz

Re: igb Intel Gigabit Network Connection I350, lagg, vlan - increase mtu

2013-09-09 Thread Marek Salwerowicz
W dniu 2013-09-09 15:02, Marek Salwerowicz pisze: My server just to add - I am running the 9.1-RELEASE: FreeBSD storage1 9.1-RELEASE-p6 FreeBSD 9.1-RELEASE-p6 #0: Wed Aug 21 20:40:52 UTC 2013 r...@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64

Re: igb Intel Gigabit Network Connection I350, lagg, vlan - increase mtu

2013-09-13 Thread Marek Salwerowicz
are a few things on my boxes which that will break so I am better off just rebooting. Hi, after setting up in /etc/rc.conf: ifconfig_igb{0,1,2,3}="mtu 9000 up" and rebooting everything worked and I have mtu 9000 in lagg0 and 2 vlans Thanks for hints! -- Marek S

NFS over LAGG / lacp poor performance

2014-04-25 Thread Marek Salwerowicz
sth ? Regards, Marek -- Marek Salwerowicz ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Re: NFS over LAGG / lacp poor performance

2014-04-25 Thread Marek Salwerowicz
Hello Gerrit, W dniu 2014-04-25 11:37, Gerrit Kühn pisze: > On Fri, 25 Apr 2014 09:48:36 +0200 Marek Salwerowicz > wrote about NFS over LAGG / lacp poor performance: > > > > Could you have a look on your system and let me know how your interrupts > are spread? For me on

Re: NFS over LAGG / lacp poor performance

2014-04-25 Thread Marek Salwerowicz
W dniu 2014-04-25 13:48, Rick Macklem pisze: > Well, you don't mention what command(s) you are using to transfer the > data, but I would guess you have one serial data transfer for each command. > (Put another way, if you are only running one command to transfer the data, > there will only be one

Re: NFS over LAGG / lacp poor performance

2014-04-25 Thread Marek Salwerowicz
W dniu 2014-04-25 14:01, Gerrit Kühn pisze: > Thanks for your input. As far as I understood so far, there should be one > igb queue created per cpu core in the system by default (and this is what > I see on my system). But my irq rate looks quite high to me (and it is > only on one of these queues)

Re: NFS over LAGG / lacp poor performance

2014-04-25 Thread Marek Salwerowicz
W dniu 2014-04-25 13:57, Marek Salwerowicz pisze: > (executed on storage1) > # cp -a file1 /net/storage2/ & > # cp -a file2 /net/storage2/ & > # cp -a file3 /net/storage2/ & > # cp -a file4 /net/storage2/ & Just to add: both source and destination are based o

Re: NFS over LAGG / lacp poor performance

2014-04-25 Thread Marek Salwerowicz
W dniu 2014-04-25 14:55, Steven Hartland pisze: > - Original Message - From: "Marek Salwerowicz" > > >> W dniu 2014-04-25 14:01, Gerrit Kühn pisze: >>> Thanks for your input. As far as I understood so far, there should >>> be one >>> igb

Re: NFS over LAGG / lacp poor performance

2014-04-25 Thread Marek Salwerowicz
W dniu 2014-04-25 15:27, Steven Hartland pisze: > In that case I believe you've hard coded the number of queues, check > /boot/loader.conf > for references to this. Yes, that's true: % cat /boot/loader.conf debug.acpi.max_tasks="128" if_lagg_load="YES" kern.ipc.nmbclusters="131072" hw.

Re: NFS over LAGG / lacp poor performance

2014-04-25 Thread Marek Salwerowicz
W dniu 2014-04-25 16:02, Steven Hartland pisze: > We find that large numbers of queues causes high interrupt issues > however at a guess you did this to enable the machine to boot with > all nics due to lack of auto mbuf tuning in 9.x. > > I'd go with ~2 queues per nic. Yes, probably you're right

Re: ipfw - accessing DMZ from LAN , pipes

2011-11-28 Thread Marek Salwerowicz
tter if I do first 'ipfw add pipe 1...' and then 'ipfw pipe 1 config...' ? Regards, -- Marek Salwerowicz ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Re: ipfw - accessing DMZ from LAN , pipes

2011-11-28 Thread Marek Salwerowicz
to a pipe that doesn't exist yet? :) ;) it makes sense to config at first and then attach traffic to pipe - for me it works regards, -- Marek Salwerowicz ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebs

Re: re%d on FitPC2?

2011-12-22 Thread Marek Salwerowicz
h other types of NIC supported) on your own? As someone wrote you in forum, the driver may be wrong. What's the NIC chipset? Regards, -- Marek Salwerowicz ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To u

Re: re%d on FitPC2?

2011-12-22 Thread Marek Salwerowicz
W dniu 2011-12-22 21:38, Marek Salwerowicz pisze: W dniu 2011-12-22 18:18, Dr. Lyman Hazelton pisze: I have heard that at least one other user has gotten the FitPC2 to work with the re driver, so, at least in theory, it should work. Question is how? Any advice deeply appreciated! Hi

ipfw + 2 LANs

2011-07-06 Thread Marek Salwerowicz
state $cmd add 300 allow ip from 10.0.2.0/24 to 10.0.0.0/24 keep-state But it doesn't really work for me when I set at the end: $cmd add 500 allow ip from any to any It works but it allows also traffic between LANs. Regards, -- Ma

ipfw - accessing DMZ from LAN

2011-08-09 Thread Marek Salwerowicz
$cmd add 1 allow ip from any to any I know I've blcoked traffic between DMZ and LAN, but I wanted them to contact via public IPs.. but now I'm not sure if it's possible... Can you give me some hints on how to properly configure my router? Regards, -- Marek Salwerowicz ___

ipfw - accessing DMZ from LAN

2011-08-09 Thread Marek Salwerowicz
$cmd add 1 allow ip from any to any I know I've blcoked traffic between DMZ and LAN, but I wanted them to contact via public IPs.. but now I'm not sure if it's possible... Can you give me some hints on how to properly configure my router? Regards, -- Marek Salwerowicz ___

Re: ipfw - accessing DMZ from LAN

2011-08-09 Thread Marek Salwerowicz
W dniu 2011-08-09 15:09, Chuck Swiger pisze: On Aug 9, 2011, at 4:57 AM, Marek Salwerowicz wrote: Right now everything works from the Internet - if I do ssh to xx.yy.zz.170, I really can connect to host 192.168.0.10 etc. The problem is that when I want to connect from my 10.0.0.0/24 network

Re: ipfw - accessing DMZ from LAN

2011-08-09 Thread Marek Salwerowicz
then 'bridge' DMZ interface with external and set up public IPs on my DMZ hosts? Regards, -- Marek Salwerowicz ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "

Re: ipfw - accessing DMZ from LAN

2011-08-09 Thread Marek Salwerowicz
W dniu 2011-08-09 18:04, Freddie Cash pisze: On Tue, Aug 9, 2011 at 4:59 AM, Marek Salwerowicz wrote: I have set up a new router for my network, with separated DMZ zone for my internet servers. I'd like computers from my LAN to be able to connect to DMZ zone. My ISP provided me some p

Re: ipfw - accessing DMZ from LAN

2011-09-22 Thread Marek Salwerowicz
Public IP is set as an alias for em0 Can you have a look at my issue? Regards, -- Marek Salwerowicz ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Re: ipfw - accessing DMZ from LAN

2011-09-29 Thread Marek Salwerowicz
y LAN (to allow it to access the Internet, and router), and also for my DMZ hosts (also for the Internet), what should be the order of rules? First 'LAN-DMZ', then 'DMZ', then 'LAN' ? Regards, -- Marek Salwerowicz __

Re: ipfw - accessing DMZ from LAN

2011-09-29 Thread Marek Salwerowicz
, but when I connect from the Internet to DMZ host (eg. ssh), I see that the connection comes from itself (DMZ host public IP), instead of real public IP address. I think that I've overNATed something. Do you have any idea? Regards, -- Marek Salwerowicz _

Re: ipfw - accessing DMZ from LAN

2011-09-30 Thread Marek Salwerowicz
W dniu 2011-09-29 23:07, Marek Salwerowicz pisze: So eg. the rules specifying traffic between DMZ Host and LAN could be the first, and then rules for "generic" DMZ host traffic (allowing DMZ access to the Internet)? So far I made like this (first DMZ-LAN, then DMZ), but I have som

Re: ipfw - accessing DMZ from LAN

2011-10-01 Thread Marek Salwerowicz
e the router is directly connected to the private networks. And how about pinging from other DMZ host to DMZ host (both are in the same subnet) ? Am I able to allow them to contact using public IPs? Regards, -- Marek Salwerowicz ___ freebsd-net@freebs

Re: bridging VLAN interfaces and STP

2014-09-02 Thread Marek Salwerowicz
Hello Dustin, W dniu 2012-09-02 o 01:13, Dustin J. Mitchell pisze: On Sat, Sep 1, 2012 at 5:55 PM, Peter Jeremy wrote: >That looks like RSTP is enabled on both bridge10 and bridge20 but is >not seeing incoming [R]STP packets. Are you sure the switch connected >to vr1 is configured with per-VL

Re: bridging VLAN interfaces and STP

2014-09-02 Thread Marek Salwerowicz
: unable to set bridge flags: Invalid argument Dustin On Tue, Sep 2, 2014 at 4:16 PM, Marek Salwerowicz wrote: Hello Dustin, W dniu 2012-09-02 o 01:13, Dustin J. Mitchell pisze: On Sat, Sep 1, 2012 at 5:55 PM, Peter Jeremy wrote: That looks like RSTP is enabled on both bridge10 and bridge20 bu

Multicast routing, IGMP, IPTV doubts..

2014-10-14 Thread Marek Salwerowicz
th (24+32) received packet from 10.66.255.248 shorter (32 bytes) than hdr+data length (24+32) received packet from 10.66.255.248 shorter (32 bytes) than hdr+data length (24+32) Do you have any idea how should I configure my box to be able to route the IPTV tr

Re: Multicast routing, IGMP, IPTV doubts..

2014-10-15 Thread Marek Salwerowicz
W dniu 2014-10-15 o 11:20, Olivier Cochard-Labbé pisze: Oops... this ports wasn't adapted to SOCK_RAW changes brings in FreeBSD 10. I will try to fix it. I would be grateful ;-) Let me know if I can help in any way in debugging ? Cheers Marek -- Marek Salwer

Re: Multicast routing, IGMP, IPTV doubts..

2014-11-01 Thread Marek Salwerowicz
Hello all, W dniu 2014-10-14 o 23:57, Marek Salwerowicz pisze: Hi all, My home router is small FreeBSD 10 box, with 3 ethernet ports, I use pf as a firewall. My ISP provides FTTH, that ends at my home with a small box called CPE. The CPE contains 4 ethernet ports. On one port I have

Extending TCP window size in FreeBSD 10-RELEASE?

2014-11-01 Thread Marek Salwerowicz
c VPN connection between hosts? regards, Marek -- Marek Salwerowicz ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

RTT and TCP Window size doubts, bandwidth issues

2015-04-07 Thread Marek Salwerowicz
Hi list, I am trying to find correct setup of sysctl's for following machines (VMs under Vmware Workstation 8) to test large TCP window size: There are 2 boxes, each of them has following setup: - % uname -a FreeBSD freeA 10.1-RELEASE-p6 FreeBSD 10.1-RELEASE-p6 #0: Tue Feb 24 19:00:21 UTC 20

ipfw / dummynet does not hit the rules?

2015-04-08 Thread Marek Salwerowicz
low ipv6-icmp from any to any ip6 icmp6types 1 01000 0 0 allow ipv6-icmp from any to any ip6 icmp6types 2,135,136 02000 0 0 pipe 1 ip from any to any layer2 65000 621 60067 allow ip from any to any 65535 2 400 deny ip from any to a

Re: lagg of em0/em1 + VLAN = lower MTU?

2015-07-14 Thread Marek Salwerowicz
W dniu 2015-07-10 o 15:04, Karl Pielorz pisze: The MTU on lagg0.10 has shrunk by 4 (size of VLAN tag). Is there a way of avoiding that? That's my working setup (hardware is based on http://www.supermicro.com/products/system/4U/6047/SSG-6047R-E1R36L.cfm) #/etc/rc.conf: ifconfig_igb0="mtu