Mike Bell (athasian@altavista.net)
Fri, 21 May 1999 12:28:03 -0700
On Fri, May 21, 1999 at 11:55:43AM -0700, Ya`akov N Miles wrote:
> I have signed up for ADSL. BC Tel said they would install it "sometime" in
> the coming two weeks. Meanwhile I have put Ether16 LAN cards in my two
> PC clones, and connected them together with thin wire Ethernet.
> (Yes I know, the phone company wants 10BaseT, anyways...) Now that I have
> joined the two computers with coax cable, how do I get the machines talking
> to each other? I have gone through the "make config and configured the
> Ethernet cards...
If you are going to make one a firewall and accesable only on the internal
network (this is preferable) you should set things up with one of the
private network numbers, 10.x.x.x or 192.168.x.x (Can't remember the other,
class B, one) For example, have 192.168.1.1 be the firewall (this will need
two ethernet cards when ADSL comes around, one 10baseT cause that's all that
will fit into the modem, and one 10base2 for your private network) to do
this find out where your dist stores info for your network, and configure
it. Or run a configurator thingy if your dist has one. As a temporary
solution, issue as root:
ifconfig eth0 192.168.1.1 netmask 255.255.255.0 up
route add -net 192.168.1.0 netmask 255.255.255.0 eth0
And use your DHCPCD or whatever to configure the second ethernet card)
on the firewall machine, and
ifconfig eth0 192.168.1.2 netmask 255.255.255.0 up
route add -net 192.168.1.0 netmask 255.255.255.0 eth0
route add -net 0.0.0.0 netmask 0.0.0.0 gw 192.168.1.1 eth0
on the not firewall machine.
This will up the network until you next reboot. pings from one to the other
are a good first test, then try something like a telnet or ftp.
You can leave out the second route on the not firewall box until you have
ADSL, but you can also use a modem on the firewall in the mean time. Bear in
mind that the firewall will need a few kernel options. These include
IP masquarading and IP firewalling, but I don't have time to see if these
are all (if you see an option in make config/menuconfig/xconfig that you
don't know whether you need, just email me and I'll answer.)
This archive was generated by hypermail 2.0b3 on Fri 21 May 1999 - 12:33:19 PDT