Solved

internet connection sharing in mandrake 10 community

Posted on 2004-04-22
2
246 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
ID: 10897214
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
ID: 10897296
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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

776 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