TAP adpater and setup ICS for multiple subnets in windows 7
Posted: Sat Feb 07, 2015 4:54 pm
I am working with tap-9.9.2 driver (provided by OpenVPN) on windows 7 ultimate. I am using tap standalone, without openvpn setup scripts and other openvpn stuff. In brief, I used tap-9.9.2.exe
Previously I have setup network profile using TAP and ICS feature, to access internet in the subnet, using ICS it assigns 192.168.137.1 IP address to TAP adapter.
Now, the same approach I want to use for multiple subnets, i.e. for 192.168.137.1/24 and 10.0.0.1/24 (or something else). Can anyone please suggest how to setup ICS for multiple TAP adapter present over a single host ?
I could not find any options related to my requirement in ICS properties menu. I also tried to use bridge setup (real LAN and TAP in a bridge), But this didn't worked and I wasn't able to assign IP using DHCP to guest operating system which uses host tap device to access internet.
Requirement (In brief):
TAP-Adapter-1 : 192.168.137.1/24
TAP-Adapter-2: 10.0.0.1/24
Local Area Connection (real ethernet) : 10.10.x.x
I want to route traffic initiated by Tap-Adapter-1 and TAP-Adapter-2 via real ethernet. IP addresses of TAP are arbitrary.
Consider TAP-1 has initiated ICMP echo request for Google IP, then while leaving windows host system, IP address in the ethernet frame should be overwritten by IP address of real ethernet, And if response returned then it should return back to TAP-1.
This is basic test for my setup. It works for single adapter using ICS. But I want this setup the same for both adapters.
Kindly help for configurations that I have to do for my aforementioned requirement.
Previously I have setup network profile using TAP and ICS feature, to access internet in the subnet, using ICS it assigns 192.168.137.1 IP address to TAP adapter.
Now, the same approach I want to use for multiple subnets, i.e. for 192.168.137.1/24 and 10.0.0.1/24 (or something else). Can anyone please suggest how to setup ICS for multiple TAP adapter present over a single host ?
I could not find any options related to my requirement in ICS properties menu. I also tried to use bridge setup (real LAN and TAP in a bridge), But this didn't worked and I wasn't able to assign IP using DHCP to guest operating system which uses host tap device to access internet.
Requirement (In brief):
TAP-Adapter-1 : 192.168.137.1/24
TAP-Adapter-2: 10.0.0.1/24
Local Area Connection (real ethernet) : 10.10.x.x
I want to route traffic initiated by Tap-Adapter-1 and TAP-Adapter-2 via real ethernet. IP addresses of TAP are arbitrary.
Consider TAP-1 has initiated ICMP echo request for Google IP, then while leaving windows host system, IP address in the ethernet frame should be overwritten by IP address of real ethernet, And if response returned then it should return back to TAP-1.
This is basic test for my setup. It works for single adapter using ICS. But I want this setup the same for both adapters.
Kindly help for configurations that I have to do for my aforementioned requirement.