You are not logged in.
Pages: 1
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
nat
Frumpus ♥ addict
[mu'.krum.pus], [frum.pus]
Offline
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
And you will need two network cards in the host machine.
Howver, check your modem, all you may need is a switch.
Offline
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
The simplest masquerading HOWTO ive seen, and it WORKS
THANK YOU!!!
Offline
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 ) however, i will go and google this also
Offline
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
Pages: 1