Will changing IP address affect 'rlogin'/'telnet'?

Will changing IP address affect 'rlogin'/'telnet'?

Post by qazm » Thu, 07 Aug 2003 20:22:49



Currently I have two machines SUNOne and SUNTwo.
Their IP addresses are:
SUNOne: 111.76.90.155
SUNTwo: 111.76.90.115

So far, I was doing 'rlogin' and 'telnet' from SUNOne to SUNTwo.

Now, for some reasons, the IP address of SUNTwo will be changed to
180.76.90.115. Will it be possible to do the 'rlogin' and 'telnet',
from SUNOne to SUNTwo, now? If no, what needs to be changed for
'rlogin' and 'telnet' to work?

 
 
 

Will changing IP address affect 'rlogin'/'telnet'?

Post by M?ns Rullg? » Thu, 07 Aug 2003 20:32:02



> Currently I have two machines SUNOne and SUNTwo.
> Their IP addresses are:
> SUNOne: 111.76.90.155
> SUNTwo: 111.76.90.115

> So far, I was doing 'rlogin' and 'telnet' from SUNOne to SUNTwo.

> Now, for some reasons, the IP address of SUNTwo will be changed to
> 180.76.90.115. Will it be possible to do the 'rlogin' and 'telnet',
> from SUNOne to SUNTwo, now? If no, what needs to be changed for
> 'rlogin' and 'telnet' to work?

Is SUNTwo moving to a different network, with a router connecting the
networks?  If yes, and your routing tables are correct, there should
be no problem.

--
M?ns Rullg?rd


 
 
 

Will changing IP address affect 'rlogin'/'telnet'?

Post by Martin Jos » Thu, 07 Aug 2003 20:57:50



Quote:> Currently I have two machines SUNOne and SUNTwo.
> Their IP addresses are:
> SUNOne: 111.76.90.155
> SUNTwo: 111.76.90.115

> So far, I was doing 'rlogin' and 'telnet' from SUNOne to SUNTwo.

> Now, for some reasons, the IP address of SUNTwo will be changed to
> 180.76.90.115. Will it be possible to do the 'rlogin' and 'telnet',
> from SUNOne to SUNTwo, now? If no, what needs to be changed for
> 'rlogin' and 'telnet' to work?

The old addresses are (assuming no sub-netting) in the same net.
The new ones aren't.
So you need a route between the two nets on each machine, probably by setting up a default route to a router which "knows" how to forward the packets. (Probably this is already done)

HTH

Martin

 
 
 

Will changing IP address affect 'rlogin'/'telnet'?

Post by Andreas Carnail » Thu, 11 Sep 2003 04:07:04



> Currently I have two machines SUNOne and SUNTwo.
> Their IP addresses are:
> SUNOne: 111.76.90.155
> SUNTwo: 111.76.90.115

What is your netmask? You've never told about this but it is very
important in this question!
If you are using netmask some like 255.255.255.0 - You;ll be able to
connect them whatever you want, but after moving machine - nope!
If you'll set netmask to 0.0.0.0 - it will work pretty! ;-)

Best wishes! :-)

 
 
 

1. sed -e 's/\'a\'/\';\'/' ?

Hi,

my question is, how can I mask the single
quotation mark in my file for sed

I have a lot of SQL-Loader files of this kind:

cat t55.ctl
load data
infile 't55'
truncate
into table A_220_T55
fields terminated by ';' TRAILING NULLCOLS
(AAA_000_KEY    char ,
B_220_BBB_LFD_NR char ,
AAA_220_BBB     char )

there is given a delimiter ';'

The delimiter should be changed to a.

#!/bin/ksh
#set -x
for file in t*.ctl
do
sed -e 's/;/a/' $file >$file.new
mv $file.new $file
done

That's ok.

Now the delimiter should be rechanged from a to ;.
I'd tried

sed -e 's/\'a\'/\';\'/' $file >$file.new

It doesn't work.

How to mask the single quotation mark inside the sed command?

TIA,

Nele

2. field length variation

3. Can 'require' override 'allow'/'deny' (Apache)

4. Linux Box and 95 Box, one static IP

5. My linux refuses 'rlogin' 'telnet' what is the problem??

6. Please recommend books

7. Problem in getting screen size when 'rlogin' and 'telnet'

8. New X7052A - Sun 4 Gig Memory Kits $21,500.00/ea Kit

9. 'w' shows '-' if telnet or rlogin to linux box

10. ping -g 'gateway-IP' 'host-IP' DOESN'T work!

11. Getting the IP address of a 'rlogin'ed user

12. Why does 'ls' give '/' as the output?

13. sed and '/' to '\/' conversion.