Score:0

Can't route traffic from one NIC to another on Centos 7

ua flag

I deployed 2 Centos 7 Vms on Hyper-V, configuration as follows:

Host1 ( NIC "PRIVATE Virtual switch network" ( Network adapter type on Hyper-V ))

eth0: IP address static: 192.168.1.2 /24 GW: 192.168.1.3

Host2 (2 NIC: 1st - "Private" and 2nd - "Default switch" which has access to Internet)

1st NIC static 192.168.1.3 /24 - eth1

2nd NIC dhcp - eth0

I need to route traffic from Host1 eth1 to Host2 eth0 > out to internet. I am able to ping from Host1 eth0 to Host2 eth0 but ping is failing anywhere else (even default gateway of Host2 ).

What am I missing? enter image description here

First picture from Host1

Second from Host2 enter image description here

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.