IT Consultant Everyday Notes

Just some problems/solutions storage

Networking: How to control source IP on multi-IP adapter

In some cases I need to bind multiple IP addresses to a single adapter.

 

like this:

SNAGHTML3f24e8bc

How to control which of them will be used as a source? It can be necessary let say for firewall rules.

The matter in fact there is RFC 3484 describing set of rules.

Since Server 2008 SP2 Microsoft offers a mechanism of control. Instead of adding additional IPs via GUI you need to use NETSH command and skipassource flag like this:

Netsh int add address <Inetrface name> <IP address> skipassource=true

IP addresses left can be used as a source as per RFC.

I found this advice here

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: