[lkml]   [2004]   [Nov]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: Isolating two network processes on same machine
    linux-os <> writes:

    > I was going to say, set the netmask small enough so that both
    > machines are on different networks and set default routes to
    > your gateway....

    Yeah, but that part of it is actually working as long as our processes
    are running on different machines. The problem is that on the same
    machine e.g. with this configuration

    > > ifconfig eth0:0 netmask broadcast
    > > ifconfig eth0:1 netmask broadcast

    then the kernel somehow shortcircuits the routing table and doesn't
    forward the packets to the default gateway, even though the two
    addresses are on different subnets. It probably somehow knows that it
    possesses both IPs itself, and then skip any further routing.

    So basically, our problem is that the kernel is being too clever. If
    we could just dumb it down or trick it somehow...

    Thanks for your input,

    Ole Laursen
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 14:08    [W:0.020 / U:7.336 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site