 |
 |
 |
 |
| Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc. |

2nd August 2006, 12:52 AM
|
|
Registered User
|
|
Join Date: Jun 2006
Posts: 9

|
|
|
Home network
Hello!
I have two computers at home. First works as a router and server (OS is Fedora Core 3 without graphics) and the second one is main computer (OS is Windows XP SP2) so connection looks like this: modem -> linux -> windows. Internet and home network were working fine for three months until yesterday when suddenly modem died and also my home network (I wasn't at home). I changed modem with new one and internet is working fine now on Fedora 3 but I can't figure out what is wrong with home network because internet on WinXP is simply not working. However, I can still ping from WinXP to Linux and from Linux to WinXP. I can also connect with putty to Linux router but internet on WinXP box is still not working (there are 0 received packages).
I don't have Samba on linux, I only configured network by one tutorial (which I can't find anymore).
Do you have any ideas what should I do now? I didn't change any network settings last month.
Thank you very much,
regards krneki
|

2nd August 2006, 01:45 AM
|
 |
Registered User
|
|
Join Date: Nov 2004
Location: Seymour, Indiana
Posts: 2,509

|
|
Can the WinXP box ping and external web site IP like Google. http://216.239.39.99/ . If it can then I would say and issue with the dns settings ethier in the FC3 box or Winxp box. Not sure of your setup whether you define DNS IP or get it automatically. If you can not ping the external IP like google then I would say ip masquerading is not enabled.
Brian1
__________________
Distribution: RHEL 5.1 with Pieces of this and that.
Kernel 2.6.23.9, KDE 3.5.8 and KDE 4.0 beta, Plus Development src.rpm, ATI fglrx64_7_1_0-8.433-1 rpm with 3D and DRI working.
Acer 5100-5840 with webcam, ati, sdcard reader, sound, atheros based wireless, all working. Only thing not working is the memory stick reader.
|

2nd August 2006, 03:04 AM
|
 |
Registered User
|
|
Join Date: Nov 2004
Location: Mississippi, USA
Posts: 1,180

|
|
|
From FC3 machine, post the results of the command "/sbin/ifconfig -a". Also make sure /proc/sys/ipv4/ip_forward is set to "1". If it isn't, your FC3 box won't forward packets to or from your XP box.
|

2nd August 2006, 10:32 AM
|
|
Registered User
|
|
Join Date: Jun 2006
Posts: 9

|
|
|
It's even worse now. I can now ping from Linux PC to WinXP PC but I can't ping from WinXP to Linux. I receive message: Request timed out.
However, ip_forward is already set to 1 and I don't have firewall.
|

2nd August 2006, 01:30 PM
|
 |
Registered User
|
|
Join Date: Nov 2004
Location: Mississippi, USA
Posts: 1,180

|
|
|
Again, post the results of the command "/sbin/ifconfig -a" as run from the FC3 machine. We can't help unless we know how your network is configured.
|

2nd August 2006, 03:17 PM
|
|
Registered User
|
|
Join Date: Dec 2004
Posts: 511

|
|
|
Sounds as if your Xp box is expecting to find your linux box or router at some fixed ip address that has changed because of the router change. With any luck, all you have to do is change your settings on the Xp box.
For instance older netgear routers used 192.168.0.1 while Linksys and newer netgear are usually 192.168.1.1.
But when you originaly set stuff up you probably wrote some iptables rules for masquerading, and there is a slight chance you have some hard-coded ip addresses in there. You could check that too.
|

3rd August 2006, 09:06 AM
|
|
Registered User
|
|
Join Date: Jun 2006
Posts: 9

|
|
There was a mess in eth0 with IP's. IP for internet was 192.168.0.2 but it was still working properly. However I changed that IP to my static IP and I can ping from Windows PC to Linux PC again (internet is still not working).
Anyway, here are some informations:
route -e:
Quote:
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
BSN-access.dsl. * 255.255.255.255 UH 0 0 0 ppp0
192.168.0.0 * 255.255.255.0 U 0 0 0 eth1
193.77.90.0 * 255.255.255.0 U 0 0 0 eth0
default BSN-access.dsl. 0.0.0.0 UG 0 0 0 ppp0
|
ifconfig (linux):
ipconfig (windows):
Quote:
Windows IP Configuration
Host Name . . . . . . . . . . . . : domen
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Unknown
IP Routing Enabled. . . . . . . . : Yes
WINS Proxy Enabled. . . . . . . . : No
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Realtek RTL8139 Family PCI Fast Ethernet NIC
Physical Address. . . . . . . . . : 00-04-61-4A-23-B6
Dhcp Enabled. . . . . . . . . . . : No
IP Address. . . . . . . . . . . . : 192.168.0.2
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.0.1
DNS Servers . . . . . . . . . . . : 193.189.160.11
193.189.160.12
|
iptables -L (linux):
Quote:
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
|
|

4th August 2006, 12:42 AM
|
 |
Registered User
|
|
Join Date: Nov 2004
Location: Mississippi, USA
Posts: 1,180

|
|
Okay, looks good. Now you need to set up IP forwarding and NAT on the Fedora machine. See pparks1 post here: http://forums.fedoraforum.org/forum/...d.php?t=116672 .
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 02:00 (Wednesday, 19-06-2013)
|
|
 |
 |
 |
 |
|
|