LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Routing help, a little more advanced than most howtos (http://www.linuxquestions.org/questions/linux-networking-3/routing-help-a-little-more-advanced-than-most-howtos-236973/)

thebudbottle 09-30-2004 02:51 AM

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...

Chris

Sutekh 10-01-2004 08:14 PM

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


All times are GMT -5. The time now is 07:44 PM.