You are not logged in.

#1 2006-03-29 08:54:37

Galdona
Member
Registered: 2006-03-15
Posts: 196

would like some tips on networking

i just obtained a second computer. two people will use the computers at the same time, so what i would like to do is to connect both computers to the internet.

i have one adsl connection (pppoe). since i dont have a router (and i dont want to buy one yet), i want to make one pc a router for the other pc, but the router pc should still be useable normally (as a workstation with kde). (i guess the router pc should have two lan ports.)

I dont need to be spoonfed, i would just like to ask if anyone could give me some pointers on where to start with this? or at least any advice on the "best" way to do this?

Offline

#2 2006-03-29 09:25:47

Moo-Crumpus
Member
From: Hessen / Germany
Registered: 2003-12-01
Posts: 1,488

Re: would like some tips on networking

nat


Frumpus addict
[mu'.krum.pus], [frum.pus]

Offline

#3 2006-03-29 15:46:20

Romashka
Forum Fellow
Registered: 2005-12-07
Posts: 1,054

Re: would like some tips on networking

Two very simple howtos:
http://tldp.org/HOWTO/Masquerading-Simple-HOWTO/
http://netfilter.org/documentation/HOWTO/NAT-HOWTO.html
I started to learn iptables from these. Oh no, man iptables was first. :-)


to live is to die

Offline

#4 2006-03-29 17:45:18

waltm
Member
From: alabama
Registered: 2006-03-21
Posts: 69

Re: would like some tips on networking

And you will need two network cards in the host machine.

Howver, check your modem, all you may need is a switch.

Offline

#5 2006-03-29 18:36:32

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 13,033

Re: would like some tips on networking

Waltm has a good point.
Many adsl modems have a NAT router built-in.
If your pc now uses DHCP, then there's a good chance all you need is a switch.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#6 2006-03-30 12:46:59

stevenk
Member
Registered: 2006-01-23
Posts: 19

Re: would like some tips on networking


The simplest masquerading HOWTO ive seen, and it WORKS
THANK YOU!!!

Offline

#7 2006-03-30 14:37:45

Galdona
Member
Registered: 2006-03-15
Posts: 196

Re: would like some tips on networking

hello, (im always busy so i tend to reply late, sorry!)
thank you for your responses! you are very helpful! my modem has four lan ports, however, if i try to connect two pcs to it, only one can connect at a time. is this "switch" software? how can i use this switch? i would like some tips (again smile ) however, i will go and google this also smile

Offline

#8 2006-03-30 15:41:48

waltm
Member
From: alabama
Registered: 2006-03-21
Posts: 69

Re: would like some tips on networking

A switch is hardware.  It has a in lan port that goes to the modem and four lan ports that I plug two pcs  into.

In my setup, the modem itself does PPPOE and provides a DHCP server for the internal network.

You probably need to in enter your modem's setup page to enable the other ports.

check the web pages of your ISP, the modem's maker and have a ready supply of comstumables (coffee, tea, etc) handy.

good luck

Offline

Board footer

Powered by FluxBB