LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 04-22-2003, 07:18 AM   #1
Artimus
Member
 
Registered: Feb 2003
Location: Wisconsin
Distribution: Slackware
Posts: 188

Rep: Reputation: 30
Can I do IPMasquarading like this?


Hello, I finally got a floppy install of Slackware on a box with no CD-Rom drive. I want to in turn make it a server and have it share the internet with my personal computer. Here's the problem, in the server, I only have 1 NIC and a Modem. The wire fits into the ethernet jack as well as the modem, so can I make it work like this?:

Outside world to Server's NIC
Crossover Cable from Server's Modem to Desktop's NIC

I shouldn't be limited to just 56K speeds, right? It should work just as if it was another NIC but as tty1 or something, right?

Am I way off track, or is this indeed possible?

Thanks for your time
-Jared
 
Old 04-22-2003, 07:31 AM   #2
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
no way!

you can use the modem to connect a phone line and dialup an isp and share the dialup connection over the ethernet

buy another nic
 
Old 04-22-2003, 03:56 PM   #3
Artimus
Member
 
Registered: Feb 2003
Location: Wisconsin
Distribution: Slackware
Posts: 188

Original Poster
Rep: Reputation: 30
I'm using Cat3(Phone Wire) right now for my internet connection, so I know it will fit. So, its not the hardware, its some how on the software. Iptables works just the same with a tty device as an ethernet card rules wise, so I don't get what's holding me back. Is a Modem really limited to 56K or whatever?

-Jared
 
Old 04-22-2003, 04:33 PM   #4
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
Standard ethernet 10/100BaseT uses pins one, two, three and six of an RJ45. Telephone lines generally use pins four and five of the Rj45 when a two or four pin connector is plugged into an RJ45. Pins two and three for line one and pins one and four for line two are used on an RJ11 .

Just because you have a six or eight pin socket that a two or four pin connectors will plug into does not mean it's wired correctly.


The wire should be cat5e for the best performance, however if the wire is not very long it should work with any twisted pair wire that's hooked up right.

Not to mention the networking protocol matters.

I've heard of pppoe but never heard of eoppp

plus modems are much more expensive and slower than nics, so I don't think it's worth doing even if it is possible.


you might consider plip if you can't buy a $10 nic, it's much faster than slip or standard ppp. By the time you buy a plip cable you can buy a nic as well.

Last edited by DavidPhillips; 04-22-2003 at 04: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



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

All times are GMT -5. The time now is 01:58 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