Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Adding 3rd NIC to router


    I have the obvious two nics:

    eth0 - My WAN nic
    eth1 - my LAN nic

    I added a 3rd, eth2. The point of the nic is so I can have a second box on my network (I don't have a switch). The nic comes up fine, but I need to know how to configure it. Does this nic need to use dhcp and obtain an address from eth1?

    This is what my config looks like

    In rc.local I have:

    /sbin/dhcpcd eth0
    /usr/sbin/dhcpd eth1

    For some reason I can't get eth0 to obtain an IP from my ISP without that entry, and dhcpd on eth1 is obviously mandatory.

    My rc.inet1.conf file shows eth0 as using dhcp, and eth1, being my router nic, is configured with an IP 192.168.1.100

    Does eth2 just automatically pass traffic along to my second machine, or do I need to configure it somehow to do so?

  2. #2
    By the way, I run Slackware 10.1 and kernel 2.6.12.3

  3. #3
    I bridged eth1 and 2 together and all is well.

    SOLVED.

  4. $spacer_open
    $spacer_close

Posting Permissions

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