Re: The network can't see past our router - the HPUX half, anyway
From: Kalin KOZHUHAROV (kalin_at_ThinRope.net)
Date: 05/04/03
- Next message: Solaris Boy: "Re: want to put msg when user is denied login"
- Previous message: Dylan Reinhold: "Re: want to put msg when user is denied login"
- In reply to: Daniel Gowans: "The network can't see past our router - the HPUX half, anyway"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Sun, 04 May 2003 10:51:24 +0900
Daniel Gowans wrote:
> I am now working for a company administering about 8 unix machines, 10
> PCs running Windows NT/2000, one running NT server, two sparcstations,
> and a DOS machine running SUN PC-NFS. Luckily, everything
> communicates okay inside. But I am a network newbie, and am having
> trouble with the unix half of things:
>
> The windows PCs can see past our router to the rest of the company
> just fine. It is a Cisco 1601/1603 router. The unix machines,
> however, can only ping the router. The network inside uses the IPs
> 89.80.90.XXX and the IPs on the other side of the router/gateway are
> 10.1.221.XXX. I know the IP of the DNS outside in the 10.1... network
> but I can't get the UNIX machines to see past the router to get this
> service.
>
> I tried the "route add ..." command (sorry, don't remember it exactly)
> to add the gateway, but it just said "desination network unreachable"
You need a two step route, ususally, i.e.
1. Add route to your router/subnet (route add -net 89.80.90.0 netmask 255.255.255.0 dev eth0)
2. Add default route via router (route add default gw 89.80.90.1)
(assuming 89.80.90.1 is your router "internal" side)
To get it right check the config on the windoze machines (`route` ?)
> The unix machines aren't fully qualified. I don't even know how to
> give them a domain name. The subnet mask is set to 255.255.255.0,
> which may be a problem if the network IPs on the other side are
> completely different (don't ask me why the company did this, either)
Mask is correct if you use a router.
It depends of the distribution, but try `hostname` , `man hostname` , `echo "myhost.mydomain" > /etc/hostname`
What is your UNIX? HP-UX?
> Anyhow, I am looking everywhere for a book or an internet site or
> SOMETHING that will give me kind of a how-to on connecting a subnet of
> unix/hpux machines through a router to a larger network. I can't find
> anything that actually talks about what commands to type and the basic
> topology, and how to just build the thing form scratch given only that
> there is a domain hooked to the outside of the router. I am sure it
> isn't that simple, but the Windows machines can see through it...
Well, there are many good basic books around there. Do get one and read it. Then read some FAQs and many manual pages (route, ifconfig, ping, traceroute, netstat).
> Lastly, on a subnet without public IP addresses, does fully qualifying
> the computer do anything for me?
Saves you typing, so you can say `ping orange` instead of `ping orange.dom1.subdom.whatever.ourlongcompanyname.com` Just that. To get it working `echo search dom1.subdom.whatever.ourlongcompanyname.com >> /etc/resolv.conf`
It is a good idea to NOT cross-post to several groups, as there are servers which carry only some groups. As a result replying is not possible.
Kalin.
-- /|\^^^^^^^^^^^^^^^^^^^^^^/|\ |O| http://ThinRope.net/ |O| \|/______________________\|/
- Next message: Solaris Boy: "Re: want to put msg when user is denied login"
- Previous message: Dylan Reinhold: "Re: want to put msg when user is denied login"
- In reply to: Daniel Gowans: "The network can't see past our router - the HPUX half, anyway"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|