⚠ Switch to EXCALIDRAW VIEW in the MORE OPTIONS menu of this document. ⚠ You can decompress Drawing data with the command palette: ‘Decompress current Excalidraw file’. For more info check in plugin settings under ‘Saving’

Excalidraw Data

Text Elements

subnet router

device A

subnet 1: 192.0.2.0/24

subnet router

device B

subnet 2: 172.16.100.0/24

no tailscale installed

no tailscale installed

ip: 192.0.2.2

ip: 172.16.100.2

ip: 172.16.100.10

ip: 192.0.2.3

device A device B

device A needs to be manually config-ed: ip add 172.16.100.0/24 via 192.0.2.2

because of this config, ip packet is sent to subnet router

if subnet router IS the default gateway (normal router in graph) then we don’t need this config

dst ip shouldn’t exist in subnet 1, otherwise this device with this ip in subnet 1 might never be reached; since traffics reaching him all get directed to tailnet

normal router

2

3

1

src IP: 192.0.2.3 dst IP: 172.16.100.10

dst IP is already deviceB

172.16.100.10

if there”s another 172.16.100.10 existing in the subnet, and every device in the subnet has set up routing config, then this device will not be reacheable

ip packet traffic

src IP: 192.0.2.3 dst IP: 172.16.100.10

src IP: 192.0.2.2 dst IP: 172.16.100.10

or

src ip could be either deviceA or its subnet router, depending on whether SourceNAT is enabled

src IP: 192.0.2.3 dst IP: 172.16.100.10

src IP: 192.0.2.2 dst IP: 172.16.100.10

or

src ip could be either deviceA or its subnet router, depending on whether SourceNAT is enabled