router problem with linksys router
Hi, I just purchased a sun ultra off of ebay, and it came with solaris 2.6, so I formated that and put mandrake corporate server 1.0 on. I currently have 2 other NT computers in my network. They are all connected to a 4 port Linksys router/switch. For some reason the sun server can only access the intranet (ftp, http, telnet, ping, samba, etc all work), but it can't get past the router to the internet. I assigned it as 192.168.1.102, but the router doesn't acknowledge that this computer exists on it's network. help, my machines hate me.
|
is the router set to be a gateway?
Have you checked weither or not that the new ultra has the correct address for the gateway? /etc/sysconfig/network-scripts/ifcfg-eth0. I think that the Linksys defaults to 192.168.1.1 as the gateway address, standard is 192.168.1.254. If you change it on the router you must reconfig all machines (unless using DHCP). It sounds like your ultra doesn't know where to hop from, first place I would look is to see if you have the correct address for the gateway.
Good luck, needamiracle |
should I be editing my resolv.conf file? right now it says:
search computer.net nameserver 192.168.1.1 #search computer.net #nameserver 192.168.1.1 ##search computer.net ##nameserver 192.168.1.1 ###search computer.net ###nameserver 24.71.223.144 ####nameserver 127.0.0.1 (i think i messed it up) The router says that it's DNS addresses are 24.71.223.144 and 24.71.223.144. Should I change my resolv.con file to search computer.net nameserver 24.71.223.144 nameserver 24.71.223.145 my machines still hate me |
Let the linksys deal with the name servers...
You can use any valid name servers, but what you need to edit/check is your /etc/sysconfig/network file. It will have basic info like:
NETWORKING=yes HOSTNAME=mycomputer.mydomain.net (insert your machine name here) GATEWAY=192.168.1.254 See if the settings in this file are correctly set, once you change them you will need to restart networking for the changes to take place. #service networking restart Tell me how it goes. needamiracle |
I edited that file, and I tried 192.168.1.254, 192.168.1.1 and 24.64.32.1 which the router listed as the default gateway. this is quite odd.
|
Use the address that you connect to your router to configure it. I own a linksys 8 port and to get the config screen from a browser it is 192.168.1.254. The default is 192.168.1.1. The default password is admin, there is no username. Are you using DHCP for your NT boxes or have you given them static addresses. What type of NIC is in the Ultra? Can you ping your NT boxes?
|
I can ping the NT boxes, and I can ping the router.
|
But i still cant ping outside sources. But when I try to ping say www.yahoo.com, it will give me the IP address of yahoo, which shows that the DNS server must be working.
|
what address do you use to ping the router? that is your gateway address. If you can ping www.yahoo.com then you are getting out. Do you have any funky port forwarding activated on the Linksys? Try using a different IP on the same subnet and restart the interface.
Next thought...Have you set your ULTRA to be a DMZ host on the router? My brother needs this to connect to Battle.net for Warcraft III. Let me know how it goes, |
i finally got the bastard to start working. I had to add forwarding to port 80 for httpd. now everything works! I dont understand why that had to be so hard. thanks for all of your help.
|
Right on...glad to be of help!
|
All times are GMT -5. The time now is 12:19 PM. |