Connect to specific device
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
- Copy Link
- Subscribe
- Bookmark
- Report Inappropriate Content
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.
- Copy Link
- Report Inappropriate Content
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
- Copy Link
- Report Inappropriate Content
Hi @aok0
Thanks for posting in our business forum.
aok0 wrote
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.
- Copy Link
- Report Inappropriate Content
Could you show me example configuration?
I want to see example of NAT and routing table.
Thank you
- Copy Link
- Report Inappropriate Content
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.
- Copy Link
- Report Inappropriate Content
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).
- Copy Link
- Report Inappropriate Content
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.
- Copy Link
- Report Inappropriate Content
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?
- Copy Link
- Report Inappropriate Content
Please give me answer
- Copy Link
- Report Inappropriate Content
aok0 wrote
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.
- Copy Link
- Report Inappropriate Content
Information
Helpful: 0
Views: 851
Replies: 10
Voters 0
No one has voted for it yet.