Results 1 to 6 of 6

Thread: Configuring Two Nics

  1. #1

    Configuring Two Nics

    Hey all, finally got my machine back up and running. :P

    Here is what I would like to do and what I have to do it with.

    I have two NICs plugged into my Linksys BEFSR41 router.
    Each of these NICs has a static ip assigned 192.168.1.XXX

    I would like to only allow incoming data on a specific NIC. Say I want it to allow ports 2000-6000 on 192.168.1.100 along with 8080 and all the other ports for email, ntp etc.

    The other NIC I would like to have available for when I want to use the web, ping or traceroute stuff.

    How do I set this up and can it actually do this?

    My goal is to while still sharing the same bandwidth (Cable) to have the appearance of being faster for when I use it. Also allowing me access without having to wait for an open slot on the other NIC.

    Am I smoking the wrong pipe again?

    Ras

  2. #2

    Re:Configuring Two Nics

    I must have asked the dumbest question


    * BUMP *

  3. #3
    Senior Member
    Join Date
    May 2001
    Posts
    472

    Re:Configuring Two Nics

    Wrong pipe. Use 1 nic to connect to cable, one for internal network, and share via a firewall/NAT/Masq setup (I use gShield muse.linuxmafia.org).

  4. #4
    Moderator
    Good Guru
    Compunuts's Avatar
    Join Date
    May 2001
    Location
    California
    Posts
    3,935

    Re:Configuring Two Nics

    [quote author=Rastar link=board=4;threadid=6516;start=0#61343 date=1046886438]
    I would like to only allow incoming data on a specific NIC. Say I want it to allow ports 2000-6000 on 192.168.1.100 along with 8080 and all the other ports for email, ntp etc.
    [/quote]
    A firewall can do this job easily.
    The other NIC I would like to have available for when I want to use the web, ping or traceroute stuff.

    How do I set this up and can it actually do this?
    I don't think you will be able to specify which program use which NIC. It has to be set by default gateway and it's all or nothing. BUT if you firewall off the first NIC from Internal, then you will have specific stuff using the first NIC and the rest will go to the second NIC if you have both gateways set up.

    My goal is to while still sharing the same bandwidth (Cable) to have the appearance of being faster for when I use it. Also allowing me access without having to wait for an open slot on the other NIC.
    I don't think it's the case. There is no need for a NIC to wait for the open slot. The speed of processing of a NIC is much more faster than the speed of your Cable modem or the bandwidth. Since many NICs can handle at least 10 MB/s while many can do 100MB or even 1GB while your Cable bandwidth is only 1.5 MB max. Even if you have two NICs, your ability and bottleneck is at your Cable bandwidth than at your NIC's.

    Am I smoking the wrong pipe again?
    You are reaching for the wrong pipe. :P

  5. #5

    Re:Configuring Two Nics

    I don't think you are going to be able to achieve what you want by load balancing between two nics. No matter what you do, you are still going to be limited to the total bandwidth of your connection. I have seen some commercial firewalls provide load balancing, but it was across seperate WAN links.

  6. #6
    Senior Member
    Join Date
    May 2001
    Posts
    345

    Re:Configuring Two Nics

    You don't want to use two nics. You want to use QoS! You can limit how much bandwidth to use for what, give different bandwidth different priorities, etc, etc.. Sounds like you want to run a server but not have it overrun everything? Just lower that traffic's priority. It can get quite complex, all that you can do. There is a howto at lartc.org

Similar Threads

  1. Routing between two NICS on the same subnet.
    By pwatk in forum Linux - Hardware, Networking & Security
    Replies: 0
    Last Post: 08-03-2010, 09:30 AM
  2. Multiple NICs on ubuntu 8.10
    By ramon82 in forum Linux - Hardware, Networking & Security
    Replies: 3
    Last Post: 12-20-2008, 04:41 AM
  3. 3 NICs
    By elovkoff in forum Linux - General Topics
    Replies: 0
    Last Post: 03-25-2003, 08:37 PM
  4. 2 NICs
    By elovkoff in forum Linux - Hardware, Networking & Security
    Replies: 4
    Last Post: 03-03-2002, 12:39 AM
  5. Cnet Pro 200B Nics?
    By airhead in forum Linux - Hardware, Networking & Security
    Replies: 2
    Last Post: 01-28-2002, 05:40 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •