whterbtobj Posted January 22, 2009 Share Posted January 22, 2009 How can I assign static ip to two network cards in WinPE?I want to be able to ping from one network card to the other for a simple network card test. Link to comment Share on other sites More sharing options...
killerb255 Posted January 25, 2009 Share Posted January 25, 2009 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 1netsh interface set ipv4 address "Local Area Connection 2" static 123.45.67.88 255.255.255.0 123.45.67.81 2Substitute the IP addresses, subnet mask, and default gateway you want accordingly. Link to comment Share on other sites More sharing options...
whterbtobj Posted January 26, 2009 Author Share Posted January 26, 2009 What if the connection name is a GUID? Link to comment Share on other sites More sharing options...
killerb255 Posted February 23, 2009 Share Posted February 23, 2009 You shouldn't have to use a GUID. By default, PE assigns the first NIC the name "Local Area Connection," the second "Local Area Connection 2," etc. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now