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?
Frumpus ♥ addict
Two very simple howtos:
I started to learn iptables from these. Oh no, man iptables was first. :-)
to live is to die
And you will need two network cards in the host machine.
Howver, check your modem, all you may need is a switch.
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.
Booting with apg Openrc, NOT systemd.
Automounting : not needed, i prefer pmount
Aur helpers : makepkg + my own local repo === rarely need them
The simplest masquerading HOWTO ive seen, and it WORKS
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
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.