Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 12-28-2003, 07:21 AM   #1
Registered: Dec 2003
Location: AUS
Distribution: CentOs, OpenSuse, Ubuntu, Leopard :D
Posts: 97

Rep: Reputation: 15
Question 1 nic internet and file sharing


i have redhat 9 and 1 nic (really 2 but the nvidia dosn't work) so i want to give the others machines in the network private ip's being the linux (server) the only one with the public ip but they need to be networked and need to see internet also they need to see the samba server with some files and dir's too.... the (server) is also ftp server for now.... some day will be web server too

thanx in advance
Old 12-28-2003, 03:20 PM   #2
Registered: Aug 2003
Distribution: gentoo
Posts: 62

Rep: Reputation: 15
1st you should check out this:

Shows you how to assign 2 ips to 1 nic. I havent ever tried it but I dont think its very hard.

There are several howto's on that deal with Masquerading which is what you need to route your internet connection to the other machines.
Old 12-28-2003, 04:13 PM   #3
Registered: Jan 2003
Distribution: Redhat 9, Fedora Core 1, Suse 8
Posts: 188

Rep: Reputation: 30
I have run into problems with the Linux stack and IP-Aliasing. I would suggest installing a second NIC and making your linux box a router/firewall with IP tables. here is a good how-to:


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
File Sharing Via Internet browdan Linux - Newbie 3 11-06-2005 01:35 PM
Internet Connection Sharing In SUSE 9.1 Personal with SIngle NIC ikm19 Linux - Networking 4 06-24-2004 11:25 AM
internet sharing pppoe using 1 nic problem bashrc2 Linux - Networking 2 02-06-2004 04:17 AM
File sharing and internet sharing mullet Linux - Networking 1 10-14-2003 01:30 PM
Internet Sharing & nic bridge? darchon Linux - Networking 21 03-29-2003 03:00 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:30 PM.

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