LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 01-16-2005, 03:02 AM   #1
riluve
Member
 
Registered: Nov 2004
Distribution: CentOS-4
Posts: 142

Rep: Reputation: 15
HTTP Strangeness


I am learning my way around RH ES v3. After installing the OS, I moved the system from a downstream switch so that it was then connected directly to the router/gateway. I did this for physical location, not because of any other difficulty.

After moving the system, I immediately noticed that Mozilla was unable to connect (in fact during boot it was also unable to connect to the time server or the RH network in general).

To make things even more odd, I was still able to log in with SSH from another machine. So, I dug through the RH configuration files - everything looked fine, everything pinged properly etc.

Finally, I logged into the router admin panel -with the RH machine and it was able to do this without any modifications to the configuration. After logging into the router admin panel (where everything looked fine), what do you know, the machine was then able to connect outside the LAN again (e.g. this site). To be clear, after installation, before moving the system, it connected to the WWW flawlessly. After I moved the machine, it immediately could not connect to the WWW. Without changing anything, simply logging into the router admin panel, fixed the issue.

When I describe this event - the first thing I would suspect is the router being confused by the machine changing location, but I have never seen this behavior on a Windows machine. My next thought is, it looks like the IP address (once assigned during installation) is always static with RH. So maybe, the router didn't like the new path for the existing address, but this is speculation on my part.

Thats is, it seems like Windows OSes don't take an assigned IP address as static unless you specifically tell it to do so. Thus, when a Windows machine is moved, maybe it takes extra care to re-establish a connection with the router, where RH is just saying - hey this is my address now recognize that I have moved.

Anyway - sorry, I guess I am rambling/ speculating - can anyone provide some insight?

EDIT: OK - sorry, probably this is the wrong forum it shouldn't be RH specific.

Last edited by riluve; 01-16-2005 at 03:09 AM.
 
Old 01-16-2005, 05:39 AM   #2
hmc
LQ Newbie
 
Registered: Aug 2004
Location: Denmark
Distribution: Centos, Fedora
Posts: 23

Rep: Reputation: 15
No www

Hi,

I presume that you have assigned a static IP address to your network interface. If so, the interface should come up reliably (OK at boot). The next issue is how to get from the interface to the rest of the world. You need to tell the OS the IP address of the gateway. I suspect that this is the problem.

Open the network section of the system settings. Double click on your device (e.g eth0). Then it will probably have the statically set IP addresses section selected. Therein you enter the IP address, subnet mask and default GATEWAY.

Try this first and see how it goes.

The routing table can be printed using the 'route' command. It should have an entry 'default' with an IP address for a gateway. You need to be able to reach (e.g ping) this address.
 
Old 01-16-2005, 09:34 AM   #3
riluve
Member
 
Registered: Nov 2004
Distribution: CentOS-4
Posts: 142

Original Poster
Rep: Reputation: 15
See, this is the thing - connected to my router I have a switch, then a WAP, a wireless bridge and then another switch. Both switches use the same default gateway (the router) 192.168.0.1

So, when I installed RH, the system was behind the wireless bridge, but had the exact same settings.

When I brought it forward, I connected it directly to the router - and it refused (for hours) to connect to the www.

So, the settings on the RH machine where all correct and it ended up I didn't have to change anything. Finally simply logging into the routers control panel got it working again.

I have just never seen this behavior on a windows machine (except when using static IPs then they get stubbern as well). But there doesn't seem to be a way to let RH have a truely dynamic IP (i.e. an IP that is request from the DHCP at every boot).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
apache: http://localhost (work) http://ipaddress (not working) sarmad Linux - Newbie 7 02-05-2013 07:47 AM
internet strangeness slackwarefan Slackware 2 11-29-2005 10:16 PM
strangeness with NFS hotrodowner Linux - Networking 1 05-15-2003 02:48 PM
Alsaplayer strangeness bjb123 Linux - Software 1 02-13-2003 09:39 PM
Samba strangeness jharris Linux - Networking 3 10-09-2001 03:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 10:06 AM.

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