LinuxQuestions.org
Help answer threads with 0 replies.
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 10-21-2005, 10:37 AM   #1
jonijj
LQ Newbie
 
Registered: Oct 2005
Location: Finland
Distribution: Suse Linux 10.0 Eval
Posts: 5

Rep: Reputation: 0
How to share internet to winxp


So I have Suse 10.0 (eval) on this box and im trying to share internet to winpxp machine.
Linux machine has 2 ethernet cards (eth 0 and eth1) ADSL modem is connected to eth1 and winxp to eth 0.
How can I share the internet connection to winxp? (Winxp should have different internet IP address than linux)
If I set manually eth0 ip, then i get LAN work so I can ping the winxp comp, but cant share internet anyway, on dhcp internet may stop working on both machines and LAN stop working.
 
Old 10-21-2005, 03:25 PM   #2
fenderman11111
Member
 
Registered: Jun 2004
Location: Denton
Distribution: debian, freebsd
Posts: 121

Rep: Reputation: 15
with this setup, you must (and should) use ipmasquerading to make your linux machine act as a firewall / gateway for your XP machine.

read this for info: http://www.tldp.org/HOWTO/IP-Masquer...WTO/index.html

there are some copy-and-pasteable scripts you can borrow.

(also, if it doesn't mention in there... 2.4 and 2.6 work the same as far as iptables are concerned)

hope that helps...

-Brandon
 
  


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
How to setup LINUX to share Internet for winxp preswang Linux - General 1 11-04-2003 09:38 AM
cant mount winxp share m_u_y_m_u_y Linux - Networking 4 10-17-2003 02:05 AM
connecting to a WinXP share kyrra Linux - Networking 2 11-04-2002 02:25 PM
Mounting a WinXP share automatically mdecou Linux - Networking 0 04-22-2002 02:53 PM
WinXP samba share - permissions? armstrj Linux - General 0 04-08-2002 04:40 AM

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

All times are GMT -5. The time now is 08:12 PM.

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