Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 01-21-2005, 05:44 PM   #1
LQ Newbie
Registered: Jan 2005
Posts: 7

Rep: Reputation: 0
Have Linux act as a network switch

Hi All,

I have a very small and must be energy efficient Geode that has a Realtek Ethernet port and and Cisco Aironet port.

The LAN port is connected to a single device, a Cisco ATA188 phone adapter.

The Aironet connects the geode to the Internet through a NAT router on the other end of the RF link.

I would prefer not setting up complicated route tables to get from the NAT router to the ATA188, so I was hoping there is just a simple switch daemon that I can use to route all the traffic to/from the ATA 188 through the geode out to the Aironet, all 3 devices living on the same subnet.

Any Suggestions?

Gerard J. Cerchio
for the Jhai Foundation
Old 01-21-2005, 05:55 PM   #2
LQ Newbie
Registered: Jan 2005
Posts: 7

Original Poster
Rep: Reputation: 0

Kick me in the head, it's call a bridge...

Old 01-21-2005, 11:57 PM   #3
Registered: May 2004
Location: USA
Distribution: #1 PCLinuxOS -- for laughs -> Ubuntu, Suse, Mepis
Posts: 315

Rep: Reputation: 31
no .. this won't work .. your TA is not going to work connected through some computer .. unless the computer acts as a DHCP server and
gateway for it ..
DHCP server is possible on unix box .. so is simple routing .. but I don't think your TA would like that .. it probably wants to preference over
your lan communication and will probably loose sync all night long ..
Old 01-30-2005, 04:38 PM   #4
LQ Newbie
Registered: Jan 2005
Posts: 7

Original Poster
Rep: Reputation: 0
More stuff on this configuration

Thanks for the response winsnomore. I use only static IP's so DHCP is not a problem.

I shall share with you my success so far...

1. I did not place the Geode into bridge mode, the Aironet did not like to mangle the MAC address SO I enabled poxy_arp on both sides of the connection and added a route to the the ATA in the Geode and bingo, complete contact.

2. I am now able to get dial tone and dial out through the Geode through the NAT box to the Cisco gateway.

3. I cannot get a call into ATA even though the ATA is registered with the Cisco gateway. I set the media port in the NAT box to redirect to the the ATA.

So my new questions are:

What ports beside the media port must be punched through the fire wall?
Did I punch the hole correctly?
Do I need another iptables command to allow connections in?

right now I use:

iptables -t nat -A PREROUTING -d --dport 1638r -p udp -j DNAT --to-dest

where: is the single IP address I have on the Internet is the NAT ip of the ATA188
16384 is the ATA media port




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
Zoom modem/switch & linux<->linux network: DHCP / Static ? tredegar Linux - Networking 8 11-11-2007 03:41 AM
how do I configure Linux to act as a general firewall? jroberts256 Linux - Security 1 02-20-2005 12:50 PM
using ACT! with Linux Randy C Linux - Newbie 2 09-30-2004 10:44 AM
ACT! Database to Linux - Can it be done? sugar05 Linux - General 0 08-29-2004 06:21 AM
Put linux to act as an router little_ball Linux - Networking 1 01-30-2004 11:10 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:42 AM.

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