Routing help, a little more advanced than most howtos
Linux - NetworkingThis 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.
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.
Routing help, a little more advanced than most howtos
Hi,
I just moved into a new place, and we have a new wireless network. I was hoping to purchase a device, like a linksys WET, attach it to a switch and then connect any computers I wanted into the switch, wired. However, a friend gave me a free linksys PCI card.. When youre a student, you cant turn down free. Especially not when your OS should let you route traffic via that interface. I have a desktop with a wireless PCI card that I got working wonderfully under slackware 10.0 using ndiswrappers, and a realtek NIC. I have a switch and miscellaneous LAN cabling. I was hoping to use my desktop to route traffic from the realtek NIC to the Internet via the wireless adapter...
So:
Incoming traffic on realtek NIC (eth0: 10.0.0.1) -> wireless interface (wlan0: dhcp 192.168.1.101, gw 192.168.1.1) -> Router -> Internet.
This will save money, no new wireless card needed, and I have no problem being 'tethered' to my desk.
I am running slackware 10.0 kernel 2.4.26. I have read a number of howtos that will do routing for my device, using route, and other solutions using ipchains (which i believe was 2.2). Any help would be greatly appreciated...
Re: Routing help, a little more advanced than most howtos
Quote:
Originally posted by thebudbottle
Hi,
I just moved into a new place, and we have a new wireless network. I was hoping to purchase a device, like a linksys WET, attach it to a switch and then connect any computers I wanted into the switch, wired. However, a friend gave me a free linksys PCI card.. When youre a student, you cant turn down free. Especially not when your OS should let you route traffic via that interface. I have a desktop with a wireless PCI card that I got working wonderfully under slackware 10.0 using ndiswrappers, and a realtek NIC. I have a switch and miscellaneous LAN cabling. I was hoping to use my desktop to route traffic from the realtek NIC to the Internet via the wireless adapter...
So:
Incoming traffic on realtek NIC (eth0: 10.0.0.1) -> wireless interface (wlan0: dhcp 192.168.1.101, gw 192.168.1.1) -> Router -> Internet.
This will save money, no new wireless card needed, and I have no problem being 'tethered' to my desk.
ok so sounds like you need iptables - check the howto's at www.netfilter.org
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.