Re: changing routing table preference



LinuxGuy wrote:
Hi All,

I have 2 interfaces on same subnet ..

intface 1 = subnet 1
intface 2 = subnet 1

whenever any application sends packets ,actually it goes through
interface 1 ..can I change this routing table behaviour and send packet
from interface 2 ( I don't want to do application level changes )

For simple routing, you must not have two interfaces
in the same subnet.

The more complicated routing methods are explained in the
Adv-Routing-HOWTO, which is available from any Linux
Documentation Project mirror site.

--

Tauno Voipio
tauno voipio (at) iki fi
.



Relevant Pages

  • Re: Problem with new source address selection (was Anyone interested in jail patches?)
    ... Lets assume my private subnet is 192.168.90.0/24 and the "foreign" ... When I send packets via this tunnel I ... So is your 192.168.90.0/24 on any other interface but the lo2? ...
    (freebsd-net)
  • Re: Multiple NICS on same subnet
    ... multiple NICs on the same subnet. ... No packets are *ever* route to this interface. ...
    (comp.os.linux.networking)
  • Re: Responds to ARP requests for specified subnet
    ... > The linux box shall respond to ARP requests for a specified subnet and ... > accept an IP packets for that subnet though the box itself can reside ... interface it will respond to arp requests received by that interface for IP ...
    (comp.os.linux.networking)
  • changing routing table preference
    ... I have 2 interfaces on same subnet .. ... intface 1 = subnet 1 ... whenever any application sends packets,actually it goes through ... interface 1 ..can I change this routing table behaviour and send packet ...
    (comp.os.linux.networking)
  • changing routing table preference
    ... I have 2 interfaces on same subnet .. ... intface 1 = subnet 1 ... whenever any application sends packets,actually it goes through ... interface 1 ..can I change this routing table behaviour and send packet ...
    (comp.unix.solaris)