Welcome to the most active Linux Forum on the web.
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 02-11-2003, 05:05 PM   #1
Registered: Jan 2003
Posts: 35

Rep: Reputation: 15
Debian internet connection sharing

I can't bare this anymore. I've been trying to share my internet connection for weeks now, checked out every FAQ, WWW, Forum and nothing. As of now I am close to basically just giving up.

Whats the problem? Well... let me start from the begining. Here is my system configuration :

1 )) First PC ( the server, with internet connection ) :

* Debian GNU/Linux - Woody
* Kernel v2.4.18
* IPTables - loaded into kernel
* Two network interfaces : eth0 ( internet connection ) and eth1.

2 )) Second PC is a Windows XP with one network interface.

I've set up a DHCP server for eth1 and a BIND server. Both of these work fine. The IP assigned to eth1 is Samba works perfectly.

Nota bene : The internet connection on eth0 is another network - basically i connect through a gateway to my ISP. So PLEASE!!! don't tell me that I need masqeurading, because I really don't! I've tried using it and samba stopped working, while the internet connection did. Heh. I need both of these things to work.

I can ping from one computer to the other but only in the boundries of the internal network. Once I try to ping for example my IPS's gateway - it doesn't work. DNS is setup correctly as while pinging from winXP it resolves the host and stops at that.

The gateway that I have set up on the winXP is also ( the IP of the Linux eth1 interface ). So my question is... what do i have to do? Do I have to route the IP from WINXP to Linux or do I just have to setup a gateway. Any ideas would be gratley appreciated as I am running out of patience. Oh... and one more thing, please explain to me how to do everything step by step as I am kinda a newbie to Linux.

Old 02-11-2003, 05:49 PM   #2
Registered: Jan 2003
Posts: 35

Original Poster
Rep: Reputation: 15
Whatever, it's not important anymore. I've just figured it out. Everything works. Cya
Old 09-03-2003, 09:35 AM   #3
LQ Newbie
Registered: Sep 2003
Posts: 1

Rep: Reputation: 0
I have been following your thread because I have an identicle problem. Could you share your solution or the resource you used.
Old 09-07-2003, 02:22 AM   #4
Registered: Jan 2002
Location: Third Stone from the Sun
Distribution: Debian Sid, SourceMage 0.9.5, & To be Continued on a TP
Posts: 800

Rep: Reputation: 31
Originally posted by SlashDebian
Whatever, it's not important anymore. I've just figured it out. Everything works. Cya
Yes, what was your solution? We would like to know in case someone else have the same problem!


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
Internet Connection Sharing (again) confused_bof SUSE / openSUSE 10 07-10-2005 08:56 AM
Internet Connection Sharing geekbyday Linux - Networking 9 11-19-2004 10:59 PM
Sharing internet connection Zig Slackware 2 06-02-2004 03:47 AM
Debian and Windows Internet Connection Sharing ellakano Linux - Networking 1 11-26-2003 05:52 AM
sharing an internet connection bubba169 Linux - General 9 06-02-2002 09:50 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:45 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