Skip to content

Instantly share code, notes, and snippets.

@adiroiban
Last active November 7, 2023 00:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adiroiban/b50138e59d535d19a519020abd9d7c06 to your computer and use it in GitHub Desktop.
Save adiroiban/b50138e59d535d19a519020abd9d7c06 to your computer and use it in GitHub Desktop.
Calico Windows VxLAN bare-metal
Setting environment variables if not set...
Environment variable KUBE_NETWORK is not set. Setting it to the default value: Calico.*
Environment variable CALICO_NETWORKING_BACKEND is not set. Setting it to the default value: vxlan
Environment variable K8S_SERVICE_CIDR is not set. Setting it to the default value: 10.96.0.0/12
Environment variable DNS_NAME_SERVERS is not set. Setting it to the default value: 10.96.0.10
Environment variable DNS_SEARCH is not set. Setting it to the default value: svc.cluster.local
Environment variable CALICO_DATASTORE_TYPE is not set. Setting it to the default value: kubernetes
Environment variable KUBECONFIG is already set: c:\k\config
Environment variable CNI_BIN_DIR is not set. Setting it to the default value: C:\Program Files\containerd\cni\bin
Environment variable CNI_CONF_DIR is not set. Setting it to the default value: C:\Program Files\containerd\cni\conf
Environment variable CNI_CONF_FILENAME is not set. Setting it to the default value: 10-calico.conf
Environment variable CNI_IPAM_TYPE is not set. Setting it to the default value: calico-ipam
Environment variable VXLAN_VNI is not set. Setting it to the default value: 4096
Environment variable VXLAN_MAC_PREFIX is already set: 0E-2A
Environment variable VXLAN_ADAPTER is not set. Setting it to the default value:
Environment variable NODENAME is not set. Setting it to the default value: zephyrus-g14
Environment variable CALICO_K8S_NODE_REF is not set. Setting it to the default value: zephyrus-g14
Environment variable STARTUP_VALID_IP_TIMEOUT is not set. Setting it to the default value: 90
...SNIP...
Found valid IP: 172.19.0.57
...SNIP...
2023-11-06 05:31:39.763 [INFO][3468] startup/ipam.go 2169: Looking up existing affinities for host host="zephyrus-g14"
2023-11-06 05:31:39.766 [INFO][3468] startup/ipam.go 372: Looking up existing affinities for host host="zephyrus-g14"
2023-11-06 05:31:39.775 [INFO][3468] startup/ipam.go 489: Trying affinity for 10.10.253.192/26 host="zephyrus-g14"
2023-11-06 05:31:39.778 [INFO][3468] startup/ipam.go 155: Attempting to load block cidr=10.10.253.192/26 host="zephyrus-g14"
2023-11-06 05:31:39.782 [INFO][3468] startup/ipam.go 232: Affinity is confirmed and block has been loaded cidr=10.10.253.192/26 host="zephyrus-g14"
2023-11-06 05:31:39.782 [INFO][3468] startup/ipam.go 2202: Host's block '10.10.253.192/26' host="zephyrus-g14"
2023-11-06 05:31:39.782 [INFO][3468] startup/startup_windows.go 78: Backend networking is vxlan, ensure vxlan network.
2023-11-06 05:31:39.791 [INFO][3468] startup/dataplane_windows.go 358: Attempting to create HNSNetwork {"Name":"Calico","Type":"Overlay","Subnets":[{"AddressPrefix":"10.10.253.192/26","GatewayAddress":"10.10.253.193","Policies":[{"Type":"VSID","VSID":4096}]}]} subnet="10.10.253.192/26"
2023-11-06 05:31:39.891 [INFO][3468] startup/dataplane_windows.go 366: Waiting to get ManagementIP from HNSNetwork Calico subnet="10.10.253.192/26"
2023-11-06 05:31:40.398 [INFO][3468] startup/dataplane_windows.go 377: Waiting to get net interface for HNSNetwork Calico (172.19.0.57) subnet="10.10.253.192/26"
2023-11-06 05:31:41.058 [INFO][3468] startup/dataplane_windows.go 386: Created HNSNetwork Calico subnet="10.10.253.192/26"
2023-11-06 05:31:41.070 [INFO][3468] startup/dataplane_windows.go 553: Created HNSEndpoint Calico_ep subnet="10.10.253.192/26"
2023-11-06 05:31:41.080 [INFO][3468] startup/hcnsupport.go 84: currentVersion.Major > versionRange.MaxVersion.Major: 13, 9
2023-11-06 05:31:41.080 [INFO][3468] startup/hcnsupport.go 84: currentVersion.Major > versionRange.MaxVersion.Major: 13, 9
2023-11-06 05:31:41.080 [INFO][3468] startup/hcnsupport.go 84: currentVersion.Major > versionRange.MaxVersion.Major: 13, 10
2023-11-06 05:31:41.080 [INFO][3468] startup/dataplane_windows.go 1113: Checking HNS network for DR MAC : [&{Id:D3012506-BFA4-4D4C-A221-A353A481020F Name:Calico Type:Overlay NetworkAdapterName: SourceMac: Policies:[[123 34 84 121 112 101 34 58 34 72 111 115 116 82 111 117 116 101 34 125]] MacPools:[{StartMacAddress:00-15-5D-13-20-00 EndMacAddress:00-15-5D-13-2F-FF}] Subnets:[{AddressPrefix:10.10.253.192/26 GatewayAddress:10.10.253.193 Policies:[[123 34 84 121 112 101 34 58 34 86 83 73 68 34 44 34 86 83 73 68 34 58 52 48 57 54 125]]}] DNSSuffix: DNSServerList: DNSServerCompartment:4 ManagementIP:172.19.0.57 AutomaticDNS:false}]
2023-11-06 05:31:41.080 [INFO][3468] startup/dataplane_windows.go 1115: inside for loop. policy = [{Type:VSwitchExtension Settings:[123 34 69 120 116 101 110 115 105 111 110 73 68 34 58 34 101 55 99 51 98 50 102 48 45 102 51 99 53 45 52 56 100 102 45 97 102 50 98 45 49 48 102 101 100 54 100 55 50 101 55 97 34 125]}]
2023-11-06 05:31:41.080 [INFO][3468] startup/dataplane_windows.go 1115: inside for loop. policy = [{Type:VSwitchExtension Settings:[123 34 69 120 116 101 110 115 105 111 110 73 68 34 58 34 102 55 52 102 50 52 49 98 45 52 52 48 102 45 52 52 51 51 45 98 98 50 56 45 48 48 102 56 57 101 97 100 50 48 100 56 34 44 34 69 110 97 98 108 101 34 58 116 114 117 101 125]}]
2023-11-06 05:31:41.080 [INFO][3468] startup/dataplane_windows.go 1115: inside for loop. policy = [{Type:VSwitchExtension Settings:[123 34 69 120 116 101 110 115 105 111 110 73 68 34 58 34 52 51 48 98 100 97 100 100 45 98 97 98 48 45 52 49 97 98 45 97 51 54 57 45 57 52 98 54 55 102 97 53 98 101 48 97 34 44 34 69 110 97 98 108 101 34 58 116 114 117 101 125]}]
2023-11-06 05:31:41.080 [INFO][3468] startup/dataplane_windows.go 1115: inside for loop. policy = [{Type:ProviderAddress Settings:[123 34 80 114 111 118 105 100 101 114 65 100 100 114 101 115 115 34 58 34 49 55 50 46 49 57 46 48 46 53 55 34 125]}]
2023-11-06 05:31:41.080 [INFO][3468] startup/dataplane_windows.go 1127: policy type is provideraddress
2023-11-06 05:31:41.080 [INFO][3468] startup/dataplane_windows.go 1134: providerAddress = 172.19.0.57
2023-11-06 05:31:41.080 [INFO][3468] startup/dataplane_windows.go 1115: inside for loop. policy = [{Type:DrMacAddress Settings:[123 34 65 100 100 114 101 115 115 34 58 34 48 48 45 49 53 45 53 68 45 48 57 45 65 67 45 52 67 34 125]}]
2023-11-06 05:31:41.080 [INFO][3468] startup/dataplane_windows.go 1117: policy type is drmacaddress
2023-11-06 05:31:41.080 [INFO][3468] startup/dataplane_windows.go 1124: remote dr mac = 00-15-5D-09-AC-4C
2023-11-06 05:31:41.080 [INFO][3468] startup/dataplane_windows.go 1115: inside for loop. policy = [{Type:HostRoute Settings:[]}]
2023-11-06 05:31:41.080 [INFO][3468] startup/dataplane_windows.go 1153: mac address = 00:15:5d:09:ac:4c
2023-11-06 05:31:41.088 [INFO][3468] startup/startup_windows.go 113: Ensure network is done.
Calico node initialisation succeeded; monitoring kubelet for restarts...
PS C:\Program Files\containerd\cni\conf> more 0-containerd-nat.conf
{
"cniVersion": "0.2.0",
"name": "nat",
"type": "nat",
"master": "Ethernet",
"ipam": {
"subnet": "172.16.0.0/20",
"routes": [
{
"GW": "172.21.16.1"
}
]
},
"capabilities": {
"portMappings": true,
"dns": true
}
}
PS C:\Program Files\containerd\cni\conf> more 10-calico.conf
{
"name": "Calico",
"windows_use_single_network": true,
"cniVersion": "0.3.1",
"type": "calico",
"mode": "vxlan",
"vxlan_mac_prefix": "0E-2A",
"vxlan_vni": 4096,
"policy": {
"type": "k8s"
},
"log_level": "info",
"windows_loopback_DSR": true,
"capabilities": {"dns": true},
"DNS": {
"Nameservers": ["10.96.0.10"],
"Search": [
"svc.cluster.local"
]
},
"nodename_file": "C:\\CalicoWindows\\libs\\calico\\..\\..\\nodename",
"datastore_type": "kubernetes",
"etcd_endpoints": "",
"etcd_key_file": "",
"etcd_cert_file": "",
"etcd_ca_cert_file": "",
"kubernetes": {
"kubeconfig": "c:\\k\\config"
},
"ipam": {
"type": "calico-ipam",
"subnet": "usePodCidr"
},
"policies": [
{
"Name": "EndpointPolicy",
"Value": {
"Type": "OutBoundNAT",
"ExceptionList": [
"10.96.0.0/12"
]
}
},
{
"Name": "EndpointPolicy",
"Value": {
"Type": "SDNROUTE",
"DestinationPrefix": "10.96.0.0/12",
"NeedEncap": true
}
}
]
}
Get-HNSNetwork
ActivityId : B17F2C60-D0F2-4DB0-A289-3EDAC3BD9A40
AdditionalParams :
CurrentEndpointCount : 0
DNSServerCompartment : 3
DrMacAddress : 00-15-5D-EE-77-9E
Extensions : {@{Id=E7C3B2F0-F3C5-48DF-AF2B-10FED6D72E7A; IsEnabled=False; Name=Microsoft Windows Filtering Platform},
@{Id=F74F241B-440F-4433-BB28-00F89EAD20D8; IsEnabled=True; Name=Microsoft Azure VFP Switch Extension},
@{Id=430BDADD-BAB0-41AB-A369-94B67FA5BE0A; IsEnabled=True; Name=Microsoft NDIS Capture}}
Flags : 0
Health : @{LastErrorCode=0; LastUpdateTime=133437040057875056}
ID : FCD5392F-7502-4247-9F2E-F844B83E3FD7
IPv6 : False
LayeredOn : A9A3184D-F0EB-4E4C-BFBD-2B7DB9396BE1
MacPools : {@{EndMacAddress=00-15-5D-A8-0F-FF; StartMacAddress=00-15-5D-A8-00-00}}
ManagementIP : 172.19.0.57
MaxConcurrentEndpoints : 0
Name : External
Policies : {}
State : 1
Subnets : {@{AdditionalParams=; AddressPrefix=192.168.255.0/30; Flags=0; GatewayAddress=192.168.255.1; Health=; ID=B248C3C9-2989-496D-8E43-E690F472D75C;
IpSubnets=System.Object[]; ObjectType=5; Policies=System.Object[]; State=0}}
TotalEndpoints : 0
Type : Overlay
Version : 55834574850
Resources : @{AdditionalParams=; AllocationOrder=1; Allocators=System.Object[]; CompartmentOperationTime=0; Flags=0; Health=;
ID=B17F2C60-D0F2-4DB0-A289-3EDAC3BD9A40; PortOperationTime=0; State=1; SwitchOperationTime=0; VfpOperationTime=0;
parentId=2A3ACDF4-7A6C-45F3-800B-7A09C0F4170E}
ActivityId : 61EE8A6B-F81B-47F6-A345-6D8ACD785343
AdditionalParams :
CurrentEndpointCount : 0
DNSServerCompartment : 4
DrMacAddress : 00-15-5D-EE-77-9E
Extensions : {@{Id=E7C3B2F0-F3C5-48DF-AF2B-10FED6D72E7A; IsEnabled=False; Name=Microsoft Windows Filtering Platform},
@{Id=F74F241B-440F-4433-BB28-00F89EAD20D8; IsEnabled=True; Name=Microsoft Azure VFP Switch Extension},
@{Id=430BDADD-BAB0-41AB-A369-94B67FA5BE0A; IsEnabled=True; Name=Microsoft NDIS Capture}}
Flags : 0
Health : @{LastErrorCode=0; LastUpdateTime=133437041392180303}
ID : 9A842E27-FEF9-41E6-93C0-4944A331A284
IPv6 : False
LayeredOn : A9A3184D-F0EB-4E4C-BFBD-2B7DB9396BE1
MacPools : {@{EndMacAddress=00-15-5D-99-0F-FF; StartMacAddress=00-15-5D-99-00-00}}
ManagementIP : 172.19.0.57
MaxConcurrentEndpoints : 0
Name : Calico
Policies : {@{Type=HostRoute}, @{DestinationPrefix=10.10.102.128/26; DistributedRouterMacAddress=66-63-ec-22-d5-28; IsolationId=4096;
ProviderAddress=172.19.0.26; Type=RemoteSubnetRoute}, @{DestinationPrefix=10.10.28.192/26; DistributedRouterMacAddress=66-a1-47-d2-79-9f;
IsolationId=4096; ProviderAddress=172.19.0.29; Type=RemoteSubnetRoute}, @{DestinationPrefix=10.10.118.128/26;
DistributedRouterMacAddress=00-15-5d-ff-cf-66; IsolationId=4096; ProviderAddress=172.19.1.100; Type=RemoteSubnetRoute}...}
State : 1
Subnets : {@{AdditionalParams=; AddressPrefix=10.10.253.192/26; Flags=0; GatewayAddress=10.10.253.193; Health=; ID=C2F67921-D440-47D1-BE94-12C83766A012;
IpSubnets=System.Object[]; ObjectType=5; Policies=System.Object[]; State=0}}
TotalEndpoints : 0
Type : Overlay
Version : 55834574850
Resources : @{AdditionalParams=; AllocationOrder=1; Allocators=System.Object[]; CompartmentOperationTime=0; Flags=0; Health=;
ID=61EE8A6B-F81B-47F6-A345-6D8ACD785343; PortOperationTime=0; State=1; SwitchOperationTime=0; VfpOperationTime=0;
parentId=2A3ACDF4-7A6C-45F3-800B-7A09C0F4170E}
ActivityId : 91CAA043-F3BC-40F8-9A70-76E853EAE1E0
AdditionalParams :
CurrentEndpointCount : 2
DNSServerList : 10.96.0.10
DNSSuffix : default.svc.cluster.local,svc.cluster.local,cluster.local
Extensions : {@{Id=E7C3B2F0-F3C5-48DF-AF2B-10FED6D72E7A; IsEnabled=False; Name=Microsoft Windows Filtering Platform},
@{Id=F74F241B-440F-4433-BB28-00F89EAD20D8; IsEnabled=False; Name=Microsoft Azure VFP Switch Extension},
@{Id=430BDADD-BAB0-41AB-A369-94B67FA5BE0A; IsEnabled=True; Name=Microsoft NDIS Capture}}
Flags : 8
Health : @{LastErrorCode=0; LastUpdateTime=133437043944498544}
ID : 94EC48E0-8BE3-4380-A140-EBFC61E2B754
IPv6 : False
LayeredOn : 26EC8EBA-4903-4B69-8BD8-DFD1C88880A6
MacPools : {@{EndMacAddress=00-15-5D-3E-0F-FF; StartMacAddress=00-15-5D-3E-00-00}}
MaxConcurrentEndpoints : 2
Name : nat
NatName : NAT0F6B5DFC-A1C4-4D0A-A0C9-ECACC5630494
Policies : {@{Type=VLAN; VLAN=1}}
State : 1
Subnets : {@{AdditionalParams=; AddressPrefix=172.16.0.0/20; Flags=0; GatewayAddress=172.21.16.1; Health=; ID=48C5E8D1-068D-44A6-9194-1E102E2C3025;
IpSubnets=System.Object[]; ObjectType=5; Policies=System.Object[]; State=0}}
TotalEndpoints : 9
Type : NAT
Version : 55834574850
Resources : @{AdditionalParams=; AllocationOrder=2; Allocators=System.Object[]; CompartmentOperationTime=0; Flags=0; Health=;
ID=91CAA043-F3BC-40F8-9A70-76E853EAE1E0; PortOperationTime=0; State=1; SwitchOperationTime=0; VfpOperationTime=0;
parentId=EFE85BDF-BD7A-4AF6-9712-5C4F54E8F86D}
Windows pods
$ kubectl get pods -o wide
NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATES
nano 1/1 Running 0 87m 172.16.0.113 zephyrus-g14 <none> <none>
nano-2 1/1 Running 0 32m 172.16.14.31 zephyrus-g14 <none> <none>
Linux pod
$ kubectl get pods -o wide -n arc-runners
NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATES
arc-runner-set-h4mwq-runner-bgktc 1/1 Running 0 28h 10.10.102.163 monteforte <none> <none>
Start to run c:\k\kube-proxy.exe
Setting environment variables if not set...
Environment variable KUBE_NETWORK is not set. Setting it to the default value: Calico.*
Environment variable CALICO_NETWORKING_BACKEND is not set. Setting it to the default value: vxlan
Environment variable K8S_SERVICE_CIDR is not set. Setting it to the default value: 10.96.0.0/12
Environment variable DNS_NAME_SERVERS is not set. Setting it to the default value: 10.96.0.10
Environment variable DNS_SEARCH is not set. Setting it to the default value: svc.cluster.local
Environment variable CALICO_DATASTORE_TYPE is not set. Setting it to the default value: kubernetes
Environment variable KUBECONFIG is already set: c:\k\config
Environment variable ETCD_ENDPOINTS is not set. Setting it to the default value:
Environment variable ETCD_KEY_FILE is not set. Setting it to the default value:
Environment variable ETCD_CERT_FILE is not set. Setting it to the default value:
Environment variable ETCD_CA_CERT_FILE is not set. Setting it to the default value:
Environment variable CNI_BIN_DIR is not set. Setting it to the default value: C:\Program Files\containerd\cni\bin
Environment variable CNI_CONF_DIR is not set. Setting it to the default value: C:\Program Files\containerd\cni\conf
Environment variable CNI_CONF_FILENAME is not set. Setting it to the default value: 10-calico.conf
Environment variable CNI_IPAM_TYPE is not set. Setting it to the default value: calico-ipam
Environment variable VXLAN_VNI is not set. Setting it to the default value: 4096
Environment variable VXLAN_MAC_PREFIX is already set: 0E-2A
Environment variable VXLAN_ADAPTER is not set. Setting it to the default value:
Environment variable NODENAME is not set. Setting it to the default value: zephyrus-g14
Environment variable CALICO_K8S_NODE_REF is not set. Setting it to the default value: zephyrus-g14
Environment variable STARTUP_VALID_IP_TIMEOUT is not set. Setting it to the default value: 90
Environment variable IP is not set. Setting it to the default value: autodetect
Environment variable CALICO_LOG_DIR is not set. Setting it to the default value: C:\CalicoWindows\logs
Environment variable FELIX_LOGSEVERITYFILE is not set. Setting it to the default value: none
Environment variable FELIX_LOGSEVERITYSYS is not set. Setting it to the default value: none
Running kube-proxy service.
Waiting for HNS network Calico to be created...
HNS network Calico found.
Detected kube-proxy >= 1.14 and Windows version supporting DSR , enabling WinDSR feature gate.
Detected VXLAN network, waiting for Calico host endpoint to be created...
Host endpoint found.
Enabling feature gates: WinDSR=true WinOverlay=true.
Start to run c:\k\kube-proxy.exe
Start c:\k\kubelet.exe
Setting environment variables if not set...
Environment variable KUBE_NETWORK is not set. Setting it to the default value: Calico.*
Environment variable CALICO_NETWORKING_BACKEND is not set. Setting it to the default value: vxlan
Environment variable K8S_SERVICE_CIDR is not set. Setting it to the default value: 10.96.0.0/12
Environment variable DNS_NAME_SERVERS is not set. Setting it to the default value: 10.96.0.10
Environment variable DNS_SEARCH is not set. Setting it to the default value: svc.cluster.local
Environment variable CALICO_DATASTORE_TYPE is not set. Setting it to the default value: kubernetes
Environment variable KUBECONFIG is already set: c:\k\config
Environment variable ETCD_ENDPOINTS is not set. Setting it to the default value:
Environment variable ETCD_KEY_FILE is not set. Setting it to the default value:
Environment variable ETCD_CERT_FILE is not set. Setting it to the default value:
Environment variable ETCD_CA_CERT_FILE is not set. Setting it to the default value:
Environment variable CNI_BIN_DIR is not set. Setting it to the default value: C:\Program Files\containerd\cni\bin
Environment variable CNI_CONF_DIR is not set. Setting it to the default value: C:\Program Files\containerd\cni\conf
Environment variable CNI_CONF_FILENAME is not set. Setting it to the default value: 10-calico.conf
Environment variable CNI_IPAM_TYPE is not set. Setting it to the default value: calico-ipam
Environment variable VXLAN_VNI is not set. Setting it to the default value: 4096
Environment variable VXLAN_MAC_PREFIX is already set: 0E-2A
Environment variable VXLAN_ADAPTER is not set. Setting it to the default value:
Environment variable NODENAME is not set. Setting it to the default value: zephyrus-g14
Environment variable CALICO_K8S_NODE_REF is not set. Setting it to the default value: zephyrus-g14
Environment variable STARTUP_VALID_IP_TIMEOUT is not set. Setting it to the default value: 90
Environment variable IP is not set. Setting it to the default value: autodetect
Environment variable CALICO_LOG_DIR is not set. Setting it to the default value: C:\CalicoWindows\logs
Environment variable FELIX_LOGSEVERITYFILE is not set. Setting it to the default value: none
Environment variable FELIX_LOGSEVERITYSYS is not set. Setting it to the default value: none
Running kubelet service.
Waiting for Calico initialisation to finish...
Calico initialisation finished.
Using configured nodename: zephyrus-g14 DNS: 10.96.0.10
Auto-detecting node IP, looking for interface named like 'vEthernet (Ethernet*' ...
Detected node IP: 172.19.0.57.
Detected containerd running, configuring kubelet for containerd
Start c:\k\kubelet.exe
# ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1450
inet 10.10.102.163 netmask 255.255.255.255 broadcast 0.0.0.0
inet6 fe80::487a:efff:feec:b4ed prefixlen 64 scopeid 0x20<link>
ether 4a:7a:ef:ec:b4:ed txqueuelen 1000 (Ethernet)
RX packets 31322 bytes 33661584 (33.6 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 19852 bytes 5982084 (5.9 MB)
TX errors 0 dropped 1 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
# netstat -r
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
default 169.254.1.1 0.0.0.0 UG 0 0 0 eth0
169.254.1.1 0.0.0.0 255.255.255.255 UH 0 0 0 eth0
# ping google.com
PING google.com (142.250.184.174) 56(84) bytes of data.
64 bytes from mad07s23-in-f14.1e100.net (142.250.184.174): icmp_seq=1 ttl=116 time=32.0 ms
64 bytes from mad07s23-in-f14.1e100.net (142.250.184.174): icmp_seq=2 ttl=116 time=31.9 ms
^C
--- google.com ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1001ms
172.19.0.16 - Master
172.19.0.1 - Network router
172.19.0.57 - Windows Node
--------
Windows node has fully functional internet access and DNS is working and I can connect to Intenet
On Windows node
ipconfig /all
Windows IP Configuration
Host Name . . . . . . . . . . . . : zephyrus-g14
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . : chevah.com
Ethernet adapter vEthernet (Ethernet):
Connection-specific DNS Suffix . : chevah.com
Description . . . . . . . . . . . : Hyper-V Virtual Ethernet Adapter
Physical Address. . . . . . . . . : 00-E0-4D-68-06-71
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::c5c2:9b55:2596:44a9%17(Preferred)
IPv4 Address. . . . . . . . . . . : 172.19.0.57(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.0.0
Lease Obtained. . . . . . . . . . : Sunday, November 5, 2023 4:26:50 PM
Lease Expires . . . . . . . . . . : Thursday, December 13, 2159 2:12:50 AM
Default Gateway . . . . . . . . . : 172.19.0.1
DHCP Server . . . . . . . . . . . : 172.19.0.1
DHCPv6 IAID . . . . . . . . . . . : 285270093
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-2C-D9-E6-A0-00-E0-4D-68-06-71
DNS Servers . . . . . . . . . . . : 172.19.0.16
9.9.9.9
NetBIOS over Tcpip. . . . . . . . : Enabled
Ethernet adapter vEthernet (nat):
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Hyper-V Virtual Ethernet Adapter #3
Physical Address. . . . . . . . . : 00-15-5D-3E-05-DB
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::a9fb:5a5f:8b76:d713%41(Preferred)
IPv4 Address. . . . . . . . . . . : 172.21.16.1(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.240.0
Default Gateway . . . . . . . . . :
DHCPv6 IAID . . . . . . . . . . . : 687871325
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-2C-D9-E6-A0-00-E0-4D-68-06-71
DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1
fec0:0:0:ffff::2%1
fec0:0:0:ffff::3%1
NetBIOS over Tcpip. . . . . . . . : Enabled
C:\>ipconfig /all
Windows IP Configuration
Host Name . . . . . . . . . . . . : nano
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . : .
Ethernet adapter vEthernet (4df24084e1635d241c583aafb78847dff165c75611fd00fc978a1d36b51218a9_nat):
Connection-specific DNS Suffix . : .
Description . . . . . . . . . . . : Hyper-V Virtual Ethernet Container Adapter
Physical Address. . . . . . . . . : 00-15-5D-3E-05-A1
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::fc59:56da:4330:8803%46(Preferred)
IPv4 Address. . . . . . . . . . . : 172.16.0.113(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.240.0
Default Gateway . . . . . . . . . : 172.21.16.1
DNS Servers . . . . . . . . . . . : 127.0.0.1
NetBIOS over Tcpip. . . . . . . . : Disabled
Connection-specific DNS Suffix Search List :
C:\>route print
===========================================================================
Interface List
45...........................Software Loopback Interface 5
46...00 15 5d 3e 05 a1 ......Hyper-V Virtual Ethernet Container Adapter
===========================================================================
IPv4 Route Table
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 172.21.16.1 172.16.0.113 5256
127.0.0.0 255.0.0.0 On-link 127.0.0.1 331
127.0.0.1 255.255.255.255 On-link 127.0.0.1 331
127.255.255.255 255.255.255.255 On-link 127.0.0.1 331
172.16.0.0 255.255.240.0 On-link 172.16.0.113 5256
172.16.0.113 255.255.255.255 On-link 172.16.0.113 5256
172.16.15.255 255.255.255.255 On-link 172.16.0.113 5256
224.0.0.0 240.0.0.0 On-link 127.0.0.1 331
224.0.0.0 240.0.0.0 On-link 172.16.0.113 5256
255.255.255.255 255.255.255.255 On-link 127.0.0.1 331
255.255.255.255 255.255.255.255 On-link 172.16.0.113 5256
===========================================================================
Persistent Routes:
Network Address Netmask Gateway Address Metric
172.19.0.57 255.255.255.255 172.19.0.1 100
0.0.0.0 0.0.0.0 172.21.16.1 Default
0.0.0.0 0.0.0.0 172.21.16.1 Default
===========================================================================
IPv6 Route Table
===========================================================================
Active Routes:
If Metric Network Destination Gateway
45 331 ::1/128 On-link
46 5256 fe80::/64 On-link
46 5256 fe80::fc59:56da:4330:8803/128
On-link
45 331 ff00::/8 On-link
46 5256 ff00::/8 On-link
===========================================================================
Persistent Routes:
None
C:\>ping 172.19.0.57
Pinging 172.19.0.57 with 32 bytes of data:
Control-C
^C
C:\>ping 172.19.0.1
Pinging 172.19.0.1 with 32 bytes of data:
Control-C
^C
C:\>ping 172.16.0.113
Pinging 172.16.0.113 with 32 bytes of data:
Reply from 172.16.0.113: bytes=32 time<1ms TTL=128
Reply from 172.16.0.113: bytes=32 time<1ms TTL=128
Ping statistics for 172.16.0.113:
Packets: Sent = 2, Received = 2, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
Control-C
^C
C:\>ping 172.21.16.1
Pinging 172.21.16.1 with 32 bytes of data:
Control-C
^C
C:\>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment