However, i scp copy a large file from other machine to this machine using different IP (192.168.70.151 or 192.168.70.152), but I alwaysnotice only eth0 has activity. all other interfaces are idle. what could possibly go wrong? thanks
What happens IMHO is that the routing table is sorted according to the length of the netmask (the default route then comes last in the list). When a route to a destination is needed an entry is searched for that fits to the network/netmask combination. When one is found, that is it, no further searching done.
Now I do not know to much about this, but what you apparently want is ‘load balancing’. So try to find more info about this on the internet, or hope one of the better knowledgeble ppl here react to this thread.
If they are both connected to the same switch and you are trying to double your bandwidth, what you need is interface bonding/teaming (and other names). Your switch has to support it to be feasible.
basically i am running a DB2 server, which needs to broadcast data on eth0, also receives interactive commands on eth1.
This is pretty much like a private network for eth0, and a corporate network on eth1. Not only DB2, but many server side applications need this type of config.
Thus my goal is to use two network interfaces to separate data across the two networks. But somehow eth0 takes over both network. My question is how to make eth1 on a different hardward takes away traffic on a different 192.168.XXX.XXX IP address
It’s still not clear if you are connecting both interfaces to the same network segment, i.e. same switch, or not. If you are not, then you shouldn’t assign them addresses in the same subnet.
All this talk about a private network on eth0 and a corporate network on eth1 makes it sound like you have a multihomed machine. But then you assign them consecutive IP addresses. So what gives?