Re: The network can't see past our router - the HPUX half, anyway

From: Kalin KOZHUHAROV (kalin_at_ThinRope.net)
Date: 05/04/03


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|
\|/______________________\|/


Relevant Pages

  • Re: Fileserver question
    ... >> another box running both 9.0 and Windows. ... >> computers in the same room and connected to a router. ... otherwise you will need to run a DHCP server on one ... > of the machines, preferably the server, or give both machines static ...
    (alt.os.linux.suse)
  • Re: Please Gurus here solve my simple nw problem
    ... >> the router by virtue of being directly connected networks. ... >> The hosts on USERLAN have to have 192.168.0.1 as their default gw. ... If this is the case, then most of the machines in USERLAN, including ... route intenet traffic over its DSL. ...
    (comp.os.linux.networking)
  • Re: The network cant see past our router - the HPUX half, anyway
    ... > PCs running Windows NT/2000, one running NT server, two sparcstations, ... It is a Cisco 1601/1603 router. ... > but I can't get the UNIX machines to see past the router to get this ... You need a two step route, ususally, i.e. ...
    (comp.sys.hp.hpux)
  • Re: Networking problem
    ... now for the router configuration. ... Run/open the routers web based configuration. ... Shut down all of the machines. ... >>> I finally got it to the point that from the desktop i can ping the ip ...
    (microsoft.public.windowsxp.general)
  • Re: Home Networking XP with ME machines.
    ... > Windows XP Pro installed on it and the other family members have ... All machines are equipped with NetgearNIC I/O ... The router is connected to a DSL modem cabled to the Internet. ... > Ethernet adapter Local Area Connection: ...
    (microsoft.public.windowsxp.network_web)