Slackware 10: Router: Using 2 Nics, 1 Wireless: Question relates to Bridging

Posted on 2004-11-11
Last Modified: 2013-12-05
I have a linux box with 2 Nics, and a wireless card.  All are detecting and working just fine.

Here is a diagram of my setup.  eth0 will recieve an IP via DHCP from my ISP.  ath0 and eth1 will contain my internal IP scheme (  Because they are both two seperated physically, I will need to bridge them. (I am thinking of this as it is like any typical OTS d-link router you would buy that has wireless and ports all on the same subnet)

            Linux Box
           |           | ath0 (wireless)
 eth0    |           |------------------------
 --------|           |
           |           | eth1
           |           |--------------------------

In my /etc/rc.d/rc.inet1 file, I created this myself and it all comes up alright.

dhcpcd eth0
ifconfig eth1 netmask
ifconfig ath0 netmask

Not exactly sure how to proceed with bridging eth1 and ath0 at this point.  I have a feeling that it will need to take place with NAT?  Any suggestions?
Question by:sbreen
    LVL 7

    Accepted Solution

    Take a look at

    This will sort you out for "MASQ" firewalling.  It's a piece of cake to install
    LVL 7

    Expert Comment

    But that only easily works with 2 NICs - still investigating the bridging bit - can't you use different subnets internally instead?
    LVL 7

    Expert Comment

    LVL 7

    Expert Comment


    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    In order for businesses to be compliant with certain information security laws in some countries, you need to be able to prove that a user (which user it was becomes important to the business to take action against the user after an event has occurr…
    The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
    Internet Business Fax to Email Made Easy - With eFax Corporate (, you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
    Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

    734 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now