Diagnosing packet loss

Kees Jan Koster kjkoster at gmail.com
Tue Nov 22 22:11:20 UTC 2011

Dear Michael,

[kjkoster at saffron ~]$ ifconfig bge0
bge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
	ether 00:e0:81:32:ed:b4
	inet netmask 0xfffffff8 broadcast
	inet netmask 0xffffffff broadcast
	media: Ethernet autoselect (100baseTX <full-duplex,flowcontrol,rxpause,txpause>)
	status: active
[kjkoster at saffron ~]$ fgrep bge0 /etc/rc.conf 
ifconfig_bge0="inet netmask"
ifconfig_bge0_alias0=" netmask"

That broadcast address and netmask look wrong for sure.

Should I just change that to 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 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.

Kees Jan

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 mailing list