LinuxQuestions.org
Review your favorite Linux distribution.
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 12-27-2008, 01:48 PM   #1
jamwaffles
Member
 
Registered: Mar 2008
Distribution: Ubuntu Lucid
Posts: 131

Rep: Reputation: 19
Question interweb


um... i have the post on this thread:
http://www.linuxquestions.org/questi...e-soon-693298/

and it says

hi all

i have a laptop and a desktop pc i would like to connect together using a crossover network cable. at the moment the most i can get is a few spikes of transmission of the network, but thats it. for reasons i cannot release on this forum, only the desktop pc can connect to the internet. what i would like to be able to do is connect to the net from my laptop, through the dekstop pc. is there an easy/working way i can do this (hopefully graphical) where the desktop pc acts as a sort of server for the www. if anyone gets what i mean...

anyhow, thanks in advance for any help i receive

james waples, 14

ps. i posted in the wrong section sorry admin!
 
Old 12-27-2008, 01:51 PM   #2
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Linux Mint
Posts: 8,516

Rep: Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896
Are you using windows, linux...
 
Old 12-27-2008, 02:16 PM   #3
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,036

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
Quote:
um... i have the post on this thread:
jamwaffles,
Please don't post the same Q in more than one forum.
Mods, please merge.
Thanks
 
Old 12-28-2008, 05:06 AM   #4
jamwaffles
Member
 
Registered: Mar 2008
Distribution: Ubuntu Lucid
Posts: 131

Original Poster
Rep: Reputation: 19
Quote:
Originally Posted by tredegar View Post
jamwaffles,
Please don't post the same Q in more than one forum.
Mods, please merge.
Thanks
yeah.. sorry about that
 
Old 12-28-2008, 05:08 AM   #5
jamwaffles
Member
 
Registered: Mar 2008
Distribution: Ubuntu Lucid
Posts: 131

Original Poster
Rep: Reputation: 19
Quote:
Originally Posted by repo View Post
Are you using windows, linux...
both machines run on linux, ubuntu 8.10 and the dekstop has intel ethernet and the laptop has realtek ethernet (not that it makes much difference, but anyway)

james

ps. quite dumb of me to exclude that info, but it is a linux forum
 
Old 12-28-2008, 05:12 AM   #6
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Linux Mint
Posts: 8,516

Rep: Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896
Add an extra ethernet card to the desktop machine and use masquerading.
You can find more info using google, on how to establish this.
 
Old 12-29-2008, 10:27 AM   #7
jamwaffles
Member
 
Registered: Mar 2008
Distribution: Ubuntu Lucid
Posts: 131

Original Poster
Rep: Reputation: 19
Quote:
Originally Posted by repo View Post
Add an extra ethernet card to the desktop machine and use masquerading.
You can find more info using google, on how to establish this.
thanks for that, but whats wrong with using the motherboards onboard (intel) ethernet?
 
Old 12-29-2008, 10:59 AM   #8
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Linux Mint
Posts: 8,516

Rep: Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896
Quote:
thanks for that, but whats wrong with using the motherboards onboard (intel) ethernet?
you need 2 networkcards to do masquerading
 
Old 12-29-2008, 12:09 PM   #9
rweaver
Senior Member
 
Registered: Dec 2008
Location: Louisville, OH
Distribution: Debian, CentOS, Slackware, RHEL, Gentoo
Posts: 1,833

Rep: Reputation: 163Reputation: 163
Quote:
Originally Posted by jamwaffles View Post
thanks for that, but whats wrong with using the motherboards onboard (intel) ethernet?
Nothing, however as a previous poster stated you're going to need two nic cards to be able to have the laptop connected at the same time as the internet.

[internet]-[router]~~~[nic1]-[computer]-[nic2]~~~[nic]-[laptop]

You may have two built in nics in your computer, a lot of modern motherboards do.
 
Old 12-30-2008, 09:59 AM   #10
jamwaffles
Member
 
Registered: Mar 2008
Distribution: Ubuntu Lucid
Posts: 131

Original Poster
Rep: Reputation: 19
Quote:
Originally Posted by rweaver View Post
Nothing, however as a previous poster stated you're going to need two nic cards to be able to have the laptop connected at the same time as the internet.

[internet]-[router]~~~[nic1]-[computer]-[nic2]~~~[nic]-[laptop]

You may have two built in nics in your computer, a lot of modern motherboards do.
ok lol i have two nices now, one as a PCI card. now what? do i look on the internet for a good guide and if so can u give me a few links or the commands to do masquerading. if its something else, please say.

thanks for all your help up to now!
 
Old 12-30-2008, 10:51 AM   #11
rweaver
Senior Member
 
Registered: Dec 2008
Location: Louisville, OH
Distribution: Debian, CentOS, Slackware, RHEL, Gentoo
Posts: 1,833

Rep: Reputation: 163Reputation: 163
Quote:
Originally Posted by jamwaffles View Post
ok lol i have two nices now, one as a PCI card. now what? do i look on the internet for a good guide and if so can u give me a few links or the commands to do masquerading. if its something else, please say.

thanks for all your help up to now!
Knowing the distribution you're intending to use would let us give specific information for a particular distribution also... (edit: cough, yah, I can read today.)

http://tldp.org/HOWTO/IP-Masquerade-HOWTO/

Is very specifically what you need, however it's definitely not a short quick guide, but for a shorter version... try:

http://www.revsys.com/writings/quicktips/nat.html

A lot of this post on the ubuntu forums is useful and applicable:

http://ubuntuforums.org/showthread.php?t=111972

In addition there are these sites...

http://www.howtoforge.com/ is a good general site for linux tutorials and http://www.debian-administration.org/ is a great resource for debian/ubuntu specific tutorials.

A good google search would be for linux, nat, ipmasq in some combination.

Last edited by rweaver; 12-30-2008 at 10:54 AM.
 
  


Reply

Tags
debian, ip, iptables, nat, ubuntu


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
two pc network has no interweb. need to resolve soon jamwaffles Linux - Software 4 12-28-2008 05:10 AM
Opening files remotely over the interweb... AudioMechanic Linux - Software 6 12-10-2005 11:25 PM


All times are GMT -5. The time now is 06:18 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration