This is a discussion on Creating two Lan connections in winxp within the Desktop Computer forums, part of the Computer technology category; Hi, I use my laptop at office and home with different network configurations. Everytime I have to change the network ...
| |||||||
| | #1 |
| Junior Member Join Date: Jun 2009 Age: 23
Posts: 35
Rep Power: 1 | Hi, I use my laptop at office and home with different network configurations. Everytime I have to change the network settings to connect to the LAN. Can we create additional (2 different) connection for a single network card. I didn't find any option to create a new connection in the Network Connections. |
| | |
| | #2 |
| Guest
Posts: n/a
| there are softwares which can keep track of multiple settings and which are stored as different profiles. After saving each of settings to a profile, u can just change the profile to change the settings. unfortunately i don't know the names. |
| |
| | #3 |
| Platinum Member Join Date: Aug 2007 Location: Chennai
Posts: 5,313
Rep Power: 13 | Do you use WIFI mode in Office and at Home ? You can use LAN/ethernet port connection for Home and WIFI mode in office . Or ( same mode at both places ) In network card LAN or wireless TCP/IP properties assign IP address automatically. Obtain DNS automatically. or enter open dns 208.67.220.220 and 208.67.222.222 Apply Save. ( Precaution : Note present settings please !) Para two : Please mention modem/model/make used at home.&Office Is it some VPN set Up ? . |
| | |
| | #4 |
| Guest
Posts: n/a
| Control Panel > Network Connections > Create a new connection > Connect to the internet / Connect to network at my work place |
| |
| | #6 | |
| Gold Member Join Date: May 2008 Location: India
Posts: 531
Rep Power: 2 | Quote:
netsh command will help you to do this. You do not need to enter any network details manually or install software. A simple 3 line script (Microsoft command line, available in all Windows) will automatically change settings. What you need to do is
Netsh interface ip set address name="Local Area Connection" source=static addr=STATIC_IP_ADDRESS mask= SUBNET_MASK gateway=DEFAULT_GATEWAY netsh interface ip set dns name="Local Area Connection" source=static addr=DNS_SERVER_1 netsh interface ip add dns name="Local Area Connection" addr=DNS_SERVER_2 index=2
| |
| | |
| | #7 | |
| Junior Member Join Date: Jun 2009 Age: 23
Posts: 35
Rep Power: 1 | Thanks Skap , This was the answer , i was looking for. Quote:
Batch 1 : @echo off netsh interface ip set address name="Local Area Connection" source=static addr=192.168.*.*** mask=255.255.255.0 netsh interface ip set dns name="Local Area Connection" source=static addr=**.1*5.0.*0 netsh interface ip add dns name="Local Area Connection" addr=208.67.222.222 index=2 pause ---------------------------------------- output: C:\>lan2 Ok. Ok. Ok. Press any key to continue . . . --------------------------------------------- Batch 2 : @echo off netsh interface ip set address name="Local Area Connection" source=static addr=192.168.*.*** mask=255.255.255.0 gateway=192.168.*.1 netsh interface ip set dns name="Local Area Connection" source=static addr=**.1*5.0.*0 netsh interface ip add dns name="Local Area Connection" addr=208.67.222.222 index=2 pause --------------------------------------------- output : C:\>lan1 The syntax supplied for this command is not valid. Check help for the co ntax. Usage: set address [name=]<string> [[source=]dhcp | [source=] static [addr=]IP address [mask=]IP subnet mask] [[gateway=]<IP address>|none [gwmetric=]integer] ************** ************** ************** Ok. Ok. Press any key to continue . . . ----------------------------------------- The missing gateway=Gateway in the second Batch | |
| | |
| | #8 |
| Gold Member Join Date: May 2008 Location: India
Posts: 531
Rep Power: 2 | |
| | |
| | #9 |
| Junior Member Join Date: Dec 2008 Age: 22
Posts: 24
Rep Power: 2 | should use of a ethernet hub silence all the problem here.. and setup the two ips different for each computer.. |
| | |
| | #10 |
| Junior Member Join Date: Jun 2009 Age: 23
Posts: 35
Rep Power: 1 | yeah skap........ i did try that ...... it changes everything if gateway is not provided when gateway is provided it gives some error and changes everything except the gateway.! |
| | |
| Tags |
| connections, creating, lan, winxp |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Tikona Broadband Connections | Preeti_20 | Tikona WiBro | 0 | 02-02-10 01:45 PM |