ifconfig networking telnet
Posted
by jhon
on Stack Overflow
See other posts from Stack Overflow
or by jhon
Published on 2010-05-03T23:16:10Z
Indexed on
2010/05/03
23:48 UTC
Read the original article
Hit count: 516
Hi guys,
I'm newbie around networking, I have a question:
what I want is to telnet a specific IP/server, let us say 192.168.128.1
then, I try
$telnet 192.168.128.1
Trying...
and that's all.. I never get connected
one of my friends made some script that "fixes" it, AFTER running it I was able to connect to the server using
$telnet 192.168.128.1
$ user:
unfortunately I lost that script, so I'm here requesting your help. Reading my old notes, I remember that the script performed some modification to the entries listed by ifconfig -a, I also have the ifconfig's output (copy & paste)
$ ifconfig -a
adapter0:
flags=5e080863,c0<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST,GROUPRT,64BIT,CHECKSUM_OFFLOAD(ACTIVE),PSEG,LARGESEND,CHAIN>
inet 192.168.128.150 netmask 0xffffff00 broadcast 192.168.128.255
tcp_sendspace 131072 tcp_recvspace 65536 rfc1323 0
adapter1: flags=5e080863,c0<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST,GROUPRT,64BIT,CHECKSUM_OFFLOAD(ACTIVE),PSEG,LARGESEND,CHAIN>
inet 192.168.251.150 netmask 0xffffff00 broadcast
192.168.251.255
tcp_sendspace 131072 tcp_recvspace 65536 rfc1323 0 adapter2:
flags=5e080863,c0<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST,GROUPRT,64BIT,CHECKSUM_OFFLOAD(ACTIVE),PSEG,LARGESEND,CHAIN>
inet 192.168.250.150 netmask 0xffffff00 broadcast 192.168.250.255
tcp_sendspace 131072 tcp_recvspace 65536 rfc1323 0
lo0: flags=e08084b<UP,BROADCAST,LOOPBACK,RUNNING,SIMPLEX,MULTICAST,GROUPRT,64BIT>
inet 127.0.0.1 netmask 0xff000000 broadcast 127.255.255.255
inet6 ::1/0
tcp_sendspace 131072 tcp_recvspace 131072 rfc1323 1
more than commands, I'm looking for some explanation why does "adding/changing" those entries enables me to connect to the server. I do not see the server ip (i.e 192.168.128.1) listed above.
thanks
© Stack Overflow or respective owner