--- Jaison Jose <[EMAIL PROTECTED]> wrote: Hi Jaison,
please kindly have a look at http://www.netmeister.org/news/learn2quote.html first. Newspapers are made for to people reading a lot. They would not mess with colours. > Once I know that I check my ARP table for any entries. When there is > a > static entry, there was already someone who cared for me (i.e. the > administrator). When there is a dynamic entry I grab the MAC address > from the table and send the packet there. (Now here is the problem. U > want > to contact Host B, But there is a dynamic entry for Host A in the ARP > table > as below. > > 10.0.0.2 <http://10.0.0.2> 0x1 0x2 01:23:45:67:89:AB > > Host B also having the same IP address so u start to communicate with > Host > A. > > Hope U got my point. Well I'm starting to see some rays, but it is still very dark. If I got you right and the Linux kernel does not care which interface it remembered, then it can't contact Host B, because of the missing interface. Remember that it determined the interface first and then tried to send a packet to a MAC address from the ARP table. Now when the kernel would take notice which interface it used (I showed you that my kernel does remember which interface it was) it would notice that it doesn't have the MAC for this interface and the hole process should work with just one ARP table. Have a look in /proc/sys/net/*. I might find there something to enable or disable this. What is the purpose of using IP addresses twice and routing them per conditions other than destination? > So what U need is a separate ARP table for each interface as U know > through > which interface u want to communicate. You'll have to determine first which interface you want to use. What would you do when the entry is not yet in the table? Dirk. ------------------------ Yahoo! Groups Sponsor --------------------~--> Fair play? Video games influencing politics. Click and talk back! http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/0XFolB/TM --------------------------------------------------------------------~-> Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/dubailug/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
