Connect to specific device

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.

Connect to specific device

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
Connect to specific device
Connect to specific device
2023-11-11 02:41:15
Model: ER605 (TL-R605)  
Hardware Version:
Firmware Version:

I want to connect to a specific device which has static IP 10.0.0.8

The device uses vlan 70 and is able to access SSH.

 

I will configure PC which is connected LAN5, to 192.168.10.11.

I expect that PC is connected to the device when I open SSH to 192.168.10.12.

 

Could you give guide for this?

 

Thank you

 

  0      
  0      
#1
Options
10 Reply
Re:Connect to specific device
2023-11-13 02:15:44 - last edited 2023-11-13 02:17:03

Hi @aok0 

Thanks for posting in our business forum.

aok0 wrote

I want to connect to a specific device which has static IP 10.0.0.8

The device uses vlan 70 and is able to access SSH.

 

I will configure PC which is connected LAN5, to 192.168.10.11.

I expect that PC is connected to the device when I open SSH to 192.168.10.12.

 

Could you give guide for this?

 

Thank you

 

Are you saying that you want to access 192.168.10.12, and when you are doing this, 192.168.10.12 should relay(forward) your SSH command to 10.0.0.8?

Is that what you trying to express here?

 

Does not seem to be possible. If this is a LAN environment, why not access it directly?

Even if you want to do this, this should be done by something like iptables or rinetd. However, we don't support them. Static Routing does not seem to be the right function here.

 

BTW, if you have ACL or other stuff blocking the access from 192.168.10.0 to 10.0.0.0, then I don't believe iptables or rinetd can be helpful either way because you have been blocked by ACL already.

Best Regards! If you are new to the forum, please read: Howto - A Guide to Use Forum Effectively. Read Before You Post. Look for a model? Search your model NOW Official and Beta firmware. NEW features! Subscribe for the latest update!Download Beta Here☚ ☛ ★ Configuration Guide ★ ☚ ☛ ★ Knowledge Base ★ ☚ ☛ ★ Troubleshooting ★ ☚ ● Be kind and nice. ● Stay on the topic. ● Post details. ● Search first. ● Please don't take it for granted. ● No email confidentiality should be violated. ● S/N, MAC, and your true public IP should be mosaiced.
  0  
  0  
#2
Options
Re:Connect to specific device
2023-11-13 02:27:27 - last edited 2023-11-13 06:36:15

  @Clive_A 

 

Many thanks for your comment.

I need to connect from 1 PC to several DTUs which have same IP address.
Thus I would like to construct as below.
And I am asking how to configure IP router(ER605) #1 and #2.

 

In this environment,
my actual goal is to connect from PC to each DUTs.
For example, ssh 192.168.10.200 is ssh connection to DUT#1 and ssh 192.168.20.200 is ssh connection to DUT#2.
Please remark that DUT#1 and #2 are configured VLAN10(tagged).

 

Thank you

  0  
  0  
#3
Options
Re:Connect to specific device
2023-11-13 08:14:33 - last edited 2023-11-13 08:20:47

Hi @aok0 

Thanks for posting in our business forum.

aok0 wrote

  @Clive_A 

 

Many thanks for your comment.

I need to connect from 1 PC to several DTUs which have same IP address.
Thus I would like to construct as below.
And I am asking how to configure IP router(ER605) #1 and #2.

 

In this environment,
my actual goal is to connect from PC to each DUTs.
For example, ssh 192.168.10.200 is ssh connection to DUT#1 and ssh 192.168.20.200 is ssh connection to DUT#2.
Please remark that DUT#1 and #2 are configured VLAN10(tagged).

 

Thank you

 

So, on the router, you should set up the Policy Routing which differentiates the two LANs.

On the PC, you should set up a permanent routing. Add your 20.200 to NIC IP. And check if this helps resolve your situation.

In addition, when you ssh, use ssh -b.

Best Regards! If you are new to the forum, please read: Howto - A Guide to Use Forum Effectively. Read Before You Post. Look for a model? Search your model NOW Official and Beta firmware. NEW features! Subscribe for the latest update!Download Beta Here☚ ☛ ★ Configuration Guide ★ ☚ ☛ ★ Knowledge Base ★ ☚ ☛ ★ Troubleshooting ★ ☚ ● Be kind and nice. ● Stay on the topic. ● Post details. ● Search first. ● Please don't take it for granted. ● No email confidentiality should be violated. ● S/N, MAC, and your true public IP should be mosaiced.
  0  
  0  
#4
Options
Re:Connect to specific device
2023-11-13 09:28:35

  @Clive_A 

 

Could you show me example configuration?
I want to see example of NAT and routing table.

 

Thank you

  0  
  0  
#5
Options
Re:Connect to specific device
2023-11-13 09:37:36

  @aok0 

 

I configured as below.
1st fig. is WAN port, 2nd fig. is NAT
My PC NIC is configured 192.168.10.11. But ping to 192.168.10.200 does not response.

 

 

  0  
  0  
#6
Options
Re:Connect to specific device
2023-11-14 07:20:05

  @Clive_A 

Could you please have look my picture again and help me to solve the problem?

I intend to use 1 ER605 for 1 connection (PC to DUT).

  0  
  0  
#7
Options
Re:Connect to specific device
2023-11-14 07:28:29

Hi @aok0 

1. Policy Routing is needed to separate two LAN(VLAN interfaces) you created under the LAN settings. Transmission > Routing > Policy Routing. Behaviour should be configured based on your needs.

2. Static Routing should be added to your PC's routing table.

Google search the "add route command in CMD".

So you should

Add your 20.200 to NIC IP. And check if this helps resolve your situation.

In addition, when you ssh, use ssh -b.

 

Best Regards! If you are new to the forum, please read: Howto - A Guide to Use Forum Effectively. Read Before You Post. Look for a model? Search your model NOW Official and Beta firmware. NEW features! Subscribe for the latest update!Download Beta Here☚ ☛ ★ Configuration Guide ★ ☚ ☛ ★ Knowledge Base ★ ☚ ☛ ★ Troubleshooting ★ ☚ ● Be kind and nice. ● Stay on the topic. ● Post details. ● Search first. ● Please don't take it for granted. ● No email confidentiality should be violated. ● S/N, MAC, and your true public IP should be mosaiced.
  0  
  0  
#8
Options
Re:Connect to specific device
2023-11-14 11:17:54 - last edited 2023-11-14 11:21:24

  @Clive_A 

 

Thank you for your advice. But I think I don't need to add route table in my PC side, because target IP address is in subnet  for private IP address.

Could you have look my picture and make alignement with me?

 

Let's say:
LAN5: 192.168.100.1 VLAN5(untagged), connected IP(PC): 192.168.100.100

WAN: 10.0.0.1 VLAN73(tagged), connected IP(DUT): 10.0.0.8 VLAN73

 

How to I connect 192.168.100.100(PC) to 10.0.0.8(DUT)?

 

NAT? Routing table? What/How do I need to do?

  0  
  0  
#9
Options
Re:Connect to specific device
2023-11-16 04:53:12

  @Clive_A 

Please give me answer

  0  
  0  
#10
Options
Re:Connect to specific device
2023-11-16 05:56:49 - last edited 2023-11-16 05:57:30

@aok0

aok0 wrote

  @Clive_A 

Please give me answer

 

I have clarified that you should use Policy Routing on the router and add the route entries to your PC. But you have given a different way based on your thoughts.
I don't mean to persuade you but offer some insights into the problems you have. I have repeated several times that you should use Policy Routing on the router but you seem to always miss my point.

I don't think I need to make any other comments unless you take a second to read what I have posted. This is the third time I repeat myself.

 

Best Regards! If you are new to the forum, please read: Howto - A Guide to Use Forum Effectively. Read Before You Post. Look for a model? Search your model NOW Official and Beta firmware. NEW features! Subscribe for the latest update!Download Beta Here☚ ☛ ★ Configuration Guide ★ ☚ ☛ ★ Knowledge Base ★ ☚ ☛ ★ Troubleshooting ★ ☚ ● Be kind and nice. ● Stay on the topic. ● Post details. ● Search first. ● Please don't take it for granted. ● No email confidentiality should be violated. ● S/N, MAC, and your true public IP should be mosaiced.
  0  
  0  
#11
Options

Information

Helpful: 0

Views: 808

Replies: 10

Related Articles