Avatar of Patrick Wrigley
Patrick WrigleyFlag for United States of America

asked on 

forward all traffic for 1 ip address to a diffrent ip address

I would like to forward all traffic destined for address 10.10.40.4 TO  10.10.75.4

It is all on a local domain using windows DHCP and DNS
DHCP* intervlan routingDNS* ip address

Avatar of undefined
Last Comment
Patrick Wrigley
Avatar of Bembi
Bembi
Flag of Germany image

It depends from the reasons and from the service and the environmment.
If it is a different subnet or vlan (I interpret your tag this way), than you possibly can do it on the routing device / switch
which connects the two networks.
if the source is on the same Lan segement, you may use the 10.10.40.4 device to reroute the traffice to somewhere else.
But this may work only for a set of defined ports.
(I.e. you can use IIS for URL redirection, if it is a web service)
If you use names, that just a DNS alias or A Record may be enough. 
Avatar of Patrick Wrigley

ASKER

The separate lan segments are on the same procure switch just different ports . Does anyone know what the routing commands would be for it by chance?
Avatar of Patrick Wrigley

ASKER


ASKER CERTIFIED SOLUTION
Avatar of Jason Johanknecht
Jason Johanknecht
Flag of United States of America image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of Patrick Wrigley

ASKER

We have a server at 10.10.40.4 that host several services and we need to change its IP address but many of our client computers are looking for it by it’s original up address of 10.10.40.4
Avatar of arnold
arnold
Flag of United States of America image

Your router/firewall as to be able to setup a virtual interface where it is functioning as the receptacle on the10.10.40.4 IP and has a rerouting, forwarding NATing rule to 10.10.75.4

If you currently have a System on this 10.10.40.4 you could use stunnel or similar tools that bind in the ports of interest and forward the requests to the 10.10.75.4 ip
A reverse proxy using squid-cache is another option.

Much depends on the type of traffic you are trying  to pass.
Avatar of CompProbSolv
CompProbSolv
Flag of United States of America image

You should be able to assign both IP addresses to the computer.  Would that give you enough time to reconfigure the client computers using the old address?
Avatar of David Favor
David Favor
Flag of United States of America image

Provide your context.

Completely different answer if this relates to Linux + Containers (Docker, LXD, etc) vs. Windows across machines or VMs.
Avatar of Patrick Wrigley

ASKER

solved
DNS
DNS

The Domain Name System (DNS) is a hierarchical, globally distributed system responsible for associating the name of a computer, service or other resource into an IP address for connecting to the Internet or a private network. Most prominently, it translates domain names to the numerical IP addresses needed for the purpose of computer services and devices worldwide.

29K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo