LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-16-2005, 08:23 AM   #1
linus johann
Member
 
Registered: Jan 2005
Location: philippines
Distribution: rh 9
Posts: 71

Rep: Reputation: 15
internet sharing problem


hi guys!! any body wanna help a noob? anyway, i got a problem letting my xandros share its internet connection.. see, i am in the process of setting up my network using xandros on my workstations and server.. i intend to use the server as a gateway for the workstations.. the thing is, i can't seem to get it to share its internet connection.. i have already tried setting my two NICs on my server machine to use dhcp but still it doesn't work.. i've also tried setting eth1 to have a static ip and also set the workstations to use my server machine's static ip as the gateway.. im losing a lot of hair over this.. pls help
 
Old 09-16-2005, 10:22 AM   #2
adasko
LQ Newbie
 
Registered: Apr 2004
Location: London, UK
Distribution: Debian
Posts: 4

Rep: Reputation: 0
Hi Linus,

You probably want to share your either dynamic IP or single static IP connection.
This being the case, you will need a NAT router set up on your gateway/server machine.
DHCP is a way of distributing IPs but only IPs, it won't do the routing for you. You will need to make your server/gateway box into a NAT router and of course firewall. As I don't use Xandros, I don't know how to help you, how you can do this within Xandros.

Have a look at other posts on this forum regarding NAT firewall and maybe you will start to understand what you need to get done, then hopefully you will be able to find the solution within Xandros.

Good luck!

Adasko
 
Old 09-16-2005, 11:53 AM   #3
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
To Internet share you need to install ip-masquerade and you can find details about this here . Forwarding the requests is covered in this howto. Once you have that setup then assign an ip address to the card (eth1) to which the other boxes are connected. For the boxes using this as the connection assign their gateway address as the ip address of eth1 on the Xandros box.
 
  


Reply



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
Problem sharing internet.... lingeek Linux - Networking 5 09-03-2005 12:26 AM
problem sharing internet... lingeek Fedora 1 09-02-2005 06:42 PM
Internet sharing problem Pirahna Linux - Networking 2 12-06-2004 10:56 AM
Sharing internet problem johnlittlepeap Linux - Networking 1 10-24-2004 12:32 AM
Internet sharing problem matux Linux - Networking 6 07-14-2004 08:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:20 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
Open Source Consulting | Domain Registration