On Fri, 10 Aug 2007 09:21:57 -0700, onkar wrote:
> I have an internet connection on eth0 on computer PC1 and I want to
> connect another computer PC2 to eth1 on PC1. PC1 is a Linux box and PC2
> is a Windows box.
>
> Please help me to bring PC1 & PC2 on the internet.
>
> suppose PC1/eth0 is 192.168.1.3
> Primary DNS - 203.94.227.70
> Sec DNS - 203.94.243.70
>
> how should I configure PC1/eth1 ?
> and PC2 settings.
>
> thanks & regards,
> Onkar
Configure PC1/eth1 as 192.168.2.1 also set up iptables for ip forwarding
(no I will not *tell* you how to do this, STW). PC2 then gets an address
in the range from 192.168.2.2-254 and sets 192.168.2.1 as the gateway.
You might also need to put in DNS hosts for PC2. You could also make PC1
a DHCP authoritative host and just pull an address and DNS from it with
PC2 but that is way overkill for just 2 systems IMO.
This is basic networking stuff. Perhaps you should "Get Rute". See
my .sig for a link to where you can buy the hard copy. The digital
version can be had from <http://rute.2038bug.com/index.html.gz>.
Gene (e-mail: gene \a\t eracc \d\o\t com)
--
Mandriva Linux release 2007.1 (Official) for i586
Got Rute?
http://www.anrdoezrs.net/email-25465...sbn=0130333514
ERA Computers & Consulting -
http://www.eracc.com/ <- get VOIP here!
eComStation, Linux, FreeBSD, OpenServer & UnixWare preloads & sales