Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
10-09-2002, 06:46 PM
|
#1
|
|
LQ Newbie
Registered: Oct 2002
Posts: 5
Rep:
|
Windows XP ICS & Linux Client
WindowsXP box is connected to internet via modem and ICS is enabled, static IP of 192.168.0.1 on the nic. Other windows PC's on the LAN have access to the internet via ICS no problem. They all obtain IPs via DHCP. I have tried both a static IP on the linux box as well as DHCP. Either way I can ping from linux to any other pc on the LAN, and the others can ping the linux box as well, so the network is running fine. When I run Netscape on the linux box and try an internet URL the status bar shows:
Connect: Contacting host valid.url.here
Connect: Host valid.url.here contacted, waiting for reply...
Of course, no reply is ever received or I wouldn't be posting this! Now, if the url happens to be bad (I tried this intentionally) I get an immediate response that Netscape is unable to locate the server (as expected) which seems to elliminate DNS issues. Anyone have any ideas or suggestions?
|
|
|
|
10-10-2002, 11:55 AM
|
#2
|
|
Member
Registered: Sep 2002
Location: IN, USA
Distribution: Debian, Slackware, Kubuntu, ClarkConnect, FreeBSD
Posts: 366
Rep:
|
Do you have the Win box's ip set as the gateway on your Linux box?
|
|
|
|
10-11-2002, 01:35 PM
|
#3
|
|
LQ Newbie
Registered: Oct 2002
Posts: 5
Original Poster
Rep:
|
Under "routing and gateways" of netconf the xp's IP is the default route with "routing enabled" unchecked.
|
|
|
|
10-11-2002, 03:04 PM
|
#4
|
|
Member
Registered: Sep 2002
Location: IN, USA
Distribution: Debian, Slackware, Kubuntu, ClarkConnect, FreeBSD
Posts: 366
Rep:
|
Look at the files in your /etc/sycofig directory.
Specifically take a look at your /etc/sysconfig/network and see if it looks something like this.
Gateway="eth0"
NETWORKING=yes
HOSTNAME="machine.domain.net"
GATEWAY="192.168.0.1"
FORWARD_IPV4="yes"
The Gateway should be set to whatever your win box's ip is.
|
|
|
|
10-11-2002, 09:51 PM
|
#5
|
|
Member
Registered: Sep 2002
Location: British Columbia
Distribution: Ubuntu
Posts: 46
Rep:
|
How about firewalls? I just finished setting up a dual boot Win98 and RH 7.2 box to do just that (share the Win XP box's DSL).
|
|
|
|
10-12-2002, 09:08 AM
|
#6
|
|
Member
Registered: Sep 2002
Location: IN, USA
Distribution: Debian, Slackware, Kubuntu, ClarkConnect, FreeBSD
Posts: 366
Rep:
|
What about firewalls? (not meaning to sound rude) Was that last post a question or comment? You lost me.
|
|
|
|
10-12-2002, 06:07 PM
|
#7
|
|
LQ Newbie
Registered: Oct 2002
Posts: 5
Original Poster
Rep:
|
Quote:
Originally posted by irish_rover
Look at the files in your /etc/sycofig directory.
Specifically take a look at your /etc/sysconfig/network and see if it looks something like this.
Gateway="eth0"
NETWORKING=yes
HOSTNAME="machine.domain.net"
GATEWAY="192.168.0.1"
FORWARD_IPV4="yes"
The Gateway should be set to whatever your win box's ip is.
|
Looks just like it with the exception of FORWAED_IPV4, was no, changed it to yes but made no difference.
|
|
|
|
10-12-2002, 06:27 PM
|
#8
|
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 42,707
|
well what does "route" say? it should contain that information mostly...
|
|
|
|
10-12-2002, 07:08 PM
|
#9
|
|
LQ Newbie
Registered: Oct 2002
Posts: 5
Original Poster
Rep:
|
Quote:
Originally posted by acid_kewpie
well what does "route" say? it should contain that information mostly...
|
Destination Gtway Gmask Flags Metric Ref Use Iface
192.168.0.0 * 255.255.255.0 U 0 0 0 eth0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default 192.168.0.1 0.0.0.0 UG 0 0 0 eth0
|
|
|
|
10-14-2002, 06:29 AM
|
#10
|
|
Member
Registered: Sep 2002
Location: IN, USA
Distribution: Debian, Slackware, Kubuntu, ClarkConnect, FreeBSD
Posts: 366
Rep:
|
Ok, hmmm, try taking a look at
/etc/sysconfig/networking/profiles/default/ifcfg-eth0
DEVICE="eth0"
ONBOOT="yes"
BOOTPROTO="none"
IPADDR="192.168.0.1"
NETMASK="255.255.255.0"
GATEWAY=192.168.0.254
TYPE=Ethernet
USERCTL=no
NETWORK=192.168.0.0
BROADCAST=192.168.0.255
PEERDNS=no
IPXPRIMARY_802_2="no"
IPXACTIVE_802_2="no"
IPXPRIMARY_802_3="no"
IPXACTIVE_802_3="no"
IPXPRIMARY_ETHERII="no"
IPXACTIVE_ETHERII="no"
IPXPRIMARY_SNAP="no"
IPXACTIVE_SNAP="no"
IPXNETNUM_802_2=""
IPXNETNUM_802_3=""
IPXNETNUM_ETHERII=""
IPXNETNUM_SNAP=""
|
|
|
|
10-14-2002, 02:13 PM
|
#11
|
|
LQ Newbie
Registered: Oct 2002
Posts: 5
Original Poster
Rep:
|
Well, now I have a bigger issue, the hard drive decided to spin no more. As soon as I find the time to put another one in and reinstall I will try again. Thanks to everyone who had input on this thread, it has been a learning experience. Luckily this was not a primary machine!
|
|
|
|
10-14-2002, 04:50 PM
|
#12
|
|
Member
Registered: Sep 2002
Location: IN, USA
Distribution: Debian, Slackware, Kubuntu, ClarkConnect, FreeBSD
Posts: 366
Rep:
|
Setup you networking as you do the install this time! (ha!) Sorry about the HD. Good luck with the new one.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
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
|
|
|
All times are GMT -5. The time now is 12:17 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|