Answer the question
In order to leave comments, you need to log in
CISCO: [port#] [replace IP address] [switch fabric]: technology name?
We have Catalyst 2960S, 3750X and 10 pieces of iron with the same IP (for example 192.168.0.1)
The essence of the problem:
So that 1 client can connect to all 10 pieces of iron.
The simplest solution, as I see it, is to force the switch to replace addresses depending on the number of the physical port, i.e. for example:
192.168. 1.1 <-> 192.168 . 0 .1 [PORT# 1 ]
192.168. 2.1 <-> 192.168 . 0 .1 [PORT# 2 ]
192.168. 3.1 <-> 192.168 . 0 .1 [PORT# 3 ]
...
Is there such a thing in these switches and what is it called?
UPD
PS Changing IP on pieces of iron is very problematic, so an alternative way to connect is being sought.
Or maybe there is a similar opportunity to do the same with standard tools on Win Server 2008 R2?
those. drag all 10 pieces of iron to the server in separate VLANs, and then change the addresses on the server (because the client software (Wonderware DASSIDirect) does not support the ability to select a network interface in the connection settings).
Answer the question
In order to leave comments, you need to log in
Yep, got what you need!
You can try to implement this in Linux through iptables and vconfig.
We start on switches on vlan on the device. We raise all Wealans on Linux through vconfig. There will be a bunch of virtual ports like v0002 ... vXXXX.
Each interface is assigned an address from the subnet 192.168.0.x
ip addr add 192.168.0.12/32 dev v0002
ip addr add 192.168.0.13/32 dev v0003
ip addr add 192.168.0.14/32 dev v0004
...
ip addr add 192.168.0.XX/32 dev v00XX
iptables -t nat -A PREROUTING -i v0002 -j DNAT --to 192.168.0.1
iptables -t nat -A PREROUTING -i v0003 -j DNAT --to 192.168.0.1
iptables -t nat -A PREROUTING -i v0004 -j DNAT --to 192.168.0.1
...
iptables -t nat -A PREROUTING -i v00XX -j DNAT --to 192.168.0.1
what you want is NAT functionality, these models don't have that. You need a router. Any, but always a router.
3750 and 2960
UPD. misunderstood the task. Not a test =)
In the formulation that it is - it's generally strange how it can be stirred up, the task contradicts IP.
The task, of course, is extremely curved, but solvable.
We put each port in a different vlan. Each vlan into a separate vrf. Each vrf has a separate nat(pat) rule.
But it is on these switches that this cannot be done. there is no nat support. Therefore, in addition to the switch, you will need a router.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question