How to check the IP address of a terminal

The following is how to check the IP address of your terminal.

Please check it on the environment such as actual TSUBAME or  the device you use ISV application.
 

On Windows

Start command prompt and type ipconfig.

 

C:\>ipconfig

Windows IP Configuration


Ether adapter イーサネット:

   Connection-specific DNS Suffix . . . :
   Link-local IPv6 address. . . . : fe80::95aa:86e:XXXX:XXXX
   IPv4  address . . . . . . . . . . : 131.112.XXX.XXX
   Subnet Mask . . . . . . . . : 255.255.255.192
   Default Gateway . . . . . : 131.112.XXX.1

   IPv4 address in the column . . . . . . . . . . : 131.112.XXX.XXX  "131.112.XXX.XXX" is the IP address. Campus private IP 172.XXX.XXX.XXX may be assigned.  If this address is 192.168.1.XXX, it is a private IP address assigned to the NAT router, so an IP address outside the NAT is required. Please refer to here.

 

On Linux/macOS

Type ifconfig eth0 on the terminal. For example, Though eth0 is specified as an example, if multiple network cards are used, please specify the appropriate interface. For macOS, the interface name starts with en0, and if there is more than one, the names are en1, en2, en3 .... If ifconfig is not available on Linux, please use ip addr show eth0, etc, instead.

 

$ ifconfig eth0
eth0: 
(ommit)
inet 131.112.XXX.XXX netmask 0xffff0000 broadcast 131.112.XXX.255

In the column inet 131.112.XXX.XXX "131.112.XXX.XXX" is the IP address of the terminal. Campus private IP 172.XXX.XXX.XXX may be assigned.  If this address is 192.168.1.XXX, it is a private IP address assigned to the NAT router, so an IP address outside the NAT is required.  Please refer to here.

 

If using NAT

Please login to TSUBAME from the terminal, and then invoke the following command.


$ echo $SSH_CLIENT
131.112.XXX.XXX XXXXX 22
 

will be displayed. "131.112.XXX.XXX" is the IP address of the terminal that can be seen from the destination. 

If you can not take the above methods and are not familiar with the network, please ask the network manager of the building, or a person familiar with the network in the laboratory, or the administrator.

 

Notice

Sites (T2Box , ifconfig.me, etc) that you access with a web browser to check the IP address of the connection source may display the address of a proxy server for outside campus access. IP addresses such as 131.112.124.2xx, 131.112.125.2xx are the IP addresses of proxy server, it can not be accepted.

Also, the correct address cannot be obtained if it is checked by a terminal different from the terminal that connects to TSUBAME and uses the ISV application.

(wrong example)

I was SSHing into a server in the lab to use an ISV application, but a trouble occurred, so I checked the IP address using a Windows browser at hand.

In this case, it is wrong to check the address of "Windows at hand" because the terminal to use the license is the "server in the lab".