LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 08-26-2004, 01:39 AM   #1
psa
Member
 
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, 01:48 AM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,284

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
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 10.0.0.1 and you wanted to assign the Linux box IP 10.0.0.2 the commands would be:

ifconfig eth0 10.0.0.2 up
route add default gw 10.0.0.1

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, 01:58 AM   #3
psa
Member
 
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

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


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


All times are GMT -5. The time now is 11:12 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration