LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 08-16-2004, 05:54 AM   #1
sheng8
LQ Newbie
 
Registered: Aug 2004
Posts: 3

Rep: Reputation: 0
Unhappy linux 8 server but windows couldn't connect to WWW through router


Hi everyone,
i'm try to build a server with linux 8.0. this is the way i connect my home computer.
----->phone line to the modem (SBC ADSL) -> linux 8.0 server (two network card: eth0 for outside network, eth1 for LAN connection, setup NAT server already) -> netgear router (ip:192.168.1.2, netmask 255.255.255.0, gateway 192.168.1.1, DNS:got it from ISP webside, LAN ip=192.168.1.3, mask=255.255.255.0, gateway=192.168.1.1, PLUS firewall set to none, set windows 1 ip= 192.168.1.100, windows 2 ip=192.168.1.101) -> two home computer(all windows xp professional, ip etc.set to automaticly get from ISP )<-------

problem: Linux's network is working fine so i can use internet. However, from windows, i couldn't connect to internet. i ping eth0 and 127.0.0.1 is fine, but when i ping my windows 1 machine (192.168.1.100) said it is unreachable.same as windows 2. i also try proxy setting and then try setup NAT server but it doesn't work. of course i couldn't connect to internet with windows 1 and 2.
PLEASE HELP!!

detail: output of ifconfig & route -n:

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
bras3-l0.pltnca * 255.255.255.255 UH 0 0 0 ppp0
192.168.1.0 * 255.255.255.0 U 0 0 0 eth1
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default bras3-l0.pltnca 0.0.0.0 UG 0 0 0 ppp0

eth0 Link encap:Ethernet HWaddr 00:C0:F0:56:16:72
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:192918 errors:0 dropped:0 overruns:0 frame:0
TX packets:192212 errors:0 dropped:0 overruns:0 carrier:0
collisions:18 txqueuelen:100
RX bytes:25102358 (23.9 Mb) TX bytes:15085894 (14.3 Mb)
Interrupt:5 Base address:0x8000

eth1 Link encap:Ethernet HWaddr 00:C0:F0:5A:87:7F
inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:13414 errors:10 dropped:0 overruns:0 frame:0
TX packets:69 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:934755 (912.8 Kb) TX bytes:2898 (2.8 Kb)
Interrupt:10 Base address:0xa000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:387 errors:0 dropped:0 overruns:0 frame:0
TX packets:387 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:45396 (44.3 Kb) TX bytes:45396 (44.3 Kb)

ppp0 Link encap:Point-to-Point Protocol
inet addr:68.126.200.255 P-t-P:151.164.184.79 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:23270 errors:0 dropped:0 overruns:0 frame:0
TX packets:23404 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:2983903 (2.8 Mb) TX bytes:2788482 (2.6 Mb)


-> eth1 eth0 ip
 
Old 08-17-2004, 04:13 AM   #2
pingu
Senior Member
 
Registered: Jul 2004
Location: Skuttunge SWEDEN
Distribution: Debian preferably
Posts: 1,350

Rep: Reputation: 127Reputation: 127
With a router you must use different networks.
You have Linux8 connected to router, network between them is 192.168.1.0
The computers connected to the router must reside in a different network.
Assign windows something like 192.168.2.x
 
Old 08-17-2004, 01:00 PM   #3
sheng8
LQ Newbie
 
Registered: Aug 2004
Posts: 3

Original Poster
Rep: Reputation: 0
thank you, pingu, i think that would be the reason, but i don't have chance to do now, because my girlfriend complain about no internet on her computer. i have to reconnect the linux and the router.

thanks again for your advise

Andrew
 
  


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
how can Linux connect to windows vpn server LinuxLover Linux - Networking 1 10-01-2005 06:03 AM
windows xp cannot connect to linux server on start up robertngo Linux - Networking 2 06-08-2005 05:05 AM
Linksys router lets Linux connect, but not windows Fear58 Linux - Networking 2 07-15-2004 11:24 PM
windows client, linux nfs server how to connect feetyouwell Linux - Software 1 06-09-2004 03:35 AM
Linux Router / Win98SE Client can't connect the WWW themorph Linux - Networking 5 02-15-2002 07:19 AM

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

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