Testing on network interface - promisc mode.
- From: <sivakumar.subramani@xxxxxxxxx>
- Date: Wed, 30 Aug 2006 12:11:30 +0530
Hi,
I was using following steps to test the promisc mode on the network
interface on my system on FreeBSD 6.1.
- 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
- On Machine B, I enabled promisc mode for the test N/W
interface.
#ifconfig <Interface> promisc
- Started tcpdump on Machine A, for capturing the packets.
- 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.
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.
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.
Please let me know whether the above behavior is correct and acceptable.
Thanks,
~Siva
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.
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.
www.wipro.com
_______________________________________________
freebsd-net@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscribe@xxxxxxxxxxx"
- Prev by Date: iwi discarding oversized packets while mtu=1500 for src/dst
- Next by Date: Re: Long keepidle time
- Previous by thread: iwi discarding oversized packets while mtu=1500 for src/dst
- Next by thread: tcp/udp performance
- Index(es):
Relevant Pages
- Re: XP-SP2 "Feature"
... in which case ICMP is not required. ... never be enabled on the ICF interface
anyway. ... so is incoming pings. ... The real uncomfortable thing here is for home
users. ... (Focus-Microsoft) - Re: Output Varies from Show Access-List Command
... permit icmp any host 192.168.0.30 time-exceeded ... You are probably using ICMP
inspection on one of the interfaces ... Inspection creates dynamic ACEs in
the return path so that you don't need to specifically configure static ACEs to accommodate return traffic.
... (comp.dcom.sys.cisco) - Re: set srcIP for ICMP replies, or for locally sourced connections?
... Attach an ACL to the WAN interface that specifies to which IP addresses you will permit
ICMP. ... Extended ping permits you to specify the source IP address that will be used
in the outbound ping, which then becomes the destination IP address in the reply packet. ... "Inspection"
applied on a LAN interface will open temporary dynamic holes in the return path ACLs to accommodate
replies to pings sent from internal hosts. ... If there were a way to bind locally-sourced ping
and traceroute to a particular source IP on each router, then that would also be helpful. ...
(comp.dcom.sys.cisco) - Re: em(4) VLAN + PROMISC still doesnt work with latest CVS version
... In order for vlan briding to work the interface ... >> invoked (which
is how bridge works). ... If you can make a bridge over vlans ... > interfaces
in promisc mode I won't have some of the problems - but I ... (freebsd-net) - Re: Disabling VLAN_HWTAGGING
... What I found is that VLAN tagged frames sent to the interface never get to ...
though when an ICMP ping request gets to ng_eiface it ignores it. ... 10.2.0.1: icmp: echo
request ... I can ping from the ng_eiface interface and it makes it tagged ...
(freebsd-net)