> how can i make my router broadcast all packets > destined to a particular subnet? You need to send what is known as a 'directed broadcast' . (Say) Subnet A (10.0.0)<---- 10.0.0.1= [ ROUTER(jerry)] =10.0.1.1 ----> Subnet B(10.0.1) Do. 1) route add -net 10.0.1.0 netmask 255.255.255.0 dev i/f_A 2) route add -net 10.0.0.0 netmask 255.255.255.0 dev i/f_B 3) route add default ..... The way you cud send a directed brd is to send a pkt with dst. addr as 10.0.0.255 (if you want to brd to 10.0.0 subnet). Pl. try it and blame me if it dosnet work ! btw, what r ur router's routing table entries? > i tried : route add -net 10.0.1.0 netmask > 255.255.255.0 gw 10.0.0.255 dev eth1 but no > success.any hints what i am doing wrong? can u explain what do u mean by 'gw 10.0.0.255' ? ;-) > my router is 10.0.0.1 and 10.0.1.0 is a different > subnet . > 10.0.0.2 10.0.1.1 10.0.1.5 > __ _ _pc1 __ _ _ _ _pc3 > | > | > router------ > | 10.0.0.3 10.0.1.2 10.0.1.6 > |_ _ _ _pc2- - - - - - pc4 > > pc1 nd pc2 have two ethernet cards in them. could you clarify more on the router i/f's IP addr. ? i cannot understand the figure above. - V > Thanks in adcance, > vinod > > __________________________________________________ > Do You Yahoo!? > LAUNCH - Your Yahoo! Music Experience > http://launch.yahoo.com > - > : send the line "unsubscribe linux-net" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html
**************************Disclaimer************************************ Information contained in this E-MAIL being proprietary to Wipro Limited is 'privileged' and 'confidential' and intended for use only by the individual or entity to which it is addressed. You are notified that any use, copying or dissemination of the information contained in the E-MAIL in any manner whatsoever is strictly prohibited. ***************************************************************************