Socket bound to 0.0.0.0 never receives broadcasts with non-zero IP source address

2015-04-07 Thread Yuri
I noticed that the socket bound to '0.0.0.0' only receives UDP broadcasts when they are sent from zero IP: 0.0.0.0->255.255.255.255. When the source IP is not zeros, but some valid IP on that network, socket never receives such broadcast. I compared two packets in wireshark as they arrive, and

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

Re: [BUG?] dhclient sends packets with source IP address that has been deleted

2015-04-07 Thread Charles Swiger
On Apr 7, 2015, at 2:07 PM, Yuri wrote: > On 04/07/2015 07:53, Brooks Davis wrote: >> I suppose that since dhclient has been killed and restarted it can't >> know it's on the same network, but in practice you want to try to get >> the same lease again and fall back if it turns out you've moved or

Re: [BUG?] dhclient sends packets with source IP address that has been deleted

2015-04-07 Thread Yuri
On 04/07/2015 07:53, Brooks Davis wrote: I suppose that since dhclient has been killed and restarted it can't know it's on the same network, but in practice you want to try to get the same lease again and fall back if it turns out you've moved or your dhcp server is broken and lost state. I don'

Re: [BUG?] dhclient sends packets with source IP address that has been deleted

2015-04-07 Thread Brooks Davis
On Mon, Apr 06, 2015 at 08:13:56PM -0700, Yuri wrote: > I am observing what dhclient sends to the server. Source IP of the > packet it sends is the previous DHCP lease. This address doesn't exist > any more, because I manually deleted it with 'ifconfig em0 remove ' > command. Yet, when I rerun d

RE: FreeBSD sometimes uses the router for packets on the local network

2015-04-07 Thread Anton Farber
> On Tue, Apr 07, 2015 at 07:04:40AM +, Anton Farber wrote: >>> On Mon, Apr 6, 2015 at 12:15 PM, Anton Farber >>> wrote: I've opened a thread on the FreeBSD networking forum (https://forums.freebsd.org/threads/jail-fails-to-connect-to-main-host.50833/) as sometime ago my FreeB

Re: FreeBSD sometimes uses the router for packets on the local network

2015-04-07 Thread Konstantin Belousov
On Tue, Apr 07, 2015 at 07:04:40AM +, Anton Farber wrote: > > On Mon, Apr 6, 2015 at 12:15 PM, Anton Farber > > wrote: > > > I've opened a thread on the FreeBSD networking forum > > > (https://forums.freebsd.org/threads/jail-fails-to-connect-to-main-host.50833/) > > > as sometime ago my Free

RE: FreeBSD sometimes uses the router for packets on the local network

2015-04-07 Thread Anton Farber
> On Mon, Apr 6, 2015 at 12:15 PM, Anton Farber > wrote: > > I've opened a thread on the FreeBSD networking forum > > (https://forums.freebsd.org/threads/jail-fails-to-connect-to-main-host.50833/) > > as sometime ago my FreeBSD server (initially running 10.1, now CURRENT) > > started to behave