Re: Diagnosing packet loss

[ Available lists | Index of freebsd-questions | Month of Nov 2011 | Week of 22 Nov 2011 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Kees Jan Koster <kjkoster@gmail.com>
Date
22 Nov 2011 22:11:20
Subject
Re: Diagnosing packet loss
Message-ID
763864D4-CC19-4473-AFAF-D22EF94E08A2@gmail.com

In reply to

[ Hide this part ]
Dear Michael,

[kjkoster@saffron ~]$ ifconfig bge0
bge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=8009b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,LINKSTATE>
ether 00:e0:81:32:ed:b4
inet 91.196.169.165 netmask 0xfffffff8 broadcast 91.196.169.167
inet 91.196.169.166 netmask 0xffffffff broadcast 91.196.169.166
media: Ethernet autoselect (100baseTX <full-duplex,flowcontrol,rxpause,txpause>)
status: active
[kjkoster@saffron ~]$ fgrep bge0 /etc/rc.conf
ifconfig_bge0="inet 91.196.169.165 netmask 255.255.255.248"
ifconfig_bge0_alias0="91.196.169.166 netmask 255.255.255.255"

That broadcast address and netmask look wrong for sure.

Should I just change that to 255.255.255.248 as well?

Kees Jan


On 22 Nov 2011, at 23:00, Michael Sierchio wrote:

> On Tue, Nov 22, 2011 at 1:58 PM, Kees Jan Koster <kjkoster@gmail.com> wrote:
>
>> Thank you for your reply. Your comment about dupe IP triggered something that I failed to mention: the interface is aliased. It has two IP addresses. IP address a and it has an alias IP address b. I just tested binding mtr to each of these interfaces separately to measure packet loss.
>
> Show us the ifconfig output. My guess is that the alias is
> incorrectly configured.


--
Kees Jan

http://java-monitor.com/
kjkoster@kjkoster.org
+31651838192

I hate unit tests; I much prefer the illusion that there are no errors in my code.
-- Hendrik Muller


Elapsed time: 0.108 seconds