Community discussions

MikroTik App
 
Hellothere
just joined
Topic Author
Posts: 13
Joined: Tue Mar 26, 2024 4:41 pm

Can't connect to router board via ssh

Sat Mar 30, 2024 8:23 pm

Hello,

I want to set up my router board but I can't connect to it. I added to my interface lan 2 (ether2) the ip-address = 10.10.2.0. After that I added the ip-address= 10.10.2.1 to the interface of my laptop which is connected to the board. But when I now try to do a connection via ssh
ssh admin@10.10.2.0
then I got a time out. When I try the same with the ip address = 192.168.88.1 on the router board and 192.168.88.2 on my laptop it worked. So why does 10.10.2.0 not work?
 
jaclaz
Forum Veteran
Forum Veteran
Posts: 712
Joined: Tue Oct 03, 2023 4:21 pm

Re: Can't connect to router board via ssh  [SOLVED]

Sat Mar 30, 2024 8:37 pm

10.10.2.0 is not a valid IP address for a port/interface?

Valid addressed are w.x.y.z where z is in the range 1-254, 0 is reserved "network" and 255 is reserved "broadcast".

Try setting it to 10.10.2.2 (and keep the laptop on 10.10.2.1)
 
Hellothere
just joined
Topic Author
Posts: 13
Joined: Tue Mar 26, 2024 4:41 pm

Re: Can't connect to router board via ssh

Sat Mar 30, 2024 8:55 pm

10.10.2.0 is not a valid IP address for a port/interface?

Valid addressed are w.x.y.z where z is in the range 1-254, 0 is reserved "network" and 255 is reserved "broadcast".

Try setting it to 10.10.2.2 (and keep the laptop on 10.10.2.1)
Thanks a lot, it worked.
 
sid5632
Long time Member
Long time Member
Posts: 554
Joined: Fri Feb 17, 2017 6:05 pm

Re: Can't connect to router board via ssh

Sat Mar 30, 2024 9:44 pm

So why does 10.10.2.0 not work?
Why did you not specify a subnet mask?
10.10.2.0 is not a valid IP address for a port/interface?
As a blanket statement that is incorrect. It depends what the subnet mask is. For example, 10.10.2.0/22 is perfectly valid.
 
jaclaz
Forum Veteran
Forum Veteran
Posts: 712
Joined: Tue Oct 03, 2023 4:21 pm

Re: Can't connect to router board via ssh

Sat Mar 30, 2024 11:06 pm

Well, consider it as a bedsheet doubt, instead.
(by convention statements are usually ended with a full stop or period, questions and doubts with a question mark)

Who is online

Users browsing this forum: No registered users and 7 guests