Re: Problems getting 2 NICs to work.

From: Tom 'Needs A Hat' Mitchell (mitch48_at_sbcglobal.net)
Date: 05/19/04

  • Next message: William R. Lorenz: "Updated Samba Packages for Fedora Core 2 [unofficial]"
    Date: Wed, 19 May 2004 11:36:54 -0700
    To: For users of Fedora Core releases <fedora-list@redhat.com>
    
    

    On Tue, May 18, 2004 at 10:11:18AM -0600, Eric Diamond wrote:
    > Tuesday, May 18, 2004 9:07 AM Kevin Kimmell replied:
    ....
    > > All of the switches on my public network share the traffic of both
    > > ranges. Therefor that same eth port on the linux box is
    > > plugged in to a switch that has direct access to both ranges.
    >
    > The physical network (wires/switches) in this case has nothing to do
    > with the why the logical network (IP) is working....
    ....

    > 1) Gateway statements define default routes. In general multihomed
    > machines don't like default routes. A default route is, by definition, a
    > singular entity. THERE CAN BE ONLY ONE! That kind of cramps the style of
    > most multihomed implmentations.

    This is an important point.

    Some multihomed systems would do well to publish a host route in many
    but not all situations. Most people expect routing to center on a
    hostname when it is the interfaces that have names. Host routes can
    help clear up confusion here.

    If you have two links with vastly different speeds it can be valuable
    to set the default route to the fast line. This however does nothing
    for incoming packets.

    > For routers/gateways, a default route on the external interface is OK,
    > but still be careful. For a multihomed server, in either fault-tolerant,
    > load balanced or bandwidth intensive configurations, default routes
    > defeat the purpose of creating the multiple connections.
    >
    > Static routes are a much better solution.

    Sort of, static routes can break things as quickly as they can fix
    things. If you can run a routing daemon a number of things can heal
    themselves. The decision to run a daemon and what daemon depends
    mostly on what your network neighbors are doing. It is important to
    know that routing daemons can be setup to only listen. If the system
    is running routed check the contents of the optional config file
    /etc/gateways. If running another routing tool (zebra, etc, RTFM).

    > > ...
    > > DEVICE=eth0
    > > HWADDR=00:0E:7F:37:5B:53
    > >
    > > [root@dtweb02 network-scripts]# cat ifcfg-eth01
    > > ...
    > > HWADDR=00:0C:72:30:52:53
    >
    > Your interface configs are for the same physical device.

    For the most part specifying the hardware address is bad style. The
    ideal situation is where the driver discovers the hardware address
    from the hardware. Things can break badly if you inadvertently
    duplicate MAC addresses. Switches get very confused....

    Yes keep track of the MAC addresses you have and use, some ISPs use the
    MAC address as sort of a passwd to connect. If you have to replace
    hardware and your ISP has locked you to the old hardware address you
    can use this functionality to get reconnected.

    > >From your earlier posting
    >
    > > 4: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 1000
    > > link/ether 00:0e:7f:30:52:53 brd ff:ff:ff:ff:ff:ff
    > > inet 12.168.88.12/24 brd 12.168.88.255 scope global eth0
    > > inet 204.117.218.12/24 brd 204.117.218.255 scope global eth0
    > > 5: eth1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop qlen 1000
    > > link/ether 00:0e:7f:30:52:52 brd ff:ff:ff:ff:ff:ff
    >
    > You can see that eth1 should have hardware address 00:0e:7f:30:52:52.
    >
    > Change that in ifcfg-eth1... Oops, you posted ifcfg-eth01. Check the
    > hardware address in ifcfg-eth1 to make sure it's set to the :52 address.
    > If it's not, then please post that.

    Check all the links to your config files. ifcfg-eth0 could have three
    locations the way I do.

        $ locate ifcfg-eth0
        /etc/sysconfig/network-scripts/ifcfg-eth0
        /etc/sysconfig/networking/devices/ifcfg-eth0
        /etc/sysconfig/networking/profiles/default/ifcfg-eth0

    On my FC1 box these are all at the same file/inode (link count =3). I
    dislike tools that cannot decide on the one true location for a config
    file.... ;-( and no I have no idea why I have three. Anyhow for those
    that hand edit files make sure that all the links have matching content.
    Different editors manage linked files differently be cautious.

    -- 
    	T o m  M i t c h e l l 
    	/dev/null the ultimate in secure storage.
    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: William R. Lorenz: "Updated Samba Packages for Fedora Core 2 [unofficial]"

    Relevant Pages

    • RE: Problems getting 2 NICs to work.
      ... > Below are the contents of the config files. ... The physical network in this case has nothing to do ... Running both class C's on the same interface is likewise not optimal, ... Gateway statements define default routes. ...
      (Fedora)
    • Re: Redist. OSPF into BGP -- matching and prepending
      ... St. Customer has its own OSPF network which connects the two. ... All CE routers in our MPLS network run using a private AS (same on all in a region, but we have ASN override configured at the PERs so that one CE can see the routes originated by another) and the core runs a public AS. ... So the idea is, we want the WAN link for 10 Main to be the preferred path for "10" routes and 20 Main to be the preferred route for "20" routes, but if either link goes down we want failover. ... match tag and set both community and local-pref (community is ...
      (comp.dcom.sys.cisco)
    • Re: Routing problems
      ... addresses on all machines on our network, ... avoid setting up static routing on every machine on the network (which would ... Here's the routes in our local Sprint router ...
      (comp.os.linux.networking)
    • Re: [Full-disclosure] Vista Reduced Function mode triggered
      ... video (which I still am not able to do in any video player except WMP for ... It didn't help the video but I quickly found network ... directly after removing the routes, there wasn't but a few minutes between ... software licensing service since it claims disabling that service will ...
      (Full-Disclosure)
    • Re: Help requested with RIPv1 lan issues (UK school)
      ... >> school network. ... The event log on the clients indicate ... > Yet then you go on to discuss RIP, static routes on clients etc. ... > You say you have static routes on the clients to the 192.168.2.x subnet. ...
      (microsoft.public.windowsxp.network_web)