Re: disabling ethernet loopback device completely

From: Alexei Chetroi (debian_at_lexa.uniflux-line.net)
Date: 02/11/05

  • Next message: Terje Fåberg: "Re: Acoustic management with SATA?"
    Date: Fri, 11 Feb 2005 10:18:17 +0200
    To: salman h <salman_debian@yahoo.com>
    
    

    On Thu, Feb 10, 2005 at 11:12:46AM -0800, salman h wrote:
    > Date: Thu, 10 Feb 2005 11:12:46 -0800 (PST)
    > From: salman h <salman_debian@yahoo.com>
    > To: Debian Linux Distro Users Discussion <debian-user@lists.debian.org>
    > Subject: Re: disabling ethernet loopback device completely
    >
     [ Snip ]
    >
    > Robert, let me try and explain the real reason I'm
    > trying to do this.
    >
    > We're shipping computer system with debian
    > pre-installed on it. We always want 'eth0' to be the
    > motherboard's NIC. And "eth1" and "eth2" to on be the
    > Dual NIC pci card. Well, this isn't always the case,
    > as you may or may not know, because which alias gets
    > assigned to which MAC addr depends on how the kernel
    > modules come up. (This the same problem where people
     
     Just a suggestion: Have you tried to use mapping based on mac address
    like suggested in /usr/share/doc/ifupdown/examples/network-interfaces.gz
    Something like this:
    # Two ethernet interfaces, one connected to a trusted LAN, the other to
    # the untrusted Internet, identified by MAC address rather than
    # interface
    # name:
    #
    # auto eth0 eth1
    # mapping eth0 eth1
    # script /path/to/get-mac-address.sh
    # map 11:22:33:44:55:66 lan
    # map AA:BB:CC:DD:EE:FF internet
    # iface lan inet static
    # address 192.168.42.1
    # netmask 255.255.255.0
    # pre-up /usr/local/sbin/enable-masq $IFACE
    # iface internet inet dhcp
    # pre-up /usr/local/sbin/firewall $IFACE

      Good luck!

    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Terje Fåberg: "Re: Acoustic management with SATA?"

    Relevant Pages

    • RE: ssh from public internet and firewalls
      ... key and passphrase when connecting from outside the lan. ... The MAC option will only work for local ... > If your going to be connecting from a particular subnet on the Internet, ...
      (RedHat)
    • Re: MAC address
      ... >> the context of the Internet but a wireless LAN. ... >> server and send some data to it, the server would be able to ... > has your MAC, what's it going to do with it? ... This message was sent using IMP, the Internet Messaging Program. ...
      (comp.lang.python)
    • RE: ssh from public internet and firewalls
      ... computers located on the LAN, otherwise your remote connections will use ... the MAC address from the last router hop. ... If your going to be connecting from a particular subnet on the Internet, ...
      (RedHat)
    • Re: Theoretical Discussion: Hotel WiFi Hack
      ... changing my MAC address. ... discussion to start with you wireless experts. ... They don't offer wired internet because it's an old ... Surely the router or gateway would go ...
      (alt.internet.wireless)
    • Re: Moving Exchange Server
      ... Placing them in the LAN gives internal users 100% access with no firewall to ... DMZ, thus 0% risk/ports open between them. ... If Microsoft Exchange and/or Active Directory cannot run ... >> Internet is better? ...
      (microsoft.public.exchange.setup)