-1

I have host computer (Windows 10) with 1 ethernet port, it's connected by ethernet cable to corporative network with fixed ip address: 10.0.160.189

I have also microcomputer (CentOS 7 - console without gui) with 3 ethernet ports, it's connected by ethernet cable with usb-adapter to host computer

In this way, in windows network settings I have 2 interfaces: corporative interface 'Ethernet 1' (public + domain) and interface of usb-adapter netcard 'Ethernet 2' (public + unnamed)

I tried to share network from interface 1 to interface 2, and interface 2 was automatically assigned this ip address: 192.168.137.1 - and microcomputer was assigned this ip address: 192.168.137.211

In this way, now both computers can ping each other within ip range 192.168.137.0/24, but cannot ping anything else, even 8.8.8.8 ('time is up' error)

So, what could be the problem? How can I get network access in microcomputer via host?

I could directly connect corporative cable to microcomputer, and it worked, but I run specific webserver on it that can be viewed only on host browser, unfortunately

P.S. I work with microcomputer by console cable in PuTTY

Ssh-connection between these computers also isn't available

Surprisingly, host still can access websites in browser, but not ping it, and additionally, I have vm (Vbox Ubuntu) on host, that can ping host while host can't ping it

All host accesses became stable right after disabling network sharing as expected

I heard that I supposedly should use network switch instead of usb-adapter for host, but I'm not sure about that, I need to buy it after all...

Valiento
  • 1
  • 1
  • A well detailed problem description, but sorry, Stackoverflow is dedicated to helping solve `if/then/else` programming code (and tools) problems. Your question seems to be about using and configuring *nix tools. Please dlete here and repost to [su] or possibly [unix.se]. Please read their help sections about on-topic and how-to-ask questions. Also read the text of the [tag:linux] tag you included on your question. Good luck. – shellter Aug 31 '23 at 19:01

0 Answers0