At 11:23 AM 10/30/00 -0500, Shepard,Brian wrote:
> So, the only
>thing that I can think of is that Linux cannot deal with the network if you
>use an ISP that provides direct Internet access via T1 and configs his
>customers with static VIRTUAL IP ADDRESSES. I complained to the ISP & he
>said it's not his problem because my Win95 works fine. Any ideas????????
>Thanks in advance as I have been working on this problem for almost one
>year.
Have no trouble with 1-to-1 or many-to-1 NAT here. My guess, if they're
using a static IP that you actually have to configure rather than a nice
sensible DHCP or BOOTP system, is that it's probably a routing problem. I'd
suggest the following:
1. Boot into Win95 and run Winipcfg.
2. Write down the following info:
- IP address.
- Subnet Mask
- Primary DNS server
- Default Gateway
- DHCP Server (if any)
If it gave you an address for your DHCP server, then all you should need to
do under Linux is tell it to use DHCP (in Linuxconf, leave all the other
configuration options blank and check the "Use DHCP" box). Otherwise, if
your setup is what I suspect from your post that it is, you should then
boot into Linux and check the following:
3. Run ifconfig and look at the info for your adapter. All of the following
must be true for your adapter to be configured properly:
"inet addr:" should be followed by the IP address you wrote down in step 2.
"Mask:" should be the same as "Subnet Mask" in step 2.
4. Run "route -n" to list the contents of your routing table
You should see a line starting with "0.0.0.0" (and there should be ONLY ONE
line starting with "0.0.0.0" in the output, otherwise your routing table is
screwed up) and the next column to the right should contain an ip address
identical to the "Default Gateway" you wrote down in part 2.
If you find that you need to change any config stuff I recommend Linuxconf
for the adapter settings (it puts everything in one convenient spot) and
read the man page for route ("man 8 route") to learn how to modify your
routing table.
The only thing we haven't checked so far is whether or not you have at
least one working DNS server configured. Run "nslookup foo.org" the output
should consist of four lines, the name of your DNS server, the IP address
of your DNS server, the name foo.org and the IP address of foo.org (yes, it
exists. . . Pity I didn't register that one first) which should be 64.0.125.27
Which DNS servers you try to use is configured in /etc/resolv.conf.
If you're still having trouble I'd be happy to try and give you more
specific help. Please include the following info:
- The contents of /etc/resolv.conf
- The output of "ifconfig" (particularly collisions & errors may be of
interest)
- The output of "route -n"
- A description of what happens when you try to ping your own IP address.
i.e. if your static IP was 1.2.3.4 you would type "ping -c 5 1.2.3.4", and
just copy over the results if you don't understand them, otherwise
summarize ;)
- A description of what happens when you try to ping your default gateway
by it's IP address.
- A description of what happens when you try to ping 129.173.1.52.
If you're not new to UNIX ignore the following.
Command line I/O redirection is your friend. You can reduce all the above
info to an easily attachable form by doing:
echo "Resolv.conf:" > info.txt
cat /etc/resolv.conf >> info.txt
echo "ifconfig:" >> info.txt
ifconfig >> info.txt
echo "route -n:" >> info.txt
route -n >> info.txt
echo "Pings:" >> info.txt
ping <your IP addr here> >> info.txt
ping <your gateway here> >> info.txt
ping 129.173.1.52 >> info.txt
And then attach the info.txt file to your e-mail.
--
Irony: Bill Gates claims to be making a stable Operating System,
and Linus Torvalds claims to be taking over the world.
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list