We are developing a device based on Linux OS.

The device is installed and configured wifi module. We work in the mode of the access point ip address 30.0.0.200 assume.

In addition, ethernet works. The device has an ip address of 192.168.1.200.

Inside the device is a web-server which is accessed by ip.

The problem is this: turn off ethernet, work only on wifi. But for some reason, we can access the device by ip address wifi 30.0.0.200 and ip address ethernet 192.168.1.200, although it is disabled.

What could be the reason for this behavior? can with routing as that?

  • Disabled interface, not address. - Akina
  • Is the address obtained saved? Is there a way to dump it? The main goal is to disable ip ethernet unavailable when using ethernet - Sebefour
  • when the cable is connected, does your device act as a router to the network that owns the address 192.168.1.200 for connecting to it via wifi computers? - aleksandr barakin
  • Is the address obtained saved? Is there a way to dump it? Yes, uhidokat him in the settings of the IP stack of the device. For example, rewrite to something that is obviously incapable of being the IP address of a node, but that will not be rejected by the math of the device. Say, 0.0.0.0, 224.0.0.0 or 255.255.255.255 ... - Akina
  • Alexander Barakin, no, it should not. When connected via wifi, it just has to become an access point, issue an ip to the connected device (mobile phone for example) and transfer data. Should not route anything - Sebefour

0