Mac Hookup to Linux Network

I have a linux computer running on a Cable Modem connection and I was wondering if it is possible to somehow hook up my Mac to the Linux so I don't have to get a separate account. In other words, I just want to use the Linux connection for both the Linux and my Mac. There is probably an easy way to do this, but I am not very experienced with computers.
wintomiumAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

wintomiumAuthor Commented:
Edited text of question
0
alexbikCommented:
Hi,

You need to put a second ethernet card in your linux box, and hook it up to your Mac.
I cannot tel you how you should configure your Mac, but make sure it talks IP and you
can ping it from your linuxbox. You should use 'reserved' IP numbers, like 192.168.0.x.
In order to make Linux detect your second ethernet card (I assume you have your cablemodem connected through an ethernet card as well), you shoul add the line
append = "ether=0,0,eth1 ether=0,0,eth2" to your /etc/lilo.conf.

If you got that part up and running, install IP masquerading on your linux box as described in ftp://sunsite.unc.edu/pub/Linux/docs/HOWTO/mini/IP-Masquerade

In this way, you don't need extra software or anything. Just make the Mac use your Linux box as gateway and you should be ok.

Alex.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux Networking

From novice to tech pro — start learning today.