Hello people from AskUbuntu:
As the title says, even though I can access the internet, for some reason, I can't ssh/ping computers in my LAN. In addition, only computers from outside the LAN can ssh to my computer. This problem started when I installed Ubuntu 11.10 (this problem was not present when I was using Ubuntu 10.04).
I have tried restarting and even disabling ufw. Changing the subnet mask and/or gateway ip address results in loss of internet connectivity. I've tried using the second ethernet port to no avail.
I have looked for solutions online but many of those solutions are for the reverse problem (not being able to access the internet). I honestly don't know what to do. I have even tried turning the computer off and unplugging the power for a few seconds.
Maybe I'm using incorrect search keywords. I hope you guys can help me or teach me how to fix this.
Thank you for your time!
Edit 1: I've changed the first 3 numbers of the ip addresses below. 220.127.116.11 is the gateway and 18.104.22.168 is my ip. "ip route show" outputs this:
default via 22.214.171.124 dev eth1 proto static default via 126.96.36.199 dev eth0 metric 100 188.8.131.52/24 dev eth0 proto kernel scope link src 184.108.40.206 220.127.116.11/24 dev eth1 proto kernel scope link src 18.104.22.168 metric 1 169.254.0.0/16 dev eth0 scope link metric 1000