How can I control the network package

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi All,

     I have a linux server  with two GE nics configured as follows:
    eth0   10.10.12.1       netmask 255.255.255.0
    eth1   10.10.12.111   netmask  255.255.255.0

    One service application running on it (as a kernel module) and accepts
all the requests from clients on the same subnet (i.e. with subnet 10.10.12.x),
and all the clients will send requests to these two nic round-robinly.
when eth0
accept the request, the corresponding result will be sent back from eth0 too,
but when eth1 accepted the request, its result still go back from eth0, not eth1
due to network route, but I need it go back through where it came from,
so how can I do that?
   BTW: the server has two listen sockets bind to these two ips
respectively, use
            UDP protocol

  Thanks!
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux