2 NIC's on same network, possible?

From: Vineet Mehta (vineet_at_linux.com.kw)
Date: 07/27/03

  • Next message: Ansgar Wiechers: "SCO vs. Linux Users (Was: Microsoft Liability for vulnerabilities)"
    To: security-basics@securityfocus.com
    Date: 27 Jul 2003 09:49:10 +0300
    
    
    

    Hi all,

    My collegue has a Linux machine which has 2 NIC's on it. What he did was
    assign the IP's 192.168.0.6/24 and 192.168.0.7/24 to the NIC's. And he
    was trying to ping the network but was getting errors (i dont know the
    errors).

                   -----------------
                  | Switch |
                  |_________________|
                    | |
                    | |
                    | |
              -------------------------------
              | NIC1 NIC2 |
              |192.168.0.6/24 192.168.0.7/24|
              | Machine |
              |-----------------------------|

    I tried explaining him like this:->

    Configuring the machine's network like this is not a big problem, coz
    other machines on the network can still see these 2 IP's. But his
    machine will not be able to reach other machines on the network coz 2
    NIC's point to the same network so Linux kernel would be confused for
    which NIC to use to send packets. If by any means we set the route to
    use ANY one NIC to reach the network then there will be no errors.

    Am i right in this, or this is not possible AT ALL? I took my thought
    from the concept of IP Aliasing.

    Thanks in advance for any help.

    Regards,

    -- 
    Vineet Mehta
    Network Security Consultant
    Kuwait Linux Company
    Kuwait
    Ph-2412552/2463633
    <vineet [at] linux [dot] com [dot] kw>
    www.linux.com.kw
    
    



  • Next message: Ansgar Wiechers: "SCO vs. Linux Users (Was: Microsoft Liability for vulnerabilities)"

    Relevant Pages

    • Re: Is my system secure? What else should I do?
      ... > network functionality for my computing activities (browsing, ... My network shows No presence to the outside world, ... browsing and open for secure browsing. ... Linux is no longer protecting the other computers/devices on your local ...
      (comp.os.linux.security)
    • Re: LONWorks vs. Ethernet
      ... >Linux PC, which also sends signals back to open and close the relays. ... >and how much the chips, transceivers, and external components cost ... >it's far too sensitive to wiring imperfections, and the network ... The AVR is a far superior device to the Neuron chip as far performance ...
      (comp.arch.embedded)
    • Re: OT: Computer stuff
      ... running five home computers and admin nine more at the local library). ... I know for a fact that there is an anti-virus program available for Linux. ... It says it does not support power management under SMP as the kernel loads. ... I have taught Network+, and A+. ...
      (alt.support.diabetes)
    • Re: setting computer name
      ... If your network interfaces use DHCP, you can configure the DHCP server ... > however it did not have 'multi on', which I saw as being needed according to the Linux how-to help guides. ... > on how to install gcc 2.95.3 on Linux. ...
      (Fedora)
    • Re: Anyone Networking there ?
      ... Could anyone out there help me getting my network to run. ... I am new to Linux and NOT a troll!!! ... it runs in a dual boot with an old Windows and my Windows ... Now add your users to Samba. ...
      (alt.os.linux.suse)