View Full Version : Wan Settings Are they Correct ?
shag69
04-20-2002, 09:43 PM
I am trying to get my Webserver going... not happening so far. I am attempting to have one web server, one mail server, and one G4 workstation plus a PC on line The Sever has port 80 forwarded to the Built in Ethernet IP address 192.168.1.101.I am wondering if i am placeing incorrect values into the Wan settings in my Linksys Router. Still can't type in my static and come up with my index.html
WAN QUESTIONS
Q1. I have my static ip address in wan ip 24.68.100.254
I have my subnet mask at 255.255.255.0
I have my default gateway set to 24.68.100.10
I have my DNS set to 24.68.255.196 and 24.69.255.213
These are all provided by my isp... Am i doing something wrong?
Q2. Lan Settings = 192.168.1.1 which is the router address is this correct?
Q3. On the Setup Tab in the linksys Utility has a place to put the Domain Name andRouter Name... Do i place any values in there?
Q4. Subnet mask in the LAN IP is 255.255.255.0 and my WAN IP is also 255.255.255.0 will this creat a conflict?
Any help troubleshooting my network is greatly appreciated and i look forward with great anticipation to be doing a "yahoo" and day now.
Shag
shag69
04-20-2002, 11:37 PM
Just to let you know that in my DomainName Company's, Manage Name Server Tab,
My Primary= terminator.zip-tech.net
Server IP Address = 24.68.100.254
__________________________________________
Ok now in system prefs on the OSX Server... in SHARING... NETWORK IDENTITY
"Allow Remote Login" = empty
"Computer Name" = Terminator.ziptech.net
"IP Address" = 192.168.1.101
_________________________________________
Don't forget that i have forwarding to port 80 to IP 192.168.1.101
and my IP for the built in ethernet is set to 192.168.1.101
___________________________________________
Still not working... I know that i am missing something... but i wish i knew what it was or i wouldn't be having this problem...
_________________________________________________
FYI when i pug in the OSX Server into the cable (straight in) it will resolve and i will see the index.html (generic page in the sites forlder) open.
Can i not use a linksys router.... what am i doing wrong?
Shag
shag69
04-21-2002, 01:40 AM
and not enough certainty.. He he:D So one more thing.... should i have the linksys router set to Router or Gateway...?
russh
04-21-2002, 08:31 AM
This may be a case of "the blind leading the blind" because I'm still working this out with my new linksys router too.
In your OS X/System Preferences/Network panel, is the machine set to "static" or "dhcp"? In order to forward port 80 it has to be static. It sounds as though this might be your issue, since everything works without the router's in the the chain.
Be aware that linksys instructions are not up-to-date on this issue. You CAN leave the linksys router set to dole out addresses in DHCP mode, but set the ip address in your computer's Network settings to "static". Just type in the info. It goes something like this.
IP:192.168.1.100
Router (gateway): 192.168.1.1 (the address of your router, which you are using as the gateway.)
Subnet Mast: 255.255.255.0
and (very impt):
your Domain Name Servers. You'll enter the two dns number's provided by your ISP. Unlike DHCP, this will not work unless you plug those in too.
With these settings, port forwarding should work.
Btw, how did you get so lucky to get a static ip address from your ISP? Who are you using?
I'm using DHCP from my ISP. It really works okay, just a few more things to set up using dyndns.org.
Oh, one last thing: your computer "name." If you set this up in the System Preferences/Sharing setting, it should just be "Terminator" not "Terminator.yourdomain.com". (At least that is my understanding. )
Hope this helps. I'm probably going to have questions for YOU and others myself. I'm just getting going with this server setup myself.
shag69
04-21-2002, 09:24 PM
Actually i do have the settings in System Prefs on Static (or Configure: Manually), and also the computer name resolves itself when i had it hard wired right into the card without the Linksys... appreciate your taking the time to answer me though...
Oh yes, my ISP is Shaw Cable, i have the SOHO package... 19 bucks more for the static ip... good deal eh?
STILL NOT ON LINE YET...!!!! COME ON GUYS HELP OUT PLEASE.....
Shag
shag69
04-22-2002, 01:00 PM
I am still having troubles with this. I think all my settings are correct, yet they do not want to work.
I am perplexed
shag
bluehz
04-22-2002, 10:49 PM
It sounds like you pretty much have it setup correctly.
I am wondering if you might have the same problem a lot of people have with various ISP's using the Ethernet address of your machine (or cable modem) as the identifier for your setup.
In other words - when you first signed up for cable/DSL service and hooked up to their service - they probed your Mac and/or your machine for the unique identifying ethernet address of that piece of equipment call your MAC (not to be confused with Macintosh) address. Your account is then set to work only with that ethernet address identified piece of equipment from then on out.
Since you said that your setup works when you plug the Mac directly into your modem - we can assume that the (MAC) ethernet address of your Macintosh is the address they have keyed into.
Luckily - Linksys routers have a built-in facility for cloning. Basically what you will do is tell your Linksys Router (which has its own MAC address - different from your machine address) that it should mimic the Macintosh address. This way your ISP sees the correct MAC address that you originally registered the account with.
What you will need to do is first locate the MAC address of your Macintosh (or whatever machine you said works when you plug it in directly). Open the Network Preferences > TCP/IP and look in the lower left corner and you will see the ethernet (MAC) address of your machine. Leave the window open so you can see it.
Now access your router setup pages 192.168.1.1. Click the ADVANCED tab across the top. When the page finishes loading - click the MAC ADDR CLONING tab. Now enter in EXACTLY the same numbers shown in your TCP/IP panel ethernet address. Close out the settings.
To clean up nicely - you might want to reset everything. Shutdown the Mac, the router and the modem. Bring the modem back online, then the router and then the Mac.
Maybe that is the problem - I know that was my problem when I moved from one city to another..befuddled me for a while.
Let us know...
shag69
04-23-2002, 02:38 PM
do i nee to update my utility
all i have are
1. filters
2. forwarding
3. dynamic routing
4. static routing
5. DMZ host
I will call my isp and see if they can reset the mac address... possibly this may help
Write later to tell you what happened
Shag
bluehz
04-23-2002, 02:51 PM
yes - if the cloning tab is not there - then you prob need to update the firmware on the router. Although - if you just purchased it I can't imagine it not having a recent firmware update.
Look on the STATUS tab and see what the firmware is noted as.
You can d/l and install new firmware from instructions here:
http://practicallynetworked.com/support/linksys_router_help_pg2.htm
in general this is a great site for info about networking, routers, Linksys, and others. I have learned a lot from here:
http://practicallynetworked.com
The process is fairly straighforward - download a BIN firmware update and install it into the router. Unfortunately all the firmware updating software is PC. There is a nice Mac software (OS 9 only) that I usually use cal MacTFTP (links on the pages above). Runs fine in Classic. There is a method of updating via the terminal - but I have never had much luck with it.
Depending on your ISP they may or may not approve of you using a router on your connection. Since you pay for a static IP - they may be ok with it. Anyway - what I am getting to - if you think they are cool - then you might call them and ask them if they use ethernet MAC addresses to identify their accounts. If they say "yes" then you can pretty much be assured the MAC cloning will solve your problems...if they say "no" they don't care what the MAC address at your location is - then you are pretty much back at step one of solving the problem.
Hope tha helps....either way you prob want to update your firmware anyway. I don't like the latest 1.42 firmware that is on the LinkSys site so after updating I downgraded back to the 1.4.0 that is listed on the PracticallyNetworked pages. You might try that first.
shag69
04-23-2002, 09:19 PM
The ISP says that i cannot have (not to thier knowledge anyway) a DNS server on my set. This is the trouble as it is not resolving( my isp checked). How do i run a dns server on this box so i can tell the rest of the world that my site is here on my box?
does just starting the DNS Server do it or how do i configure it....
Shag
shag69
04-23-2002, 09:20 PM
I was told that i need to have two domain name servers for it to properly resolve... is there anyway of getting aroung it.???
Shag
bluehz
04-24-2002, 12:06 AM
Running a DNS server is opening a whole other can of worms. It is definitely not for the squeamish, and definitely for experts only. I don't know that it is really necessary actually. In most case - the place where your domain is registered maintains the DNS for your domain name. Visit their site and you should see something about maintenance, account setup, etc. Inside there you will find setting to point your domain name to your IP. Then let them handle the DNS translation to the rest fo the net.
Did you have any luck actually getting through the router with your machine after cloning the ip or having the ISP change the MAC address to match the router?
shag69
04-24-2002, 02:17 AM
I tried and failed again, it was there just as you said it was! (once i updated the firmware, i purchased my linksys some time ago) But still no luck.... I tried to plug in the mac straight into the Built in Ethernet.... It will resolve to the sites folder index.html file (from my box) and the ISP told me he could'nt get to my Static ip (he said something about it not resolving because it was a matter of the DNS Server not responding to requests.....?)
I am at a loss, and do not know where to start from here...., any ideas?
Thanx for all your support bluehz.
Shag
bluehz
04-24-2002, 07:32 AM
I can ping your IP - 24.68.100.254
g4x:~] % ping 24.68.100.254
PING 24.68.100.254 (24.68.100.254): 56 data bytes
64 bytes from 24.68.100.254: icmp_seq=0 ttl=126 time=174.157 ms
64 bytes from 24.68.100.254: icmp_seq=1 ttl=126 time=125.913 ms
64 bytes from 24.68.100.254: icmp_seq=2 ttl=126 time=187.113 ms
64 bytes from 24.68.100.254: icmp_seq=3 ttl=126 time=137.482 ms
64 bytes from 24.68.100.254: icmp_seq=4 ttl=126 time=156.566 ms
64 bytes from 24.68.100.254: icmp_seq=5 ttl=126 time=140.821 ms
64 bytes from 24.68.100.254: icmp_seq=6 ttl=126 time=174.809 ms
64 bytes from 24.68.100.254: icmp_seq=7 ttl=126 time=125.183 ms
When I do a WHOIS 24.68.100.254
Whois Server Version 1.3
Domain names in the .com, .net, and .org domains can now be registered
with many different competing registrars. Go to http://www.internic.net
for detailed information.
TERMINATOR.ZIP-TECH.NET
ROGUE.LTLMEDIA.NET
To single out one record, look it up with "xxx", where xxx is one of the
of the records displayed above. If the records are the same, look them up
with "=xxx" to receive a full display for each record.
>>> Last update of whois database: Wed, 24 Apr 2002 05:01:13 EDT <<<
The Registry database contains ONLY .COM, .NET, .ORG, .EDU domains and
Registrars.
When I do a whois TERMINATOR.ZIP-TECH.NET
g4x:~] % whois TERMINATOR.ZIP-TECH.NET
Whois Server Version 1.3
Domain names in the .com, .net, and .org domains can now be registered
with many different competing registrars. Go to http://www.internic.net
for detailed information.
Server Name: TERMINATOR.ZIP-TECH.NET
IP Address: 24.68.100.254
Registrar: TUCOWS, INC.
Whois Server: whois.opensrs.net
Referral URL: http://www.opensrs.org
So it looks like the DNS server is resolving fine to your ip address. Although I am no clear in why the WHOIS for your IP is showing 2 domain names:
TERMINATOR.ZIP-TECH.NET
ROGUE.LTLMEDIA.NET
I am not a real expert on DNS - but it doesn't seem like that is correct. I tried going to each address above as a web page - and nothing came up.
Did you clone your MAC address (put your Macintosh ethernet address onto the router)?
shag69
04-24-2002, 10:53 PM
I cloned the mac address and so far it shoud be working, but still not.
I had the server working a while ago, once upon a time with a so-called-friend... who changed the root password (and denied it, can u imagine that.... my company server, with company information on it.... had to boot with an X disc to crack the password.l) leaving me stuck to figure it out on my own) he called it rogue.ltlmedia.com so it is still reg with this name.... how do i change this..... maybe it is the solution.
I need to figure out the dns (how to do it) and have it point to my box.
Shag
mholloway
04-30-2002, 06:11 PM
Ok, first of all let's take it one step at a time. Before getting into mail servers and so on, lets try to get the web server up. That is step ONE.
You are leasing an IP address from your ISP for a monthly fee. That means your domain name ( www.yourname.com ) should be in your ISP's DNS servers and you should not be running your own. Otherwise other servers on the internet will not know how to find YOUR DNS server, only your ISP's, since they own the block of 24.68.100.1 - 24.68.100.254.
Once your ISP has your domain name in their DNS server, which is basically resolving www.yourname.com to the IP address 24.68.100.254. Once that happens, you Linksys router is intercepting the request and now has to forward it to the inside of your network, the 192.168.1.0 network. This is called Network Address Translation, or NAT for short. The Linksys is providing a conduit from the "outside world" of the Internet to an IP address on the inside of your network and only the Linksys will know which one of the 192.168.1.0 address to forward the web request to. One thing about NAT is that you cannot translate a single "outside" IP address such as 24.68.100.1 to multiple (different) internal IP addresses.
For example, your ISP gave you one single IP address - 24.68.100.254. You have four computers running inside your network. Let's say one is for a web server, one is for sendmail, and another server is for DNS. You can't tell the Linksys to forward all incoming requests on 24.68.100.254 to three different servers internally..meaning the outside world has every request for web, mail, and DNS pointing to a single IP of 24.68.100.254, but once the request hits the Linksys you are telling it (in simple terms) if it's a web request, go to 192.168.1.10, if it's sendmail go to 192.168.1.20, and if it's DNS go to 192.168.1.30. NAT only allow a one-for-one translation - basically its all or nothing. All requests coming into 24.68.100.254 must tranlate to only one 192.168.1.x IP address. There is a way around this, called Port Address Translation, but that is above and beyond the scope of this equipment. Regardless, your ISP should definitely be hosting your DNS for you.
Ok, getting back to "one step at a time" - try running only the web server with your ISP hosting the DNS. That is the correct way to do it. In the router translate the 24.68.100.254 IP to your 192.168.1.x IP address, X being the IP of your web server. Keep the web server at port 80 (default), and never assign a server DHCP. Whether it works or not isn't the issue, it's just not good ethic in the world of Server Administration. If you ever work for a company and get into OpenView, CiscoWorks, Net Health, SNMP and RMON stuff, you'll know why. Always assign a server a static IP address. My Linksys router has a DHCP pool of 192.168.1.100 - 192.168.100.200. This allows me to use 192.168.1.1 - 192.168.1.99 for static IP address, yet there are 100 DHCP addresses if I ever need them. Some people think it's an all or nothing configuration, but its not. You have a "pool" or "block" of addresses reserved for static and some reserved for DHCP. The router is smart enough to keep track of what's in use and what's not.
I hope this is a good starting block. Once you get this part up and running we'll move to the next.
Regards,
Mark
:)
shag69
05-01-2002, 09:07 PM
I really really appreciate your help with my adventures. I have learned alot getting to the stage i did. I am going to be hosting on a friends server who has a hosting company at the Harbour Center in Vancouver B.C. It is one of the fastest internet pipes in the world, and i get 300 MB of space on a 100mbps connection for 75 bucks with as many Domains and Email address's i require.... i have two companies lined up already at 40.00 per month for web-hosting and site management. They won't even user 10 MB combined. This company has a neet utility useing internet explorer for the interface to manage the sites and emails.. (if they don't pay i can disable thier site he he)
Well just writing to thank all of you for the useage of your brains.
Peace out
Shag
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.