LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 07-24-2003, 06:25 AM   #1
puppetmaster
LQ Newbie
 
Registered: Jul 2003
Location: Germany
Distribution: Redhat 8.0
Posts: 2

Rep: Reputation: 0
Question routing between wireless and ethernet


I have an Ethernet LAN consists of 2 PC's (RH6.2 & RH8.0) and a Laptop (Win2000). I want to connect another PC (Win2000) to the LAN over wireless. To do this i have bought 2 PCI-WLAN Cards which are installed and configured right so far. I don't want to use any Access-Point or Wireless-Router hardware, so I plugged one card into the RH8-Box and running it with hostAP in Ad-Hoc Mode. My ethernet-LAN is 192.168.0.0 and my wireless-LAN is 192.168.1.0. The RH8-Box should act as a gateway from wireless to Ethernet, so it has a ethernet-card(eth0) with 192.168.0.2 and a wireless(wlan0) with 192.168.1.1. On my new Windows-Box which I would connect to the LAN over wireless i have an IP 192.168.1.2 and a default gateway to 192.168.1.1. When I ping from 192.168.1.2 to 192.168.1.1 it is OK, even so when I ping to 192.168.0.2 (which is the same box but other interface). Hence my connection to the RH8-Gateway is OK. But when i want to reach(ping) other hosts in the ethernet-LAN, e.g. 192.168.0.3 or 192.168.0.1 those are unreachable. I have tried several things with the static routing-table on my gateway(192.168.1.1-192.168.0.2) which looks currently like follows:
Dest. | Gateway | Netmask | Device
127.0.0.0 | 0.0.0.0 | 255.0.0.0 | lo
192.168.1.0 | 0.0.0.0 | 255.255.255.0 | wlan0
192.168.0.0 | 0.0.0.0 | 255.255.255.0 | eth0

On one of my other Linux-Ethernet-Boxes i have added a route
192.168.1.0 | 192.168.1.1 | 255.255.255.0 | eth0
to forward requests to 192.168.1.0-LAN to Gateway 192.168.1.1.

My general question is: Do I need any router-software (e.g. routed) running on my RH8-Gateway to achieve wireless-to-ethenet-routing? I am also aware of the possibility of ethernet-bridging, but don't want to try this.

Hope things aren't to fuzzy, and clear to understand. Hope also I haven't forgotten something.

so far .... puppetmaster
 
Old 07-24-2003, 07:22 PM   #2
puppetmaster
LQ Newbie
 
Registered: Jul 2003
Location: Germany
Distribution: Redhat 8.0
Posts: 2

Original Poster
Rep: Reputation: 0
Angry

Ok, I solved th problem by myself .... thanks for your help so far

just enable ip_forwarding on the gateway ....
 
  


Reply



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
Wireless-2-wired routing question dolvmin Linux - Wireless Networking 1 11-06-2005 11:31 AM
Routing between a wired ethernet (internet connection) and a wireless card (home net) ner0 Linux - Wireless Networking 8 11-29-2004 01:12 AM
Wireless Routing to laptop optix Linux - Wireless Networking 10 02-29-2004 09:28 PM
wireless routing problem nostrings Linux - Wireless Networking 2 12-01-2002 11:26 AM
Wireless/Routing question gfk60 Linux - Wireless Networking 1 08-05-2002 06:25 AM

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

All times are GMT -5. The time now is 02:27 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