Routing multiple times the same ip over seperate interfaces/

Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking
Author Message
theeuwke
DD-WRT Novice


Joined: 02 Apr 2012
Posts: 1

PostPosted: Tue Oct 28, 2014 21:48    Post subject: Routing multiple times the same ip over seperate interfaces/ Reply with quote
I have a small problem where I cannot figure out a solution.

Basically; I have 4 devices with the same static ip which I cannot change, but I want to access them (or at least 1 tcp port) at the same time.

- we have a corporate network which has, let say ip range (external) 10.13.60.0/24 (DHCP, but I am allowed to configure multiple static ip's).
- the devices have all the same ip (internal), let say 10.4.1.101 (netmask 255.255.255.0, gateway 10.4.1.1).



So I came up with the following.
1. purchased a router with multiple interfaces and/or switch supporting VLAN's: TP-Link TP-WR1043ND V2
2. configured each port on a unique VLAN
3. configured each vlan interface a unique mac address.

so far so good, but I cannot figure out how to 'route' this. I was heading into the direction of proxy-arp;
a. configure external ip forward to the desired mac/interface in both ways
b. configure an internal ip (in range) forward to the desired mac/interface in both ways, and port forward external to internal.
but so far no good...

Is this possible at all? Or do I have to look into macvlan/mangle???
Sponsor
Per Yngve Berg
DD-WRT Guru


Joined: 13 Aug 2013
Posts: 6868
Location: Romerike, Norway

PostPosted: Sat Nov 01, 2014 14:38    Post subject: Reply with quote
Did you set the ip address 10.4.1.1 on all four interfaces?

Use NAT to forward different ports to the devices, or you need 4 ip addresses if the port cannot be changed.

http://www.dd-wrt.com/wiki/index.php/One-to-one_NAT
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum