avlis / pxe_coreos

Dockerfile to build a PXE server of coreOSes in a Docker container
22 stars 3 forks source link

Why are there two sets of private IP's in pxe_hosts.json.sample? #5

Open mabushey opened 5 years ago

mabushey commented 5 years ago
    "hosts": {
        "192.168.90.101": {
                "macaddr":      "e2:29:a2:da:43:b1",
                "$hostname":    "docker-101",
                "$public_ipv4": "10.100.10.101",
                "channel":      "stable",
        },

What;s the difference between 192.168.90.101 and 10.100.10.101 ?

avlis commented 5 years ago

192.168.90 is a private VLAN where the PXE is available, just for coreos nodes communications, where the hosts boot from.

the "public" network on this case was also only an internal company network, not connected to the internet, that's why it's a 10.100. It's where the containers will be available and provide service.

hope this helps,