This is my first attempt to set up a network at home. This is my current setup
WinXP machine
IP: 192.168.0.1
Netmask: 255.255.255.0
Linux Machine
IP: 192.168.0.2
Netmask : 255.255.255.0
Gateway@ 192.168.0.1
I would like to get internet access by using the XP machine which is on a dial up connection. Both computers are connected using a hub.
So far i can successfully
- Ping from XP to Linux
- Ping from Linux to XP
- I can access the webpages on the linux box via a browser on the XP box using [192.168.0.2 as the url]
- I cannot access the XP box from linux
- I can access the linux box from XP using PUTTY/SSH.
Even though both i can ping each other, it looks like access to the XP box is restricted from the linux box.
What i would like to do is use the internet connection on my XP box to access the internet from the Linux box.
I have norton antivirus and windows firewall. I have tried disabling both but still cant get the internet on my linux box.
Here are some outputs.
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 eth0
search ziggy.com local
# search ziggy.com local ziggy.com local
nameserver 127.0.0.1
nameserver 192.168.0.2
# ppp temp entry
Quote:
cat /etc/sysconfig/network-scripts/ifcfg-eth0
|
DEVICE=eth0
BOOTPROTO=static
IPADDR=192.168.0.2
NETMASK=255.255.255.0
NETWORK=192.168.0.0
BROADCAST=192.168.0.255
ONBOOT=yes
HWADDR=00:10:a4:7a:38:91
MII_NOT_SUPPORTED=no
WIRELESS_ENC_KEY=""
eth0 Link encap:Ethernet HWaddr 00:10:A4:7A:38:91
inet addr:192.168.0.2 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::210:a4ff:fe7a:3891/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1480 errors:0 dropped:0 overruns:0 frame:0
TX packets:1676 errors:0 dropped:0 overruns:0 carrier:0
collisions:73 txqueuelen:1000
RX bytes:377885 (369.0 Kb) TX bytes:264403 (258.2 Kb)
Interrupt:11 Base address:0x5000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1862 errors:0 dropped:0 overruns:0 frame:0
TX packets:1862 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:138300 (135.0 Kb) TX bytes:138300 (135.0 Kb)
C:\Documents and Settings\Ziggy>ipconfig
Windows IP Configuration
Ethernet adapter Local Area Connection 2:
Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 192.168.0.1
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
PPP adapter {A84D7F5A-3644-47DF-B623-47FEDD1ADCC1}:
Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 172.212.94.223
Subnet Mask . . . . . . . . . . . : 255.255.255.255
Default Gateway . . . . . . . . . : 172.212.94.223
Any help would be greatly appreciated. Thanks in advance