Re: NIC Selection

From: Martin Stone (martin.stone_at_db.com)
Date: 04/30/04

  • Next message: Alexander Dalloz: "Re: NIC Selection"
    Date: Fri, 30 Apr 2004 11:17:12 -0400
    To: For users of Fedora Core releases <fedora-list@redhat.com>
    
    

    Whoa, I just realized that I totally misread your question! Sorry if i insulted
    you with newbie info. I have no idea how the kernel would select an interface
    if both were on the same network.

    Sorry, *duh*, I'll go drink some more coffee now...

    Martin

    Martin Stone wrote:
    > That's not taken care of by Mozilla, rather by your routing setup.
    > Check out the output of:
    >
    > netstat -nr
    >
    > That's your routing table. By default, when an interface comes up on an
    > IP, an interface route is added through that interface for that IP
    > network - so if your eth0 came up on 10.0.1.2/24, you'd see a route in
    > there for 10.0.1.0/24 through eth0 - then there is the default (0.0.0.0)
    > route. That's usually the route that matches any network that is not
    > directly connected. So if you had a default route through say 10.0.1.1,
    > your internet traffic would want to be routed thru 10.0.1.1 - to get to
    > 10.0.1.1, IP knows that it has to use eth0, so the traffic goes out eth0
    > destined for 10.0.1.1.
    >
    > Or maybe you're just asking about where the NIC's get configured? That
    > info is in /etc/sysconfig/network-scripts - check out ifcfg-* in that
    > directory. Also, your default route is set by the GATEWAY entry in
    > /etc/sysconfig/network.
    >
    > Hope this helps!
    > Martin
    >
    >
    > Timothy J. Miller wrote:
    >
    >> When a system has 2 network cards that are on the same network,
    >> how does FC1 select which NIC to use? By that I mean, Mozilla starts up,
    >> what causes it to use one card, say eth1 over eth0? Anyone know?
    >>
    >> Thanks
    >>
    >> - Tim
    >>
    >>
    >
    >
    >

    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: Alexander Dalloz: "Re: NIC Selection"

    Relevant Pages

    • 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)
    • Re: 2 Subnets on 1 Lan
      ... # Now add a route if you need it. ... have to add a route on any other machine in the 10.10.10.x network ... why not use the standard network configuration setup instead ... interface by using the route-eth0 form. ...
      (Fedora)
    • Re: [ubuntu-za] network problem
      ... i was having troble with my network, but i could conect to the ... when i rebooted i could not connect to the internet:< ... You can type "route" at the ... I think) to see which interface is used to send information out. ...
      (Debian-User)
    • Re: [ubuntu-za] network problem
      ... i was having troble with my network, but i could conect to the ... when i rebooted i could not connect to the internet:< ... You can type "route" at the ... I think) to see which interface is used to send information out. ...
      (Ubuntu)
    • Re: modem hang up after connection..
      ... >> I suspect local Ethernet interface cause some problem. ... > The route just above is a default route though tap0, ... I know little about the tap0 interface except that it ... > or be used for network experimenting. ...
      (comp.os.linux.networking)