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.
SDN 101: An Introduction to Software Defined Networking
Discover the advantages of SDN.
SDN has quickly become one of the hottest trends in IT. But not all SDN solutions offer real software-defined functionality. As more enterprises consider SDN, they want to know, “What is SDN? And what are the real benefits?” If you're ready to explore the advantages of SDN, and want to know how it should be implemented within your enterprise, start by reading our introductory white paper.
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.