Re: using two NIC's

From: Rodolfo J. Paiz (rpaiz_at_simpaticus.com)
Date: 08/25/03

  • Next message: Nick White: "RE: Using download feature of webmin"
    To: redhat-list@redhat.com
    Date: Sun, 24 Aug 2003 21:35:13 -0600
    
    

    At 8/24/2003 19:48 -0700, you wrote:
    >Question, i have a server that i would like to use
    >two nics. i have two ips that are on the same subnet
    >and they both have the same default route.
    >
    >how do i tell traffic that comes to one ip that is assigned
    >to eth0 to go back through eth0 and one ip that is assigned
    >to eth1 to go back trhoug eth1 when it goes back out to the
    >net ?

    I'm no expert, but... AFAIK, you don't. AFAIK, you can't.

    You can only have one default route, and that route points to one
    interface. Most people try to have two Ethernet cards on the same subnet so
    they can get double the bandwidth, but it simply does not work. If you want
    double the bandwidth, bond the two interfaces or aggregate them so they act
    like a single one. If you want to offer some services on one IP and other
    services on the other IP, realize that you're going to have to find some
    other way.

    If I'm wrong, which I could be, someone please correct me. But that is my
    understanding of the situation.

    What is it that you are trying to do?

    -- 
    Rodolfo J. Paiz
    rpaiz@simpaticus.com
    -- 
    redhat-list mailing list
    unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    https://www.redhat.com/mailman/listinfo/redhat-list
    

  • Next message: Nick White: "RE: Using download feature of webmin"

    Relevant Pages

    • Re: Setting bandwidth on a Cisco 837
      ... each interface type will have a default bandwidth. ... bandwidth <DSL bandwidth> ... AFAIK, you can only configure one bandwidht value - not one for up and ...
      (comp.dcom.sys.cisco)
    • Re: Cant send packets via WiFi (possibly route issue)
      ... I think that this WiFi device should route all ... it should *all* be routed to the eth1 interface. ... Wireless is much like a point-to-point link using ... The connection between the two networks is the "Wifi AP". ...
      (comp.os.linux.networking)
    • RE: Running public IPs inside an RFC 1597 network
      ... > I'm running a typical Class C RFC 1597 network in my lab. ... know or care if we humans designate a subnet as public or private. ... is the absolute most general route there is for a machine. ... In a correctly configured system when you define an interface, ...
      (freebsd-questions)
    • Equal cost paths from separate OSPF Processes
      ... the network statements are valid in all OSPF processes. ... interface Serial0.300 point-to-point ... router#sh ip route ospf ... connected, includes subnets in redistribution ...
      (comp.dcom.sys.cisco)
    • kludgily solved: bridge with access on both interfaces
      ... address on each interface that is only accessible ... from its own interface side of the bridge - which is actually what we ... there are some checks in the ARP code ... wound up having better luck with route, though it was still a struggle ...
      (freebsd-net)