[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

two down one to go



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Well i finally got everything working cable wise. But i have two last 
questions, and then i will leave you all in peace, for the time being.
i added another client to my hub, and when i set up /etc/network/interfaces 
for it i copy the one from the working client, and change the address to get

auto eth0
iface eth0 inet dhcp
	address 192.168.0.2
	netmask 255.255.255.0
	network 192.168.0.0
	gateway 192.168.0.1

with these settings i can ping all the other machines on the network, but i 
can't get outside. For now i'm using the folowing rules. I'll tighten them up 
once basic connectivity is established

iptables --table nat --append POSTROUTING -o eth0 -j MASQUERADE
iptables --append FORWARD -i eth1 -j ACCEPT

which is working fine for one client. Is there anything i forgot to setup on 
the second client? It can ping all of the other computers on the network but 
when i try pinging www.google.com i get a host not found error.

my second question has to do with a 3rd client, which is a iMac running OS X. 
How can i set it up so it has a static IP of 192.168.0.4? i've been doing it 
in Network Settings, but it still refuses to connect. Could it be the same 
problem as my second client? thus it being a server problem? or is there a 
special way to set up OS X?

TIA

Jule 
- -- 
Jule Slootbeek
jslootbeek@clarku.edu
617 901 6958
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE+87CLQkskRvXpytsRAu0LAJ9UG4qbNXSUMT8weAgGISIEVPcrFgCeNbdE
3STNjFq2YCRU/vEw9u7M6IQ=
=S3hQ
-----END PGP SIGNATURE-----



Reply to: