networking - Is the packets loss caused by LAN or WAN? Its very confusing any idea? -


i have isp provider (telenet). provides via dhcp public ip there dsl modem. modem have rj45 cable connected 24 port switch.

now in our local network: - switch port 1, have 1 voip phone - switch port 2, have voip phone

each has default gateway 78.21.232.1 , subnet mask 255.255.240.0. different public ip such 78.21.235.x or 78.21.232.x series.

question/confusion: when send packets our local network our local public ip's, traffic going isp default gateway? or straight inside our switch network?

but saw many times gets packet loss in voip phone diagnostics. making me confused now.

you've got several places more information packets go. first routing tables:

$ ip route 192.168.122.0/24 dev virbr0  proto kernel  scope link  src 192.168.122.1  192.168.0.0/24 dev eth0  proto kernel  scope link  src 192.168.0.121  metric 1  169.254.0.0/16 dev eth0  scope link  metric 1000  default via 192.168.0.1 dev eth0  proto static  

this shows interfaces (virbr0, eth0) used packets destined cidr ranges. default entry @ bottom used doesn't match 1 of more specific routes. since lan 192.168.0.0/16 expect packets sent hosts on lan not go through gateway device (the via ... in last entry).

the arp tool can find out packets go:

$ arp -n address                  hwtype  hwaddress           flags mask            iface 192.168.0.146            ether   00:06:7f:27:45:80   c                     eth0 192.168.0.1              ether   00:0f:66:4c:01:f8   c                     eth0 

my machine knows 2 other mac addresses on network right now, , can send packets them directly. if hwaddress duplicated several entries, on other side of gateway, or machine multiple ip addresses advertised on single nic.

i'm not sure how packetloss problems; try moving switch ports, swapping cables, etc. maybe you've got bad port, can happen time time. try isolate pairs of machines have packetloss problems. (and don't try ping -f mac os x machines, rate limit icmp replies. it's funny once know it...)


Comments

Popular posts from this blog

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -