LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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-18-2007, 11:03 AM   #1
NewWithoutClue
LQ Newbie
 
Registered: Aug 2007
Posts: 2

Rep: Reputation: 0
eth0 sharing wlan0's net connection? HELP


first my set up

i have a wireless modem(192.168.1.254) which wlan0(192.168.1.68 via dhcp) uses for internet access. I have eth0 which is connected to the WAN port of a ethernet router, and an xbox which is connected to a LAN port on that ethernet router.

is it possible to have eth0 use wlan0 for internet access and, inturn, allow my xbox to connect to the internet aswell?


Thanks,
Paul

Last edited by NewWithoutClue; 08-18-2007 at 11:13 AM.
 
Old 08-18-2007, 11:37 AM   #2
reverse
Member
 
Registered: Apr 2007
Distribution: Gentoo
Posts: 337

Rep: Reputation: 30
I doubt I've understood your setup. Please tell me if I'm correct: you have a modem, you'd regularly connect a computer to in order to get internet access. You also have a router, another computer, and an xbox. You are trying to share access to the internet between the computer and the xbox. Your setup should be something like this:

Code:
[COMPUTER]                [XBOX]
\________/                \____/
     |                       |
      \________    __________/
               |   |
               |   |
     __________|___|__________
    | LAN PORT |   | LAN PORT |
    |-----------   -----------|
    |                         |
    |       R O U T E R       |
    |_________________________|
    |  W A N   P O R T        |
    |_________________________|
               |
          _____|_____
         | M O D E M |
         |___________|
               |
         ______|____
        | INTERNETS |
        |           |
        /            \
       /_ _ _ _ _ _ _ \
 ..........................
....       ..        ..        ..
Do you like my ascii art? [] yes [] no [] maybe
 
Old 08-18-2007, 11:57 AM   #3
NewWithoutClue
LQ Newbie
 
Registered: Aug 2007
Posts: 2

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by reverse View Post
I doubt I've understood your setup. Please tell me if I'm correct: you have a modem, you'd regularly connect a computer to in order to get internet access. You also have a router, another computer, and an xbox. You are trying to share access to the internet between the computer and the xbox. Your setup should be something like this:

Code:
[COMPUTER]                [XBOX]
\________/                \____/
     |                       |
      \________    __________/
               |   |
               |   |
     __________|___|__________
    | LAN PORT |   | LAN PORT |
    |-----------   -----------|
    |                         |
    |       R O U T E R       |
    |_________________________|
    |  W A N   P O R T        |
    |_________________________|
               |
          _____|_____
         | M O D E M |
         |___________|
               |
         ______|____
        | INTERNETS |
        |           |
        /            \
       /_ _ _ _ _ _ _ \
 ..........................
....       ..        ..        ..
Do you like my ascii art? [] yes [] no [|] maybe
Actually:

Code:
               [XBOX]
               \____/
                 ||
                ||
                 ||
                ||
     ____________||___________
    |       | LAN PORT |      |
    |-------------------------|
    |                         |
    |       R O U T E R       |
    |_________________________|
    |  W A N   P O R T        |
    |_________________________|
                ||
          ______||______ 
          \__Ethernet__/     
         ___[ COMPUTER ]___
        \__(wireless USB)__/ 
                |
           _____|_____
          | M O D E M |
          |___________|
                |
          ______|____
         | INTERNETS |
         |           |
         /            \
        /_ _ _ _ _ _ _ \
:P
 
Old 08-18-2007, 07:40 PM   #4
reverse
Member
 
Registered: Apr 2007
Distribution: Gentoo
Posts: 337

Rep: Reputation: 30
:-/ I guess you can make the setup you posted work but .. ew!?

Basically I have a modem+2 computers+router, replace the "xbox" in the model I suggested with "laptop" and you get a map of my home network.

Edit: I've just seen that your modem is wireless. I'll try back in the morning when the alcohol is out of my blood.

EDIT EDIT: OMG ITS MORNING!

Last edited by reverse; 08-18-2007 at 07:43 PM.
 
  


Reply



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
sharing net connection with xp machine frosty_kgp Linux - Networking 1 08-23-2005 12:44 AM
Sharing he net connection. BradAus Linux - Networking 1 04-05-2005 04:26 AM
No DNS after sharing net connection OEP Linux - Networking 6 08-12-2004 08:11 AM
Internet Sharing with DHCP connection to the Net Earp Linux - Networking 1 06-15-2003 02:57 PM
idea: sharing net connection, method: iptables..., problem: broken net connection :( danny2055 Linux - Networking 4 06-09-2003 07:00 AM

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

All times are GMT -5. The time now is 06:07 AM.

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