Originally Posted by atifshakeel
i can ping both machines from each other.
but i could not able to use interent on fedora machine which is connected to xp.
I had exactly the same problem a few years ago, while I was still using xp and I was so annoyed that I still remember what was wrong! The first thing you need to check is if your internet connection is "shared". Go to your network connection, right-click, go to advanced properties tab. There should be a "Allow network computers to use this connection" checkbox, or something along those lines, make sure that it is checked.
Then, try pinging an IP address from your fedora box:
If that doesn't work, bring down your windows firewall and retry. The problem with my setup was that the free edition of the firewall I was using would not allow internet sharing.
If your xp has a fixed ip 192.168.0.1, you can solve your dns problems by adding this line to /etc/resolv.conf