Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
06-29-2001, 01:18 PM
|
#1
|
LQ Newbie
Registered: Jun 2001
Location: Rolla, MO
Distribution: Red Hat
Posts: 2
Rep:
|
networking, in general
Here is my setup:
I have a laptop running Red Hat 7 using a wireless ethernet card (802.11b) in ad hoc mode. It connects to a desktop computer (RH6.2) with the same type of wireless card. The desktop also has a regular ethernet card connected to a switch to the outside world. There are other devices on the switch. I can get the desktop and laptop to talk to each other, but I can't get the laptop to communicate to the other devices on the switch via the linux desktop computer. They all are part of the same network, so they all have the same network ip.
Is it possible for the laptop to communicate to these other devices even though they have the same network ip? I've been playing with the routing tables and reading up on networking, but I believe that the stuff on the switch including ethernet card part of the 6.2 system should have a different network ip for the proper routing to take place.
Any help would be appreciated. If you need any additional info, I can probably provide it.
|
|
|
06-29-2001, 01:30 PM
|
#2
|
Senior Member
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243
Rep:
|
Uhm... I would be tempted to put the wireless cards on their own subnet, then make your desktop machine route between its two interfaces and set it as the default gateway for your laptop.
Either that or I think this is where you would use a bridge... although I have no experience of them myself. Have a look at http://www.linuxdoc.org/HOWTO/BRIDGE...WTO/index.html it might hold some answers for you.
good luck!
Jamie...
|
|
|
07-02-2001, 07:37 AM
|
#3
|
LQ Newbie
Registered: Jun 2001
Location: Rolla, MO
Distribution: Red Hat
Posts: 2
Original Poster
Rep:
|
I don't think I want to mess around with bridges. I don't think this is what I'm looking for. I'll try putting the wireless devices on a different subnet. Is there anything anything special I have to do on the desktop computer to make it do the routing from the wireless interface to the wired interface?
Any other suggestions?
|
|
|
07-02-2001, 07:51 AM
|
#4
|
Senior Member
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243
Rep:
|
I think you'll just be able to get away with
Code:
echo 1 > /proc/sys/net/ipv4/ip_forward
and then setting it as the default gateway.
HTH
Jamie...
|
|
|
All times are GMT -5. The time now is 06:38 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|