Hi ALL I am using system (Linux kernel 2.6.9) with two network cards. It is connected to LAN (10.0.0.0). The ips of two NIC are for eth0 10.0.0.18 and for eth1 10.0.0.46. Linux System network configuration ------------------------------------------------------------------------------ # ifconfig eth0 Link encap:Ethernet HWaddr 00:14:C2:59:E5:ED inet addr:10.0.0.18 Bcast:10.0.0.255 Mask:255.255.255.0 inet6 addr: fe80::214:c2ff:fe59:e5ed/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:4692 errors:11556 dropped:0 overruns:0 frame:0 TX packets:12 errors:0 dropped:0 overruns:0 carrier:0 collisions:2 txqueuelen:1000 RX bytes:645746 (630.6 KiB) TX bytes:798 (798.0 b) Interrupt:209 Memory:fddf0000-fde00000 eth1 Link encap:Ethernet HWaddr 00:14:C2:59:E5:EC inet addr:10.0.0.46 Bcast:10.0.0.255 Mask:255.255.255.0 inet6 addr: fe80::214:c2ff:fe59:e5ec/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:4535 errors:11561 dropped:0 overruns:0 frame:0 TX packets:1649 errors:0 dropped:0 overruns:0 carrier:0 collisions:12 txqueuelen:1000 RX bytes:635178 (620.2 KiB) TX bytes:105841 (103.3 KiB) Interrupt:217 Memory:fdde0000-fddf0000 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:40 errors:0 dropped:0 overruns:0 frame:0 TX packets:40 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:3232 (3.1 KiB) TX bytes:3232 (3.1 KiB) The routing table is # route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 10.0.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 10.0.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1 0.0.0.0 10.0.0.7 0.0.0.0 UG 0 0 0 eth0 ---------------------------------------------------------------------------- I am doing IO from two different machine(machine 1 and mahcine 2) to this system one through eth0 and other through eth1 (both machines are on same network see network configuration below) but The whole traffic is seems to traverse through eth0 on linux system. Machine 1 -> ----------------------------------------------------------------------------- E:\>ipconfig Windows IP Configuration Ethernet adapter Local Area Connection: Connection-specific DNS Suffix . : IP Address. . . . . . . . . . . . : 10.0.0.42 Subnet Mask . . . . . . . . . . . : 255.255.255.0 Default Gateway . . . . . . . . . : E:\>route PRINT =========================================================================== Interface List 0x1 ........................... MS TCP Loopback interface 0x2 ...00 0f fe 25 f1 d3 ...... Broadcom NetXtreme Gigabit Ethernet - Packet Sch eduler Miniport =========================================================================== =========================================================================== Active Routes: Network Destination Netmask Gateway Interface Metric 10.0.0.0 255.255.255.0 10.0.0.42 10.0.0.42 20 10.0.0.42 255.255.255.255 127.0.0.1 127.0.0.1 20 10.255.255.255 255.255.255.255 10.0.0.42 10.0.0.42 20 127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1 224.0.0.0 240.0.0.0 10.0.0.42 10.0.0.42 20 255.255.255.255 255.255.255.255 10.0.0.42 10.0.0.42 1 =========================================================================== Persistent Routes: None --------------------------------------------------------------------------- mahcine 2 -> --------------------------------------------------------------------------- E:\>ipconfig Windows IP Configuration Ethernet adapter Local Area Connection: Connection-specific DNS Suffix . : IP Address. . . . . . . . . . . . : 10.0.0.53 Subnet Mask . . . . . . . . . . . : 255.255.255.0 Default Gateway . . . . . . . . . : E:\>route PRINT =========================================================================== Interface List 0x1 ........................... MS TCP Loopback interface 0x2 ...00 0f fe 54 e2 a5 ...... Broadcom NetXtreme Gigabit Ethernet - Packet Sch eduler Miniport =========================================================================== =========================================================================== Active Routes: Network Destination Netmask Gateway Interface Metric 10.0.0.0 255.255.255.0 10.0.0.53 10.0.0.53 20 10.0.0.53 255.255.255.255 127.0.0.1 127.0.0.1 20 10.255.255.255 255.255.255.255 10.0.0.53 10.0.0.53 20 127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1 224.0.0.0 240.0.0.0 10.0.0.53 10.0.0.53 20 255.255.255.255 255.255.255.255 10.0.0.53 10.0.0.53 1 =========================================================================== Persistent Routes: None --------------------------------------------------------------------------- I have made some changes to netmask of both IP addresss of linux system so that both will have different network address. #ifconfig eth0 netmask 255.255.255.224 #ifconfig eth1 netmask 255.255.255.224 now the routing table after restarting the netowrk service is #route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 10.0.0.32 0.0.0.0 255.255.255.224 U 0 0 0 eth1 10.0.0.0 0.0.0.0 255.255.255.224 U 0 0 0 eth0 0.0.0.0 10.0.0.7 0.0.0.0 UG 0 0 0 eth0 But now when I am performing I/O on through machine 1 and 2 through eth0 and eth1 all traffic is on eth1. If any one having solution for this that will be great help. ALso if someone could tell me why after changing netmask its not working the way I want? Am I missing anything? TIA Satinder Send instant messages to your online friends http://in.messenger.yahoo.com -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/