LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 09-30-2004, 02:51 AM   #1
thebudbottle
LQ Newbie
 
Registered: Sep 2004
Posts: 12

Rep: Reputation: 0
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
 
Old 10-01-2004, 08:14 PM   #2
Sutekh
Member
 
Registered: Apr 2002
Location: Melbourne, Australia
Distribution: Gentoo
Posts: 273

Rep: Reputation: 30
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Advanced routing across multiple WAN links ? michaelsanford Linux - Networking 1 06-28-2005 09:23 PM
Advanced Networking - Multiple gateways, routing question/shorewall micaheli Linux - Networking 2 09-30-2004 12:05 AM
Advanced Routing Problem sirrus_linux Linux - Networking 6 09-22-2004 05:41 AM
Advanced routing questions ivanatora Linux - Networking 3 10-23-2003 04:01 AM
Advanced Routing bakerv3 Linux - Networking 3 01-24-2003 06:54 AM


All times are GMT -5. The time now is 03:22 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration