Re: Multiple ethernet interfaces generated - Networking

This is a discussion on Re: Multiple ethernet interfaces generated - Networking ; This is a resumption of my previous thread. I have now installed the Mandriva Spring PowerPack. As regards the ethernet interfaces, nothing seems to have changed. At present, I am running eth0 at 192.168.1.13. Unless I apply David Hodgin's fix ...

+ Reply to Thread
Results 1 to 3 of 3

Thread: Re: Multiple ethernet interfaces generated

  1. Re: Multiple ethernet interfaces generated

    This is a resumption of my previous thread. I have now installed the
    Mandriva Spring PowerPack. As regards the ethernet interfaces, nothing
    seems to have changed. At present, I am running eth0 at 192.168.1.13.
    Unless I apply David Hodgin's fix at each logout, I have to start the next
    higher numbered interface manually. In the following, it seems that the
    service in /etc/init.d is avahi-daemon, not simply avahi, and the line in
    chkconfig --list is:

    avahi-daemon 0ff 1ff 2ff 3n 4ff 5n 6ff

    The daemon is running. No, I didn't remove the list. I don't know why it
    wasn't inserted. Would you like to see any in particular?

    Fri May 25 16:57:26 EST 2007
    ======== cat /etc/product.id ==========
    vendor=Mandriva,distribution=Mandriva
    Linux,type=Basic,version=2007.1,branch=Official,re lease=1,arch=i586,product=Powerpack
    ========
    cat /etc/lsb-release /etc/mandrakelinux-release /etc/mandrake-release /etc/mandriva-release /etc/redhat-release /etc/release
    ==========
    LSB_VERSION=lsb-3.1-ia32:lsb-3.1-noarch
    DISTRIB_ID=MandrivaLinux
    DISTRIB_RELEASE=
    DISTRIB_CODENAME=
    DISTRIB_DESCRIPTION="Mandriva Linux"
    Mandriva Linux release 2007.1 (Official) for i586
    Mandriva Linux release 2007.1 (Official) for i586
    Mandriva Linux release 2007.1 (Official) for i586
    Mandriva Linux release 2007.1 (Official) for i586
    Mandriva Linux release 2007.1 (Official) for i586
    ======== uname -rvi =============
    2.6.17-13mdv #1 SMP Fri Mar 23 19:03:31 UTC 2007 unknown
    ======== cat /etc/subversion /etc/version ==========
    cat: /etc/subversion: Is a directory
    2007.1.0 3 China
    ======== cat /proc/version ==========
    Linux version 2.6.17-13mdv (rtp@octopus.mandriva.com) (gcc version 4.1.2
    20070302 (prerelease) (4.1.2-1mdv2007.1)) #1 SMP Fri Mar 23 19:03:31 UTC
    2007
    ======== lsb_release -a ==========
    LSB Version: lsb-3.1-ia32:lsb-3.1-noarch:*
    Distributor ID: MandrivaLinux
    Description: Mandriva Linux
    Release: 2007.1
    Codename: Official

    msec security level is 2
    ======== free ==========
    total used free shared buffers cached
    Mem: 1035460 597212 438248 0 31888 315732
    -/+ buffers/cache: 249592 785868
    Swap: 8177000 0 8177000
    ======== chkconfig --list ==========
    Double check if /avahi/ that not running
    ======== grep hosts: /etc/nsswitch.conf ==========
    hosts: files nis dns
    ======== cat /etc/resolv.conf ==========
    # Dynamic resolv.conf(5) file for glibc resolver(3) generated by
    resolvconf(8)
    # DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
    nameserver 192.168.1.1
    ======== hostname ==========
    dougshost.douglaidlaw.net
    ======== grep eth /etc/mod*.conf ==========
    /etc/modprobe.conf:alias eth0 forcedeth
    ======== cat /etc/host.conf ==========
    order hosts,bind
    multi on
    ================ ifconfig -a ===============
    eth0 Link encap:Ethernet HWaddr 00:00:6C:8B:CA:4B
    inet addr:192.168.1.13 Bcast:192.168.1.255 Mask:255.255.255.0
    inet6 addr: fe80::200:6cff:fe8b:ca4b/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:635 errors:0 dropped:0 overruns:0 frame:0
    TX packets:738 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:381282 (372.3 KiB) TX bytes:94294 (92.0 KiB)
    Interrupt:20 Base address:0x2000

    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    inet6 addr: ::1/128 Scope:Host
    UP LOOPBACK RUNNING MTU:16436 Metric:1
    RX packets:3649 errors:0 dropped:0 overruns:0 frame:0
    TX packets:3649 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:496472 (484.8 KiB) TX bytes:496472 (484.8 KiB)

    sit0 Link encap:IPv6-in-IPv4
    NOARP MTU:1480 Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

    ============== route -n =================
    Kernel IP routing table
    Destination Gateway Genmask Flags Metric Ref Use
    Iface
    192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
    169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
    127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
    0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
    ======== cat /etc/sysconfig/network ==========
    NETWORKING=yes
    HOSTNAME=dougshost.douglaidlaw.net
    ============== head -15 /etc/hosts ===============
    127.0.0.1 dougshost.douglaidlaw.net dougshost localhost
    ======== cat /etc/sysconfig/network-scripts/ifcfg-eth0 ==========
    DEVICE=eth0
    BOOTPROTO=dhcp
    ONBOOT=yes
    ======== tail -18 /var/lib/dhcp/dhclient-eth0.leases ==========
    rebind 6 2007/5/26 02:48:12;
    expire 6 2007/5/26 06:24:12;
    }
    lease {
    interface "eth0";
    fixed-address 192.168.1.13;
    option subnet-mask 255.255.255.0;
    option routers 192.168.1.1;
    option dhcp-lease-time 86400;
    option dhcp-message-type 5;
    option domain-name-servers 192.168.1.1;
    option dhcp-server-identifier 192.168.1.1;
    option dhcp-renewal-time 43200;
    option dhcp-rebinding-time 73440;
    renew 5 2007/5/25 16:02:35;
    rebind 6 2007/5/26 03:11:41;
    expire 6 2007/5/26 06:47:41;
    }
    ======== tail -18 /var/lib/dhcp/dhclient-eth1.leases ==========
    lease {
    interface "eth1";
    fixed-address 192.168.1.4;
    option subnet-mask 255.255.255.0;
    option routers 192.168.1.1;
    option dhcp-lease-time 86400;
    option dhcp-message-type 5;
    option domain-name-servers 192.168.1.1;
    option dhcp-server-identifier 192.168.1.1;
    option dhcp-renewal-time 43200;
    option dhcp-rebinding-time 73440;
    renew 4 2007/5/24 23:42:59;
    rebind 5 2007/5/25 10:11:57;
    expire 5 2007/5/25 13:47:57;
    }
    ======== cat /etc/hosts.allow ==========
    #
    # hosts.allow This file describes the names of the hosts which are
    # allowed to use the local INET services, as decided
    # by the '/usr/sbin/tcpd' server.
    #

    ======== cat /etc/hosts.deny ==========
    #
    # hosts.deny This file describes the names of the hosts which are
    # *not* allowed to use the local INET services, as decided
    # by the '/usr/sbin/tcpd' server.
    #
    # The portmap line is redundant, but it is left to remind you that
    # the new secure portmap uses hosts.deny and hosts.allow. In particular
    # you should know that NFS uses portmap!

    ======= end of config/network data dump ===========

    Doug.
    --
    Life is either a daring adventure, or nothing.
    - Helen Keller



  2. Re: Multiple ethernet interfaces generated

    On Fri, 25 May 2007 17:16:53 +1000, Doug Laidlaw wrote:
    > This is a resumption of my previous thread. I have now installed the
    > Mandriva Spring PowerPack.


    Was it a clean install or was it an upgrade?


    > As regards the ethernet interfaces, nothing
    > seems to have changed. At present, I am running eth0 at 192.168.1.13.
    > Unless I apply David Hodgin's fix at each logout, I have to start the next
    > higher numbered interface manually.


    > In the following, it seems that the
    > service in /etc/init.d is avahi-daemon,


    Yes, the dump_net script is a general purpose script to run on different
    releases and different distributions and I had to use a general rule
    to see if it is running.

    > not simply avahi, and the line in
    > chkconfig --list is:
    >
    > avahi-daemon 0ff 1ff 2ff 3n 4ff 5n 6ff


    Get into the the Mandriva Control Center and remove the check mark in
    the On Boot for the avahi-daemon service.

    > The daemon is running. No, I didn't remove the list. I don't know why it
    > wasn't inserted.


    My, fault, I was souping up the script, 2007.1 Spring came out and I
    played in it for a week and I never got back to testing my changes.

    > Would you like to see any in particular?


    Yes, results from
    cat /etc/iftab

    > cat /etc/sysconfig/network
    > NETWORKING=yes
    > HOSTNAME=dougshost.douglaidlaw.net


    You can turn off IPV6 if you want.

    $ cat /etc/sysconfig/network
    NETWORKING_IPV6=no <===========
    GATEWAYDEV=eth0
    GATEWAY=192.168.2.1
    HOSTNAME=wb.home.invalid
    NEEDHOSTNAME=no
    NETWORKING=yes



    > ============== head -15 /etc/hosts ===============
    > 127.0.0.1 dougshost.douglaidlaw.net dougshost localhost


    Looks like you have a fair sized network.
    $ host douglaidlaw.net
    douglaidlaw.net has address 202.60.80.37

    NNTP-Posting-Host: 203.134.67.67

    > ======== tail -18 /var/lib/dhcp/dhclient-eth1.leases ==========


    I did not see/remember David Hodgin's fix but do a
    rm /var/lib/dhcp/dhclient-eth1.leases


  3. Re: Multiple ethernet interfaces generated

    On 25 May 2007 16:53:31 GMT, Bit Twister wrote:

    > Would you like to see any in particular?


    > Yes, results from
    > cat /etc/iftab


    and cat /etc/udev/rules.d/61-net_config.rules

+ Reply to Thread