Question:
how to connect to subnet?
LsDefect
2013-07-17 21:10:14 UTC
I've programmed a chat server and I'm trying to get my room mate to telnet to it from his laptop, but the connection times out.

We live in dorms and I'm not completely sure what type of connection we have.. we just plug an ethernet cable into the wall. It's really fast (downloaded a movie up to 6 MB/s a few days ago) so I'm thinking it's T1.

I've heard that everyone that lives here shares the same IP address. My IPv4 address is 69.229.247.x and his is 69.229.224.x, does that mean he's on a different subnet? I tried to ping his address and got a "Destination host unreachable." response but 0% loss of packets.

Firewall isn't responsible. Can't port forward. What do I do?
Five answers:
mushroom_mutt
2013-07-17 21:23:35 UTC
First, where are you getting the address from?

Are you looking it up on the net, or are you doing an IPconfig/all?



With no other info, I'm going to guess you're NATing out to the world, so the IP you're trying to ping isn't the one on his computer.



Without seeing your subnet mask, there's no way to know if those two are different subnets or not.

I would guess, from a practical standpoint, that they are. But it shouldn't matter anyway.



And, of course, I should ask the obvious. You're plugged in when you try to ping, right?



Edit: just to add that yes, IP can be used to determine a base subnet. In fact, that's the only way to do it at all in older networks. Classless routing is prevelant, but not omnipresent. If that's the case here, then we know for certain they are on the same subnet.
Hugh
2013-07-18 04:14:03 UTC
Subnets aren't determined by the IP address, they're determined by the subnet mask, so more information is needed here.



EDIT: To the person with the PhD. in CS who asserts the subnet mask isn't necessary, and older networks don't use one, if you had been paying attention you'd have seen the IP address posted is a public address. Armed with that knowledge, you could look up the owner of the IP block, as I did. Being that the IP block is owned by an ISP, it's certainly safe to assume that the IP is not from some ancient network that today you wouldn't even find in a place like Darfur.



Now, having said that, it's very common for ISPs to subnet their address space, as they apparently have done here. The IP address is a class A address, with a 16 bit mask, so clearly it's been subnetted at some point, either by the ISP, or the issuing authority. An IP address on any modern network is absolutely useless without a subnet mask, so I asked what it was because I know what I'm talking about, and didn't feel it was prudent to start making wild guesses and spewing conjecture like you did, without all the necessary information.



.
?
2013-07-18 04:50:37 UTC
By the looks of it, you're on the same subnet with a /16 address scheme. Try to configure your telnet server on a higher ephemeral port # such as 49800, your standard port 24 might be blocked by a school server or firewall/proxy. Be careful with telnet, everything y'all do will be in clear text, meaning if someone has wireshark on they can sniff out the traffic.



Update:

The default Windows firewall blocks ICMP (ping packet), try turning off your firewalls and ping each other to really determine if that is it or now. Next thing doing a trace route on the IP address to see how many hops the packet has to take, or where it stops on the way to your friends PC. Next check to see if your firewall is filtering port 4444, you might have to make a rule on your software based firewall to allow a connection... Are you using any sort of Antivirus with Internet security?
anonymous
2013-07-18 04:43:02 UTC
The answer is NO!!!!



Your on a CAN (Campus Area Network)...



It is controlled by an administrator ... who put restrictions on the Whole 255.255.0.0 network...



Think of a CAN like a LAN... difference is its connecting many Local Area Networks together.



Administrator can block everything you can name...

PING

Telnet (Especially)

Remote Call Procedures



They can block Ports... which are sessions... like

Skype

Torrents

Streaming



your called being under a Domain... muuhahahah



----------------------------------------------------------------------------



Sorry didn't give an answer...



You can create some sort of VPN... internet based of course...



Or use your internet connection... by tethering... using a service like noipaddress and their tool kit to make it always open regardless if your WAN ip changes..



But truth be told you can't do nothing on that CAN because its controlled...



Best thing to do is do a port sniff and see what port are available on that can configure both your services accordingly to use the port... but make sure the port isn't available because being Listened by another server.... that's what you can do on that network.



---------------------------------------------------------------------------------------



8 months ago or in between the Administrator could have seen network traffic and noticed your traffic... and strict up the network.



And Regardless of WAN... your not concerned with WAN IP as like you said you both are already on the same network...



The WAN IP can work with an internet based services... regardless if your on the same WAN IP... Servers handles computer requests not modem request...



you need to check if 4444 is available on the network... And remember the telnet call on the other end should be 69.229.247.x :4444



And no need to hide your internal IP its locally based... and obviously useless :D



-----------------------------------------------------



Also you only share the same WAN IP Address... and trust me on a campus area network im sure each building has their own or two WAN IP Address (multiple ISPs), but regardless you all are on the same Private Network, just use different gateways to get to the same Public internet
Allen J.
2013-07-18 05:22:47 UTC
set ipconfig with your system and the other one with different ip address with same subnet and connect .


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...