Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Currently I have a Linksys router, and I have a computer connected wirelessly to the router (Computer1). What I would like to do is connect Computer2 to Computer1 via ethernet cord, and basically just have Computer send the information to the router and send the recieved information to Computer2.
Not sure if it helps, but the wireless computer is currently running Slackware.
Using iptables and ip_forwarding I have been able to send the information from Computer2 to the Router, however I have come across a problem:
When Computer2 tries to resolve the DNS server, the router sends out a broadcast message asking who is (ip address Computer2). The rules I set for iptables on Computer1 forward the packets to Computer2 if the destination is Computer2's ip address, however the broadcast message doesn't specify an ip address and I am unsure how I would go about to solve this.
Should I just set up Computer1 to forward all broadcasted packets to Computer2? Any tips or help would be greatly appreciated as I am fairly new to iptables, and have never really attempted this sort of thing before.
presumably this "broadcast message" is an arp? in which case if you are *routing* through the middle box then the config is wrong, as you'd have an address on a different subnet, so it wouldn't be broadcasted for via arp, but routed instead. do you have different networks on either side of the box, and a route on the router pointing back to the middle box for the networks behind it?
that's a bridge, not a router. you can use the bridge module to take, for example, eth0 and eth1 and make a single br0 interface which will bridge (switch) the traffic through it as well as using it as a local interface.