[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

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

Posted on 2004-11-11
6
Medium Priority
?
381 Views
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 (10.234.1.10)  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 10.234.1.10 netmask 255.255.255.0
ifconfig ath0 10.234.1.10 netmask 255.255.255.0

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?
0
Comment
Question by:sbreen
  • 4
4 Comments
 
LVL 7

Accepted Solution

by:
wesbird earned 2000 total points
ID: 12558853
Take a look at http://www.unixpages.com/hls

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

Expert Comment

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

Expert Comment

by:wesbird
ID: 12558930
0
 
LVL 7

Expert Comment

by:wesbird
ID: 12558970
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
This article will show you step-by-step instructions to build your own NTP CentOS server.  The network diagram shows the best practice to setup the NTP server farm for redundancy.  This article also serves as your NTP server documentation.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Suggested Courses

834 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