Solved

internet connection sharing in mandrake 10 community

Posted on 2004-04-22
2
223 Views
Last Modified: 2010-03-18
hi experts (i mean good people out there.. hehe), i'm using mandrake 10 community. i just love it. I wonder how can i setup the mandrake to be a gateway for the internet. I'm using LAN internet (DHCP), and i have 2 network cards on my mandrake. I want to make the other network card runs DHCP server to allow my second computer (WinXP) to use internet. I presume, i need a crosslink cable between my mandrake and XP. I configured the internet sharing, but it just didnt working. It seems like the mandrake machine is not sending any packets to the XP machine. Can someone out there help me. thank you in advance.
0
Comment
Question by:bachok83
2 Comments
 
LVL 1

Assisted Solution

by:greg14unix
greg14unix earned 250 total points
Comment Utility
Hello,

What you want to do is called Network Address Translation (NAT).  This will mask all internal IP addresses with the Mandrake server's internet IP address.  Check out the NAT howto here http://www.mandrakesecure.net/en/docs/HOWTO/NAT-HOWTO/
0
 
LVL 4

Accepted Solution

by:
bobgunzel earned 250 total points
Comment Utility
It make little sense to use DHCP for a single NAT client. Use static addresses for the local network.
To enable NAT put this in your start-up script, f.i. in rc.local: echo 1 > /proc/sys/net/ipv4/ip_forward

Bob Gunzel
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now