LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 03-07-2005, 12:50 PM   #1
Ork
LQ Newbie
 
Registered: Feb 2005
Location: Estonia
Distribution: Debian
Posts: 1

Rep: Reputation: 0
Need pointers for LAN, ADSL->Switch->2 coputers


I don't know almost anything about networking, i have searched but have not found anything useful, if anybody could give me some ideas, or point me to a how-to and mention the specific steps needed in my case I would be forever(or a month or so) grateful. Here's the deal:
I have one Sagem F@st 908 E2T ADSL modem (cant post URL, Sagem page has limited info) that connects to my Trendnet TE100-S5P+ switch (trendnet page has pretty pictures of it) which should have 2 Debian computers behind it. As far as i have read a router would connect to the Internet permanently and do some dhcp magic so i wouldn't need one computer playing server, but routers cost too much i think, so do i need to set up one computer as a gateway or something? I bought the switch because a friend of mine had basically the same setup, but he could configure his switch with a browser, so that makes it a router/switch? Please feel free to correct me if I am mistaken.
 
Old 03-07-2005, 04:14 PM   #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
So that's just a standard ADSL modem, it will provide you with a single ethernet or usb port. As it itself won't have an IP address in itself, you won't be able to use that as the gateway. so as you thought, one machine would need to be a gateway. You can't run all three devices through a single switch though, well at least i've been told "weird things" happen if you do. so the gateway machine will need two physically seperate NIC's (or one NIC one usb connection if you think you can make USB work. to make one machine be a gateway, you just neede to set upi pforwarding on it via iptables. someone has kindly written [wiki]A basic firewall configuration suitable for a gateway/nat[/wiki] using [wiki]NAT[/wiki]in our wiki, with debian speciifc details, so that should do you fine.

and you come out of it with a spare switch to flog on ebay.

Last edited by acid_kewpie; 03-07-2005 at 04:15 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
machine has adsl ethernet modem, to make it gateway over lan do i need more lan cards b0nd Linux - Networking 2 10-04-2005 10:19 PM
lan via adsl d1l2w3 Linux - Networking 1 06-27-2005 03:36 PM
Software test for new linux coputers? LQtoto Linux - General 2 02-23-2004 12:33 PM
LAN ftp via ZyXEL-switch starts but halts quickly psletten Linux - Networking 11 01-21-2004 10:03 AM
Adsl & Lan thiamhong Linux - Networking 3 08-20-2003 11:08 AM

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

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