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 TO

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
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 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


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


Avatar of Jason Johanknecht
Jason Johanknecht
Flag of United States of America image

Blurred text
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


We have a server at 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
Avatar of 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

If you currently have a System on this you could use stunnel or similar tools that bind in the ports of interest and forward the requests to the 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
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



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.

Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews


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