Good day !
i use openvpn virtual NIC to create tunnel.
network configuration on one side of the tunnel is
real network:
IP Address. . . . . . . . . . . . : 192.168.1.14
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.1
virtual network:
IP Address. . . . . . . . . . . . : 10.10.1.2
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 10.10.1.1
and
real network:
IP Address. . . . . . . . . . . . : 192.168.1.13
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.1
virtual network:
IP Address. . . . . . . . . . . . : 10.10.1.1
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 10.10.1.1
on the other side.
as i understand there mustn’t be any 192.168.1.* packets on virtual network
(10.10.1.*) and vice versa.
this is true for windows 7, but not for xp.
for xp i have packets with source and destination from different networks
on each NIC
for example on real adapter i have something like this:
frame source destination protocol description
number
41458 10.10.1.1 192.168.1.14 SMB SMB:R; Read Andx, FID = 0x0000,
61440 bytes {SMB:6, NbtSS:3, TCP:2, IPv4:1}
41475 192.168.1.14 192.168.1.13 UDP UDP:SrcPort = 2189, DstPort =
13333, Length = 62 {UDP:5, IPv4:4}
41476 10.10.1.1 192.168.1.14 TCP TCP:[Continuation to
#41458]Flags=…A…, SrcPort=NETBIOS Session Service(139), DstPort=2217,
PayloadLen=1460, Seq=3446886924 - 3446888384, Ack=959602042, Win=64338 {TCP:2,
IPv4:1}
41477 10.10.1.1 192.168.1.14 TCP TCP:[Continuation to
#41458]Flags=…A…, SrcPort=NETBIOS Session Service(139), DstPort=2217,
PayloadLen=1460, Seq=3446888384 - 3446889844, Ack=959602042, Win=64338 {TCP:2,
IPv4:1}
and for virtual adapter:
frame source destination protocol description
number
14055 192.168.1.14 10.10.1.1 SMB SMB:C; Read Andx, FID = 0x8003,
61440 bytes at Offset 39387136 {SMB:17, NbtSS:3, TCP:2, IPv4:1}
14056 192.168.1.14 10.10.1.1 TCP TCP:Flags=…A…,
SrcPort=2212, DstPort=NETBIOS Session Service(139), PayloadLen=0,
Seq=1201923181, Ack=1793237090, Win=17520 {TCP:2, IPv4:1}
14057 192.168.1.14 10.10.1.1 TCP TCP:Flags=…A…,
SrcPort=2212, DstPort=NETBIOS Session Service(139), PayloadLen=0,
Seq=1201923181, Ack=1793240010, Win=17520 {TCP:2, IPv4:1}
both logs from first configuration - 192.168.1.14 / 10.10.1.2 - local
addresses.
what is the reason ?
is that ok ?
is there some way to control this behavior ?