On Tue, Feb 19, 2002 at 10:48:35AM +0200, Moloko Monyepao wrote:
> Date:         Tue, 19 Feb 2002 10:48:35 +0200
> From: Moloko Monyepao <[EMAIL PROTECTED]>
> Subject:      Hostname Lookup failure
> To: [EMAIL PROTECTED]
>
> My redhat 7.2 uses CTC through one of my OS390 to the network. So I have
> configure TR0 direct to the 2216, when I bring down the CTC and bring up
> TR0 through the following command:
why bring down the CTC?
why bring it up, if you're not going to use it?

> ifconfig tr0 147.110.49.17 netmask 255.255.255.252 broadcast
> 147.110.49.19 gw 172.20.15 85 mtu 1492 up
huh?

I could understand something like...
statement 1:
  ifconfig tr0 147.110.49.17 \
    netmask 255.255.255.252 \
    broadcast 147.110.49.19 \
    mtu 1492 up

statement 2:
  route add default gw 147.110.49.18


THINK:
Net     147.110.49.16  <-- we are here
L390    147.110.49.17  <-- this is me
OTHER   147.110.49.18  <-- this way to the rest of the world
bcast   147.110.49.19  <-- both of us

I don't know what 172.20.15 85 is meant to be, but there's no way
anything in 147.110.49.16/30 is going to know how to get there if
the OTHER guy at 147.110.49.18 doesn't know the way.


> I get the following error "gw: Hostname lookup failure".
small wonder, this box has no WORKING default route
for the name-service to resolve from.
I ASSuME that /etc/resolv.conf says something like
  domain blah.com
  server 10.10.10.10
and that resolv just can't get an answer from 10.10.10.10

> When I leave the CTC's up my TR0 comes up ok, whith no error.
OK, then the hardware works on both sides, now all you have to do
is configure it.

ifconfig the tr0 up, set the default route to whoever is on the OTHER side
of the tr0 (there's only 1 other address there, so it can't be that
difficult).

There is only ever 1 default route (that's what 'default' means).
If it works after statement-2 above, you're OK,
else fix the OTHER box at 147.110.49.18.

> Please assist
> Moloko
Richard
--
You don't build reliable bridges by refusing
to let anyone see the plans. === Alan Cox ===
Have a nice day ;-) Richard Higson mailto:[EMAIL PROTECTED]

Reply via email to