[Mailinglist] Internet Connection Sharing

Binny V Abraham binnyva at yahoo.com
Wed Dec 27 21:45:29 IST 2006


Hi,

> Try "ping google.com" from windows machine. 
Now things are really interesting - I can ping
google.com from the XP System - but cannot open it in
the browser. Any idea why this is so? 

This is not a windows issue. My brother has 2 instance
of XP in his system. One he use to browse the net -
and the other for normal use. I tried to get the
connection in both the OSs. Still no luck.

> Try after running "iptables --flush" 
> (again, gives no output) on the linux 
> machine as root.
This is a problem - if I run this command
iptables --flush
the whole network comes to a halt. I cannot even ping
my own network card from the linux system. Before
posting this question on this group, I searched a bit
for how to do it and did a lot of experimenting. I may
have mess up the configurations a bit.

Results of some commands that may be useful for
debugging this problem...
#route
Kernel IP routing table
Destination     Gateway         Genmask         Flags
Metric Ref    Use Iface
192.168.1.0     *               255.255.255.0   U    
0      0        0 eth0
192.168.0.0     *               255.255.255.0   U    
0      0        0 eth1
169.254.0.0     *               255.255.0.0     U    
0      0        0 eth1
default         192.168.1.1     0.0.0.0         UG   
0      0        0 eth0

#iptables -t nat -L POSTROUTING
Chain POSTROUTING (policy ACCEPT)
target     prot opt source               destination
MASQUERADE  all  --  anywhere             anywhere

If you need anymore info, just let me know.

Thanks for all the help so far.

Binny V A
http://binnyva.blogspot.com/

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



More information about the Mailinglist mailing list