Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.