I am attempting to setup up an Apache server on a dynamic network going through a Linksys Router.
The Linksys Router IP addresses are updated by the ISP. This assigns the Gateway and DNS servers.
Router Configuration:
Current Time : Wed, 31 Aug 2005 03:39:22
MAC Address : xx:xx:xx:xx:xx:xx
Router Name : WRT54GS
Host Name : mind
Domain Name :
www.hingedmind.com
Configuration Type Login Type : Automatic Configuration - DHCP
IP Address : 24.205.232.14
Subnet Mask : 255.255.255.0
Default Gateway : 24.205.232.1
DNS 1 : 66.215.64.14
DNS 2 : 24.205.1.14
DNS 3 : 24.205.224.36
MTU : 1500
On the LAN however, the Linksys Router’s IP address is 192.168.1.1.
Local Network Configuration:
MAC Address : xx:xx:xx:xx:xx:xx
IP Address : 192.168.1.1
Subnet Mask : 255.255.255.0
DHCP Server : Enabled
Start IP Address : 192.168.1.100
End IP Address : 192.168.1.103
I setup the SuSe / Apache server to be a static IP address (192.168.1.200) which is outside the range the Linksys Router issues. I have the router set for the maximum number of clients to be four. Therefore, the range for the LAN is 192.168.1.100 - 192.168.1.103.
I also set the SuSe server to use 192.168.1.1 as the default Gateway address. This is the default LAN address of the Linksys router.
I set the server static IP address through the YaST / Network Devices / Network Card / Host Name - Server Name and turned off DHCP update (SuSe Enterprise 9).
I then setup a port forward on the Linksys router to point all "HTTP" and "HTTPS" requests to port 8000 on server 192.168.1.200. I am going this route because I suspect my provider is blocking port 80, which is the default port for HTTP.
Result:
When I type the URL in a browser on the SuSe server
http://www.hingedmind.com:8000 the correct page displays. Anywhere else on the LAN or outside shows the default “Page cannot be displayed”
mind: # lsof -i tcp:8000
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
httpd2-pr 2949 root 3u IPv6 951843 TCP *:irdmi (LISTEN)
httpd2-pr 2950 wwwrun 3u IPv6 951843 TCP *:irdmi (LISTEN)
httpd2-pr 2951 wwwrun 3u IPv6 951843 TCP *:irdmi (LISTEN)
httpd2-pr 2952 wwwrun 3u IPv6 951843 TCP *:irdmi (LISTEN)
httpd2-pr 2953 wwwrun 3u IPv6 951843 TCP *:irdmi (LISTEN)
httpd2-pr 2954 wwwrun 3u IPv6 951843 TCP *:irdmi (LISTEN)
httpd2-pr 2962 wwwrun 3u IPv6 951843 TCP *:irdmi (LISTEN)
httpd2-pr 2963 wwwrun 3u IPv6 951843 TCP *:irdmi (LISTEN)
Questions:
1) Anything obvious?
2) Do I need to go into the /etc/services file and define port 8000 for http like 80 is?
Currently it is assigned to:
Port Status Protocol and Application
8000 OPEN! irdmi
iRDMI
3) Why is it that when I set the server to a static IP address of (192.168.1.200) the Linksys Router still shows it as (192.168.1.103 or one of the other IP addresses it assigns to the local network) when I show the “DHCP Clients Tables” from the Linksys Router.
4) Anything new I can try?
Everything worked fine before I relocated to a new state. Now nothing works. I also changed cable broadband providers in the relocation. I think they are blocking certain ports.