LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 08-27-2006, 03:32 PM   #1
nbn792
Member
 
Registered: Dec 2003
Distribution: Debian
Posts: 109

Rep: Reputation: 15
noob routing help


My debian testing box is upstairs and has an installed and configured wireless ethernet card, wlan0. It also has a built in ethernet card, eth0. I want to play xbox live upstairs and would like to just run the ethernet cable from my xbox to my computers eth0... so basically i need my box to route the internet from the wireless card to the eth0 card. I thought I followed these instructions:

http://documents.made-it.com/Debian_...Server-13.html

but the xbox still wont connect. My /etc/network/options looks like:

" GNU nano 1.3.11 File: interfaces

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.1.1
netmask 255.255.255.0
"

Im not worried about security or anything all I want is the darn xbox to connect. I know this shouldn't be so hard... Could someone who has set up their box as a router give me some help? Thanks!
 
Old 08-28-2006, 04:42 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
just run
Code:
echo 1 > /proc/sys/net/ipv4/ip_forward
 iptables -t nat -A POSTROUTING -o eth1 -j MASQUERADE
and assuming eth1 is the external card, that's done. youmight actually want to look at bridging and not routing though if you have any other networks already in use.
 
  


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
DHCP and gateway routing problems (simple noob problem) michaelsanford Linux - Networking 4 04-13-2005 02:17 PM
noob with a noob question phoonerorlater Linux - Newbie 2 09-29-2004 03:43 PM
Firewall help (noob really really huge noob) ProtoformX Linux - Networking 1 03-29-2004 12:19 AM
real routing under nat routing nothingmuch Linux - Networking 4 10-27-2003 03:11 PM
Complete noob question from a noob noob_hampster Linux - Software 2 09-04-2003 12:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration