Jump to content

Assigning static IP to two nic in WINPE


whterbtobj

Recommended Posts


Use this command:

netsh interface set ipv4 address "[name of the connection]" static [iP address] [subnet mask] [default gateway] [metric number]

For example, to set a static IP to two NICs, you would use two commands:

netsh interface set ipv4 address "Local Area Connection" static 123.45.67.89 255.255.255.0 123.45.67.81 1

netsh interface set ipv4 address "Local Area Connection 2" static 123.45.67.88 255.255.255.0 123.45.67.81 2

Substitute the IP addresses, subnet mask, and default gateway you want accordingly.

Link to comment
Share on other sites

  • 4 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...