Yes, I am using Hyper-V and choose the "external network" and I see "vEthernet (new virtual switch)" adapter next to my NIC addapter.Any virtualization platform I know for Windows does address also networking. So as soon as you install/activate it, a virtual Ethernet interface will be added to the Windows system, and you'll be able to add more manually. And you will also be able to specify how to use them.
Yes, only one NIC card.So if there is just a single physical network interface on the Windows
You mean to chose the physical connection and the "new" internal virtual connection, and click "bridge" to share Internet?If you create an internal network, a corresponding virtual interface is created in the host Windows, which you can use to share internet with the CHR connected to the corresponding virtual network.
Both IPs are /32 ones , each one on different subnet. I cannot deassign the first one (unless you mean remove the static IP in windows IPV4 settings and chose "obtain an IP address automatically", but I have a feeling it will take again the same.if you deassign the non-/32 public IP on Windows and assign it to the CHR interface attached to that external network, the CHR will have internet access
Yes, this is how they 've done itIf the second public IP is routed via the first one, you can't use it for the CHR if the basic one is assigned to Windows,
Got a little confused here...by private address you mean 192.x.x.x? If that's what you mean I understand : "...the CHR must act as a NAT for it; "If you keep the Windows on a private address, the CHR must act as a NAT for it;
There is an option in Windows to assign an additional public IP address to the same NIC (sharing the main gateway) . Is this what you mean here?if you want to assign the second public IP to the Windows directly, the CHR must not act as a NAT.
I think I understand what you 're saying here, the Internal network in this case will be set to receive an IP address automatically ? Or set it up as :To have the second public IP directly to Windows, use any non-conflicting private ip, let's say 10.10.10.10 for the purpose of the example; the /32 public one will be 22.22.22.22.
I was under the impression that Windows do not allow setting a gateway outside the subnet, but can be wrong... In this last example do I need to bridge the Internal network with the physical network or not since it will have the public /32 address ? What about Ether1, where will it be connected?It will ask you whether you really want to set up a default gateway outside the subnet of the own address, you confirm that. That's it.
No, that's two different functionalities. When you select two or more network interfaces in Windows, you can bridge them together, but what I have in mind is another operation - right-click the interface holding the public IP, choose properties; in the window that opens, choose the "sharing" tab, check "allow other network users to share this connection", and choose the other interface from a drop-down menu (in your particular case, there may be only a single one, the virtual NIC belonging to the internal network. Once you confirm this, Windows start acting as a router with NAT: 192.168.137.1/24 gets assigned to the "LAN" interface chosen, a DHCP server assigning addresses from 192.168.137.0/24 gets spawned there, indicating 192.168.137.1 as the default gateway, and Windows start forwarding packets coming from this subnet via the "shared" (WAN) interface and src-nat them to its own IP address.You mean to chose the physical connection and the "new" internal virtual connection, and click "bridge" to share Internet?
OK, of course any individual address is a /32 one; what I had in mind was that one of them (a "primary" one) is part of at least a /30 subnet, with another address from that subnet acting as the default gateway for the Windows, whereas the other one (an "additional" one) is routed to the Windows via the first one, meaning you never receive an ARP request for this other one. To use this additional address on the Windows themselves, you have to add it as a secondary one with /32 mask, haven't you?Both IPs are /32 ones , each one on different subnet. I cannot deassign the first one (unless you mean remove the static IP in windows IPV4 settings and chose "obtain an IP address automatically", but I have a feeling it will take again the same.
What I had in mind was thatGot a little confused here...by private address you mean 192.x.x.x? If that's what you mean I understand : "...the CHR must act as a NAT for it; "If you keep the Windows on a private address, the CHR must act as a NAT for it;
No, this works when both the primary public address (the one with an other-than-/32 mask) and the secondary one are assigned to Windows themselves, so none of the two remains free for the CHR.There is an option in Windows to assign an additional public IP address to the same NIC (sharing the main gateway) . Is this what you mean here?
The latter. You must configure this manually in Windows and CHR. Maybe there is a way to use a DHCP server on the CHR for this but I've never tested this. In any case it takes more work to set up the DHCP server than to set the address manually on Windows.I think I understand what you 're saying here, the Internal network in this case will be set to receive an IP address automatically ? Or set it up as :
IP address: 22.22.22.22
Subnet mask: 255.255.255.255
Default gateway: 10.10.10.10
I've tested that before posting, that's why I wrote that there will be the warning window regarding out-of-subnet gateway.I was under the impression that Windows do not allow setting a gateway outside the subnet, but can be wrong...
In this last example, you connect CHR's ether1 to the only external network available, so effectively CHR's ether1 will be connected to the physical Ethernet cable. In Hyper-V's virtual switch management, you have to forbid Windows to connect to the physical interface at all (untick the checkbox saying "allow the host operating system to share this adapter" in the settings of the External network).In this last example do I need to bridge the Internal network with the physical network or not since it will have the public /32 address ? What about Ether1, where will it be connected?
If I do that, won't I lose remote connection to the server (won't I be locked out from accessing the dedicated server through remote desktop connection) ? Or you meant to install a windows OS on that VM give the second public IP to that VM and create another CHR VM (internal network) ?In Hyper-V's virtual switch management, you have to forbid Windows to connect to the physical interface at all (untick the checkbox saying "allow the host operating system to share this adapter" in the settings of the External network).
You wrote before that the additional IP address was routed via the first one; the slideshow suggests that it is in its own subnet, as it has a /24 mask.The provider suggests to use the second IP in this way: https://adminforge.de/windows-allgemein ... n-windows/ had to translate it on google in English , they didn't give me an English version one , apologies.
I don't know your environment - you haven't mentioned that it is a server in some datacenter. If you have no other access to the Windows machine than remotely via this interface, then definitely this is not the way to go, as you'd indeed lose the access. If you can set things up locally, while connected using a keyboard and a monitor, you will have RDP access via the CHR later on. But this is only relevant if they indeed route 22.22.22.22 to you via 23.23.23.90; if they send ARP requests for 22.22.22.22, the whole exercise is useless and you can have 23.23.23.90 on the Windows and 22.22.22.22 on the CHR while both are bridged with the Realtek NIC (external virtual switch).If I do that, won't I lose remote connection to the server (won't I be locked out from accessing the dedicated server through remote desktop connection) ? Or you meant to install a windows OS on that VM give the second public IP to that VM and create another CHR VM (internal network) ?In Hyper-V's virtual switch management, you have to forbid Windows to connect to the physical interface at all (untick the checkbox saying "allow the host operating system to share this adapter" in the settings of the External network).
Of course you cannot ping 8.8.8.8 from the CHR, as both the public IPs are attached to the Windows (and there is no default route on the CHR, only the route to 22.22.22.22).Haven't manage to ping 8.8.8.8 from MT
I am attaching both results with ARP filter on External virtual card and Dst host to 22.22.22.22 (ping from laptop) . Didn't see any ARP requests for 22.22.22.22 when I run ping to it.So the first thing necessary is to find out how it is actually done, because the setup will differ accordingly.
Thought I mentioned in the beginning that it is a remote dedicated server (sorry if I didn't mention that I only have remote access through RDC and no other ways to connect)I don't know your environment - you haven't mentioned that it is a server in some datacenter.
You mean bridge the external virtual card with the Internal and enter 22.22.22.22 on the CHR? What IP should I enter on the internal virtual card? Or follow this (and just bridge the two virtualif they send ARP requests for 22.22.22.22, the whole exercise is useless and you can have 23.23.23.90 on the Windows and 22.22.22.22 on the CHR while both are bridged with the Realtek NIC (external virtual switch).
... but the ping requests did nevertheless arrive. So if you gave the ISP router enough time to forget the eventual ARP record before starting to ping, and if you first sniffed for ARP and only then for ICMP, it means that the ISP has configured a route to 22.22.22.22 via the primary IP as a gateway. But it's a public IP after all, so various bots may attack it... so to be bullet-proof about it, sniff for ARP for half an hour and then use a display filter arp.dst.proto_ipv4 == 22.22.22.22. If the packet list becomes empty once you apply this display filter, it's definitely the worst case.I am attaching both results with ARP filter on External virtual card and Dst host to 22.22.22.22 (ping from laptop) . Didn't see any ARP requests for 22.22.22.22 when I run ping to it.
This is irrelevant as the ISP doesn't send ARP requests for 22.22.22.22. If they did, it would just mean to connect ether1 of CHR to the external virtual switch, keep the Windows be connected to it too, and at the CHR, setYou mean bridge the external virtual card with the Internal and enter 22.22.22.22 on the CHR?
Yes, it did come back as empty :-( and after some back and forth with the provider they came back with this:use a display filter arp.dst.proto_ipv4 == 22.22.22.22. If the packet list becomes empty once you apply this display filter, it's definitely the worst case.
arp.dst.proto_ipv4 == 22.22.22.22 , to see if I understand it correctly shows ARP requests to 22.22.22.22, if the list gets populated "Who has...Tell..." it shows that the provider sends requests to this public IP (when trying to access via ping) regardless of whether it is configured in Windows (Ethernet/properties/advanced). If nothing comes back it shows this IP is not "active" as it is routed through the first one , and because is not (in my case) configured in Windows there is no response . Am I correct in this ?Dear Customer,
The additional IPs which we provided are forwarded through the main IP addresses which means that they need to be assigned to the server network settings.
Also, the additional IPs do not have their own gateway and MAC addresses.