LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-18-2008, 09:49 AM   #1
skaynum
LQ Newbie
 
Registered: Dec 2006
Posts: 17

Rep: Reputation: 0
How do you share your nic card in linux


How do you share your nic card in linux?Just like you do ICS in windows.
 
Old 11-18-2008, 10:24 AM   #2
jlarsen
Member
 
Registered: Jan 2005
Location: Dallas, TX
Distribution: Slackware 14.1
Posts: 77

Rep: Reputation: 15
I'm not positive what part you are trying to set up - the gateway machine? To get you started look up ip_forwarding, iptables (looking at MASQUERADE, SNAT, DNAT), and maybe dhcpd. There is a lot more to say, but if you learn a little about those you can probably ask more specific questions.
 
Old 11-18-2008, 10:34 AM   #3
skaynum
LQ Newbie
 
Registered: Dec 2006
Posts: 17

Original Poster
Rep: Reputation: 0
How do you share your nic card in linux

Ok,am talking about a scenario for instance i have a box connected to a wireless network and i would like another pc to share its connection.In windows that happens with ICS where by you share the WNIC.How does one go about it in linux.i.e share your WNIC card so it acts as a gateway for the other PC?
 
Old 11-18-2008, 12:37 PM   #4
estabroo
Senior Member
 
Registered: Jun 2008
Distribution: debian, ubuntu, sidux
Posts: 1,117
Blog Entries: 2

Rep: Reputation: 113Reputation: 113
I'm beginning to think nobody reads through the LQ tutorials these days.

http://www.linuxquestions.org/linux/...ection_sharing
 
Old 11-19-2008, 05:34 PM   #5
skaynum
LQ Newbie
 
Registered: Dec 2006
Posts: 17

Original Poster
Rep: Reputation: 0
i think i must have forgotten a bit about the POSTROUTING chain and nat anyway thanks for that i can now go ahead with it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
eth0 NIC Card Not Working! 3com 3c501 NIC. Mustard010 Linux - Networking 16 08-15-2007 03:22 AM
What is the best WIFI card for Linux? Please share experiences! JazzLad Linux - Laptop and Netbook 16 05-09-2006 09:47 PM
HP nic card not recognised in RH linux 9 kakes Linux - Hardware 0 11-16-2004 12:16 PM
NIC card in Gentoo linux epic Linux - Networking 2 01-27-2002 10:03 PM
Linux can not initialize second Nic card dukhanh Linux - Networking 1 08-31-2001 09:49 AM


All times are GMT -5. The time now is 08:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration