>>>>> "Anand" == anandsha <[EMAIL PROTECTED]> writes:
Anand> I am trying to have 2 Linux machines connected via a
Anand> switch, and share the BSNL Dataone ADSL Broadband
Anand> connection.
Anand> [snip]
Anand> I am unable to browse Internet on PC-2. What's the
Anand> problem??
1. Ensure that PC1 has IP forwarding turned on:
echo 1 > /proc/sys/net/ipv4/ip_forward
2. If your BSNL equipment doesn't do it, setup NAT on PC1. Something
like:
iptables -t nat -A POSTROUTING -s 192.168.2.0/24 -j SNAT --to-source
192.168.1.2 (line may wrap)
If this works, you're automagically volunteered for Freedel as payment
:)
Regards,
-- Raju
--
Raj Mathur [EMAIL PROTECTED] http://kandalaya.org/
GPG: 78D4 FC67 367F 40E2 0DD5 0FEF C968 D0EF CC68 D17F
It is the mind that moves
_______________________________________________
ilugd mailinglist -- [EMAIL PROTECTED]
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi
http://www.mail-archive.com/[EMAIL PROTECTED]/