Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

home networking. 1

Status
Not open for further replies.

smurray723

Technical User
Apr 7, 2003
14
NL
hey everyone....

im trying to setup a little home network with the following..

baytel 101 10base t hub
verizon dsl westell modem
windows 2000 (on a hp 512n)
sparc 5 with solaris 8

my problem is...i have everybody plugged into the hub...i can gain acess from the windows 2000 to the verizon dsl...
but i cannot get my sparc 5 to get out to it...i cant even ping the sparc 5 and the sparc 5 cant ping out....oh..and i cant even ping the sparc 5 from the sparc 5

my final wish is to set up a tiny little network with these 3 devices and to be able to ftp between the 2 o/s's and have interenet access on the sparc 5....
so..starting from the top...what do i need to do/check/modify on the sparc 5 to get out?

thank you for all your help in advance...
~a dummy
 
Have you assigned a hard address to the Sparc 5? Do an ifconfig -a, do you have an IP address?
Create a file called resolv.conf in the /etc directory and place your dns information in it.

Create a file called defaultrouter in the /etc directory and place your gateway address in it.

Copy the /etc/nsswitch.dns file and rename it to nsswitch.conf.

 
hey there!

ok..i will try this tonite...if i do not have an ip i create it by the following right?

set <ip addy> 1 correct??

the sparc 5 will not be using dns..i was gonna do dhcp...this is because the dsl modem that is connected to the hub uses dhcp....will this have any affect on the resolv.conf?...should i not create it now?

thank you for your quick response!! i really apprecitate it :)

~me
 
The DSL modem only assigns one IP address for your main machine unless you paid to have additional IP addresses, in that case you would assign static IP addresses.

How are your other machines getting out to the internet? Do they use DHCP?

I would run the sys-unconfig command to change your network and host settings. This only changes this data, nothing else.
 
well i stand to be corrected then...i have not paid for additional IP's...however, i found this to be interesting...i ran this command ifconfig from my cmd on my windows 2000...(which was originally connected directly to the westell modem that verizon provides..but is accessed by my windows from the hub mentioned above)

it gives me an ethernet ip and a subnet mask

<my ip add>
subnet mask 255.255.0.0
and no default gateway

then this underneath

ppp verizon

<another ip addy>
subnet mask 255.255.255.255
<default gateway (which of course is the ip addy)>


so my question is...which one do i use?? do i need to also run the route add default command?...and is this dhcp?? god im soo confused!....sorry..
 
i cant ping to or from the sparc 5....but the windows box works fine...strange huh?...then again...i should try and the sys-unconfig and start from scratch...

im just confused what subnet i should be setting into the sparc 5 as well as what default router to put into the defaultrouter file in /etc

here is what im trying to in a picture..(if it helps)

HUB
------------------------------
| | |
westell win2k pro sparc 5
dsl mod.

the win2k gets to the modem via the hub no prob..internet access and everything...i have link lights on both ends of every piece of equipment...there is no pinging from or to the sparc5....win2k cant see it....

should i start over with sys-unconfig?
 
You definetly need to use a static IP address. The subnet you need to use is 255.255.0.0. You do not need a defaultrouter file if you are not planning to be on the internet with the sparc 5 box. If you end up wanting out, then place the IP address of the DSL Modem into the /etc/defaultrouter file.

Run the sys-unconfig and answer the questions it provides, choose not to use IPv6 and no DNS. You do not need the nsswitch.conf, resolv.conf, or defaultrouter files if you plan on staying on your local network.

Add your win2k machine to the /etc/hosts file on the sparc 5 and you should be good to go.
 
awesome!!..thanks for helping me out here...
i will try this tonite when i get home and post
what happened tomorrow morning ok?

thanks again for all your patience and persistance!!!

~sean
 
good morning!...sorry i never got a chance the other day to do this..but last nite i did...here are the results..

i still cannot ping my w2k (itsyou) from the sparc 5 (itsme)..here is the output from pinging below

ICMP Host Unreachable from gateway itsme (192.168.1.1) for icmp from itsme (192.168.1.1) to itsyou (68.110.130.171)

it will spit the message out continuously until i interupt with conrl-c

i still cannot ping my sparc 5 (itsme) from the w2k (itsyou)
here is the output...

C:\>ping 192.168.1.1

Pinging 192.168.1.1 with 32 bytes of data:

Reply from 10.9.93.1: Destination net unreachable.
Reply from 10.9.93.1: Destination net unreachable.
Reply from 10.9.93.1: Destination net unreachable.
Reply from 10.9.93.1: Destination net unreachable.

Ping statistics for 192.168.1.1:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms

Imagine my surprise when its trying to ping FROM that address...here all along i thought it was 68.110.130.171
as indidcated here when i do ipconfig on the w2k box...here is the output..
C:\>ipconfig

Windows 2000 IP Configuration

Ethernet adapter Local Area Connection:

Connection-specific DNS Suffix . :
Autoconfiguration IP Address. . . : 169.254.97.234
Subnet Mask . . . . . . . . . . . : 255.255.0.0
Default Gateway . . . . . . . . . :

PPP adapter Verizon Online:

Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 68.160.131.231
Subnet Mask . . . . . . . . . . . : 255.255.255.255
Default Gateway . . . . . . . . . : 68.160.131.231

C:\>so then i thought i would ping from the sparc 5 to that other IP and here is the output...


ICMP Host Unreachable from gateway itsme (192.168.1.1) for icmp from itsme (192.168.1.1) to 10.9.93.1

...keep in mind when i tried to ping the w2k i also updated the /etc/hosts file to indicate the address i was trying to get to that particular time..

on the sparc 5...
the gateway is set at 255.255.0.0
the /etc/defaultrouter is 169.254.97.234
when i ran sys-unconfig i took ipv4 over ipv6 and no dns
i copyied the /etc/nsswitch.dns and renamed it nsswitch.cong

i am sooo lost!!...uggh..please help!

Thanks again..
Sean


 
Your /etc/defaultrouter address should be the address of the DSL Modem.

What IP Address did you give the Sparc 5 box?

If you are going to go through your dsl modem, you will also need to add an /etc/resolv.conf file with the dns server address in it. You will also need to copy the /etc/nsswitch.dns file to /etc/nsswitch.conf.

If you plan on using just your internal network, you will not need a defaulrouter file nor the 2 files mentioned above.

If you want an easier way of doing this, add a Cable/DSL Router to your network. It will look like this:

Router
---------------
| |
Hub DSL Modem
/ Win2K Sparc5

Configure the router to use DHCP or Static IP.

Hope this helps
 
looks like a good idea...i will go pick up a router...but probably not till this weekend..

here is another thought however...doesnt a unix box want by nature act as a router? is there a way to route through the sparc 5?

just a thought...

thank you sir...
sean
 
oh by the way...i didnt answer your questions...
/etc/defaultrouter address is the dsl modem 169.254.97.234

the ip of the sparc 5 is 192.168.1.1


i am attempting to get to the dsl modem via the hub for the sparc 5...but since i am not using dns so i did not set up an /etc/resolv.conf...i did however copy the /etc/nsswitch.dns to /etc/nsswitch.conf

i wanted to try and hook up a network between the w2k box and sparc 5 and have internet access for both by using the hub and dsl/modem...i suppose in esence the dsl/modem is acting like a gateway huh?

sean

 
oh by the way...i didnt answer your questions...
/etc/defaultrouter address is the dsl modem 169.254.97.234

the ip of the sparc 5 is 192.168.1.1


i am attempting to get to the dsl modem via the hub for the sparc 5...but since i am not using dns i do not set up an /etc/resolv.conf...i did however copy the /etc/nsswitch.dns to /etc/nsswitch.conf

i wanted to try and hook up a network between the w2k box and sparc 5 and have internet access for both by using the hub and dsl/modem...i suppose in esence the dsl/modem is acting like a gateway huh?

sean

 
The address 169.254.97.234 looks like it is the IP address of the Win2K box from what is posted above. If you get a router, you will set up a private LAN behind the router, and the router address will be your gateway.

Since you are using the hub between your DSL modem and the win2k machine, the win2k machine is getting the DHCP address of 169.254.97.234.
 
i will first try resetting the etc/hosts file to point to the 169.254.97.234 and see if i have any luck that way..

i like the idea of setting a lan behind the router..(which is probably a better practice for security reasons id imagine?)

i really appreciate you hanging in here...i probably wont get around to this till the weekend..but i will update you as i go along...

thanks again!!

sean
 
Hi..its me again..

I am wondering if you know anyone out there knows of a router/switch that can handle the following....

(2) hp512n running win2k
(1) compaq desktop running linux 7.3
(1) sparc 5 running solaris 8

these computers make up my home network connecting to a dsl modem....i looked at the linksys website but it appears all their products are only for windows o/s's.

Can you direct me somplace that makes a router/switch that fits my needs?

Thanks!
~Sean
 
hey tehre!! long time no talk...im up and running now..thank you very very much for all your help!

just one my question if i may...
i am wondering how do i set up telneting/ftp'ing between the boxes on my network??

is this simple?

thanks again..
sean
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top