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
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 at 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 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
http://java-monitor.com/
kjkoster at kjkoster.org
+31651838192
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