Diagnosing packet loss
Kees Jan Koster
kjkoster at gmail.com
Tue Nov 22 22:11:20 UTC 2011
[kjkoster at saffron ~]$ ifconfig bge0
bge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
inet 22.214.171.124 netmask 0xfffffff8 broadcast 126.96.36.199
inet 188.8.131.52 netmask 0xffffffff broadcast 184.108.40.206
media: Ethernet autoselect (100baseTX <full-duplex,flowcontrol,rxpause,txpause>)
[kjkoster at saffron ~]$ fgrep bge0 /etc/rc.conf
ifconfig_bge0="inet 220.127.116.11 netmask 255.255.255.248"
ifconfig_bge0_alias0="18.104.22.168 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?
On 22 Nov 2011, at 23:00, Michael Sierchio wrote:
> On Tue, Nov 22, 2011 at 1:58 PM, Kees Jan Koster <kjkoster at 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.
kjkoster at kjkoster.org
I hate unit tests; I much prefer the illusion that there are no errors in my code.
-- Hendrik Muller
More information about the freebsd-questions