Link to home
Create AccountLog in
Windows XP

Windows XP

--

Questions

--

Followers

Top Experts

Avatar of tobbsie
tobbsie

2 nic in Windows XP problem
Hello!

I tried seach alot on this but i can't find any answer (or dosnt know if its even possible)

I have a Windows XP machine at home as a fileserver with 2 NIC's. I have NIC1 connected to my router for the internal network 192.168.0.x and the router is connected to my ADSL. NIC2 is connected directly to the ADSL modem with a internet IP adress.
What i want to do is: Have NIC1 ONLY for the internal network, no internet acces and the NIC2 Solely for internet acces. And to make it more complicated i have a VPN tunnle which i wanna use for the NIC2 connection only. See attached file to understand me better :)

So basically i want to separate all internet traffic from the lan traffic as i were 2 diffrent PC's. is this possible?

And if i have 2 NICS active with one internet access each - which NIC does windows use?! How can i see that?


2nics.jpg

Zero AI Policy

We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.


Avatar of Houssam BalloutHoussam Ballout🇱🇧

I dont think that its possible cause traffic is coming to the computer

Avatar of lamaslanylamaslany🇬🇧

Put a gateway address on NIC 2 and use the 'route' command to define a static route on NIC 1 for 192.168.0.0/24

Avatar of tobbsietobbsie

ASKER

NIC2 have the ISP gateway via DHCP. But the VPN tunnle - what NIC does that run on ? Lets say i connect to an outside PC via VPN, can that outside PC reach NIC1 aka my LAN trough NIC2? That i dont want

Reward 1Reward 2Reward 3Reward 4Reward 5Reward 6

EARN REWARDS FOR ASKING, ANSWERING, AND MORE.

Earn free swag for participating on the platform.


I think your limited with your options in XP however  you can enable routing in XP by changing the following registry key (start run regedit to open registry for modification)

Locate HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Tcpip\Parameters, find a value called IPEnableRouter. double click it and set the value to 1.

You can then play around with routing in the firewall

Me again :)

as a after thought? does your router allow for additional VLANs? you could just add one and give the other card the relevant IP and your away.

Also have you looked into hamachi as a VPN solution - it works very well for some of my clients and is stable and not to mention FREE!  

Cheers

Tony

Avatar of tobbsietobbsie

ASKER

I have a dir-655 and i cant find anything about vlan.

Just to clearify myself abit (my english sucks sorry): The VPN tunnle i use is for cryptation, nothing else :) and i want to separate the LAN from the WAN.

I gonna try play around abit with above suggestions and see, thanks!

And yeah, hamachi is a great tool :)

Free T-shirt

Get a FREE t-shirt when you ask your first question.

We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.


Avatar of tobbsietobbsie

ASKER

If this sollution is impossible i can consider another idea that i have: Using only NIC1 and VPN on top of that, but how do i make sure that my local shares is NOT availible on the VPN network? (sharing video/music etc to my popcorn hour) - or is that possible even? Im lost :S

ASKER CERTIFIED SOLUTION
Avatar of DatedmanDatedman

Link to home
membership
Log in or create a free account to see answer.
Signing up is free and takes 30 seconds. No credit card required.
Create Account

As far as the network shares, on properties of NIC2 in Network Connections turn off File and Printer Sharing.

Avatar of tobbsietobbsie

ASKER

Thanks for the help, will try these tips and see how it goes!

Reward 1Reward 2Reward 3Reward 4Reward 5Reward 6

EARN REWARDS FOR ASKING, ANSWERING, AND MORE.

Earn free swag for participating on the platform.


Just add static routes from the command prompt. e.g.:
route -p add 192.168.0.0 mask 255.255.255.0 192.168.x.x metric Y 192.168.x.x
where 192.168.x.x is the IP address of your NIC 1 and the metric is a value that is higher than the metric for internet traffic on the other NIC
Do a "route print" first to see the current system routes...

There is no need for static routes in this situation.

Avatar of tobbsietobbsie

ASKER

"Just don't have a default gateway on NIC1 and have one on NIC2."

Shall i still use the DNS on NIC 1? (192.168.0.1)

Free T-shirt

Get a FREE t-shirt when you ask your first question.

We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.


Sure any DNS that works is fine...actually, here's what I'd do.  Because you  have other machines in your (home? if it's a domain then this is more important) network that may use DNS to locate each other, you don't want to register NIC2 in DNS in case other machines then start going through the ADSL router (slower most likely) to get to this machine.  So, on the off chance that the your internal router does take dynamic DNS registrations, I'd just use the ADSL router, or it's own IP, as the DNS on NIC2.  It won't *work*  but since it's almost impossible to really turn off dynamic DNS registration in Windows, you just want something that fails really fast so that it rolls over to the DNS on the other card when looking for resolution.
I probably didn't say that right. :)  But try just using the ADSL router for DNS on NIC2 and the other router for NIC1, should work fine.

Avatar of tobbsietobbsie

ASKER

Good idea, i'll try that too! thanks :D
Windows XP

Windows XP

--

Questions

--

Followers

Top Experts

Microsoft Windows XP is the sixth release of the NT series of operating systems, and was the first to be marketed in a variety of editions: XP Home and XP Professional, designed for business and power users. The advanced features in XP Professional are generally disabled in Home Edition, but are there and can be activated. There were two 64-bit editions, an embedded edition and a tablet edition.