I have 3 nets on my Hyper-V host.
eth0: 192.152.15.0/24, Interface IP: 192.152.15.245
eth1: 192.152.16.0/24, Interface IP: 192.152.16.245
eth2: 192.152.17.0/24, Interface IP: 192.152.17.245
Actually, the subnet 192.152.15.0/24 is configured on my firewall as a separate filed for test needs and that’s why i use it.
the router’s own GW is 192.152.15.254, which is the firewall.
I have set up dhcp-server for the subnets on eth1 and eth2 and defined as GW 192.152.16-17.245. All the VMs in this two networks, will receive one of those two GW.
I have set static route rule on router, using
set protocols static route 0.0.0.0/0 next-hop 192.152.15.254
since 192.152.15.254 the firewall is and the only way to the interent is.
However, i can ping clients from one subnet to another and also i can ping 8.8.8.8 from everywhere. But, when I try to open an internet page, it doesn’t work.
ok lads. I have found out that my dns server was not running at all . Interet works now on the VMs. @Viacheslav It would be intressting to konw why ping doens’t work on vyotta. I can ping my clients from vyotta though.