Date: Wed, 30 Aug 2006 12:11:30 +0530 From: <sivakumar.subramani@wipro.com> To: <freebsd-net@FreeBSD.org> Subject: Testing on network interface - promisc mode. Message-ID: <FBE865431BCF7D4C955E3BFE69E00551EEF19C@blr-m3-msg.wipro.com>
next in thread | raw e-mail | index | archive | help
Hi, =0D I was using following steps to test the promisc mode on the network interface on my system on FreeBSD 6.1. =0D - On machine A, I updated the arp table with the a dummy MAC address (aa:bb:cc:dd:ee:ff) for the remote interface on Machine B. #arp -s 17.1.1.110 aa:bb:cc:dd:ee:f =0D - On Machine B, I enabled promisc mode for the test N/W interface.=0D #ifconfig <Interface> promisc=0D =0D - Started tcpdump on Machine A, for capturing the packets.=0D =0D - On Machine A, I ping to the remote Interface of the Machine B #ping -c2 17.1.1.110 - Ping went through fine and Tcpdump is displaying both ICMP request and ICMP reply. =0D I could understand that machine B receives ICMP request as promisc mode is enabled. But it was not suppose to send ICMP reply as the packet was not intended for this machine (I mean the ICMP REQUEST PACKET contain some dummy MAC address). It was supposed to be discarded. =0D After testing the above steps, I could see the ICMP REPLY from MACHINE B and ICMP REPLY contain original Mac address in the Source MAC address field in the Ethernet header. =0D Please let me know whether the above behavior is correct and acceptable. =0D Thanks, ~Siva =0D The information contained in this electronic message and any attachments to= this message are intended for the exclusive use of the addressee(s) and= may contain proprietary, confidential or privileged information. If you= are not the intended recipient, you should not disseminate, distribute or= copy this e-mail. Please notify the sender immediately and destroy all= copies of this message and any attachments.=0D WARNING: Computer viruses can be transmitted via email. The recipient= should check this email and any attachments for the presence of viruses.= The company accepts no liability for any damage caused by any virus= transmitted by this email. =0D www.wipro.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?FBE865431BCF7D4C955E3BFE69E00551EEF19C>