telnet, ftp, and ip address

Issues related to configuring your network
Post Reply
dancenqueen0
Posts: 1
Joined: 2014/11/02 21:44:43

telnet, ftp, and ip address

Post by dancenqueen0 » 2014/11/02 21:50:36

I have to connect from the centos linux virtual machine to windows using telnet and ftp. how is this done? also, how do you set a fixed IP address in centos linux?

igsmigs88
Posts: 29
Joined: 2014/07/23 20:46:29

Re: telnet, ftp, and ip address

Post by igsmigs88 » 2014/11/07 18:53:40

to set fix ip on centos 7

#systemctl stop NetworkManager
#systemctl disable NetworkManager

# vi /etc/sysconfig/network-scripts/ifcfg-eth0 - the card interface
DEVICE="eth0"
ONBOOT=yes
BOOTPROTO=none
NM_CONTROLLED=no
IPADDR=192.168.X.X
NETMASK=255.255.255.0
GATEWAY=192.168.X.X - FROM YOUR ROUTER

save that!

then restart

#systemctl restart network.service
#systemctl enable network.service

then install ftp with #yum install ftp -y

and then just type ftp ipaddress of the client

you can also install putty and with putty you can telnet or ssh to client or server

Post Reply