Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 08-26-2004, 02:39 AM   #1
Registered: Aug 2004
Posts: 83

Rep: Reputation: 15
How to setup LAN with Debian-Windows

hm.. i have debian on one computer & windows on the other.. the windows is the main computer as it has 2 NIC one connects to the network the other connects through the internet.. and the one with debian, i onlie have 1 NIC and it connects to the network... so how do i get internet for my debian computer?
Old 08-26-2004, 02:48 AM   #2
Senior Member
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
You'll need to enable Internet connection sharing on the Windows machine and then configure the Linux box so that the internal interface of the Windows machine is its default gateway. Assuming the internal IP of the Windows box is and you wanted to assign the Linux box IP the commands would be:

ifconfig eth0 up
route add default gw

and you should be set. You could put those commands into your rc.local file so they get executed at every boot, or consult your distro's documentation for the correct networking startup script to modify.
Old 08-26-2004, 02:58 AM   #3
Registered: Aug 2004
Posts: 83

Original Poster
Rep: Reputation: 15
weird... like i did that.. didnt work.... i have zonealarmpro on my windows system,. which is the one i'm using... and its like this

+ is under the trusted network
+ returned when i type ipconfig in the windows DOS


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 my lan? kpachopoulos General 1 09-06-2005 03:41 AM
wiNeed help in setting up a LAN with windows XP and debian kwng Linux - Networking 0 08-04-2005 01:32 PM
about a LAN setup Rex_chaos Linux - Networking 4 08-05-2004 09:47 AM
LAN setup Melo Linux - Networking 5 09-04-2003 06:52 PM
Need help on lan setup. jsimone Linux - Software 1 04-05-2002 01:47 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:14 AM.

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