Hi,
We have tried the following to try and get the Linux LPAR to talk to the
rest of the network :
The ip details we used is :
147.110.49.16 - 4host subnet
255.255.255.252 - network mask
147.110.49.17 - host address for the TR0 interface on the Linux LPAR
147.110.49.18 - interface address on the 2216 router that provides
connectivity into the mainframe.
ifconfig tr0 147.110.49.17 netmask 255.255.255.252 broadcast
147.110.49.19
route add default gw 147.110.49.18 netmask 0.0.0.0 metric 0
This is what happens :
The route 49.16 appears on the 2216 routing table and shows that it is
directly connected to the Linux LPAR via the interface on the 2216.
We can then ping 49.17 from the 2216 and 49.18 from the Linux LPAR.
However we cannot get connectivity to the rest of our network.
I think that there needs to be some sort of routing protocol on the
Linux LPAR for this to work.Is there anything else that can be loaded
for this to be effective?
Thanks
moloko
> -----Original Message-----
> From: Post, Mark K [SMTP:[EMAIL PROTECTED]]
> Sent: 20 February 2002 18:23
> To: [EMAIL PROTECTED]
> Subject: Re: Hostname Lookup failure
>
> Moloko,
>
> You don't seem to be reading what I'm writing. The "route add"
> command is
> completely separate from the "ifconfig" command. Also, based on your
> other
> email, and Rob's reply, you're using the wrong IP address for your
> default
> gateway. That would have to be the 2216 router, not some other system
> elsewhere. Try these two commands (as shown, please):
>
> ifconfig tr0 147.110.49.17 netmask 255.255.255.252 broadcast
> 147.110.49.19
>
> route add default gw 147.110.49.18 netmask 0.0.0.0 metric 0
>
>
> Mark Post
>
> -----Original Message-----
> From: Moloko Monyepao [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, February 20, 2002 1:03 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Hostname Lookup failure
>
>
> Hi Mark!
>
> The following is the sequence of command I issued, tell me if the is
> anything extra that I need to do
>
> ifconfig tr0 147.110.49.17 netmask 255.255.255.252 broadcast
> 147.110.49.19 gw 172.20.15.85 mtu 1492 up
>
> > error "gw: Hostname lookup failure"
>
> route add default gw 172.20.15.85 netmask 255.255.255.252 dev tr0
> > error "SIOCADDRT: Network is unreachable"
>
> Please assist
> Moloko
>
> > -----Original Message-----
> > From: Post, Mark K [SMTP:[EMAIL PROTECTED]]
> > Sent: 19 February 2002 18:12
> > To: [EMAIL PROTECTED]
> > Subject: Re: Hostname Lookup failure
> >
> > You need to re-add the default route after you take down the CTC
> link:
> > route add default gw 123.456.789.abc netmask 0.0.0.0 tr0
> >
> > Substitute the correct IP address of the default gateway. (The one
> > you
> > showed in your example only has 3 parts of the 4 part address.)
> >
> > Mark Post