LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-20-2004, 11:48 AM   #1
kragbax
LQ Newbie
 
Registered: Jun 2003
Location: MN
Distribution: Fedora Core 2
Posts: 18

Rep: Reputation: 0
Bridging ath0 to eth1


How would I go about bridging my wireless connection from ath0 to the rest of the network and the internet while maintaining the firewall protection?

ath0 is the wireless
ppp0 is the PPPoE internet connection
eth1 is the internal network

I'm using IPTABLES on Kernel 2.6.9-5 for the firewall.
 
Old 12-20-2004, 12:47 PM   #2
sigsegv
Senior Member
 
Registered: Nov 2004
Location: Third rock from the Sun
Distribution: NetBSD-2, FreeBSD-5.4, OpenBSD-3.[67], RHEL[34], OSX 10.4.1
Posts: 1,197

Rep: Reputation: 47
Google is your friend
 
Old 12-20-2004, 01:56 PM   #3
kragbax
LQ Newbie
 
Registered: Jun 2003
Location: MN
Distribution: Fedora Core 2
Posts: 18

Original Poster
Rep: Reputation: 0
That makes it sound like both ath0 and eth1 will have no IP address which would kill internet access on the rest of the network. If that is the case couldn't I stick an extra NIC so it would go something like...

ath0 -> eth1 -> switch -> eth2 -> Squid/IPTables -> ppp0.
 
Old 12-20-2004, 03:32 PM   #4
sigsegv
Senior Member
 
Registered: Nov 2004
Location: Third rock from the Sun
Distribution: NetBSD-2, FreeBSD-5.4, OpenBSD-3.[67], RHEL[34], OSX 10.4.1
Posts: 1,197

Rep: Reputation: 47
It does?

Quote:
Optionally you can configure the virtual interface mybridge to take part in your network. It behaves like one interface (like a normal network card). Exactly that way you configure it, replacing the previous command with something like:
# ifconfig mybridge 192.168.100.5 netmask 255.255.255.0 up
 
Old 12-21-2004, 10:40 AM   #5
kragbax
LQ Newbie
 
Registered: Jun 2003
Location: MN
Distribution: Fedora Core 2
Posts: 18

Original Poster
Rep: Reputation: 0
Those commands killed all connectivity. I put in ath0 and eth1 but it didn't work so I had to undo all the brctl commands.
 
Old 12-22-2004, 01:44 PM   #6
kragbax
LQ Newbie
 
Registered: Jun 2003
Location: MN
Distribution: Fedora Core 2
Posts: 18

Original Poster
Rep: Reputation: 0
up
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
cannot activate eth1 using ifup or using ifcfg-eth1 akay Linux - Hardware 10 12-16-2010 05:10 AM
Help! ath0 problem choboNO1 Linux - Hardware 4 01-26-2005 05:27 PM
ath0 is not present icpsvt Linux - Wireless Networking 1 10-18-2004 02:24 AM
eth1 added, mysql connections FROM this machine are from eth1. Need bound to eth0??? kreese Linux - Networking 9 03-31-2004 12:12 PM
Kernel 2.4.22 finds eth0 and eth1 but 2.6.0 does not find eth1 coollink Linux - Networking 3 01-13-2004 07:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration