I have a PC with dual LAN, I wish them both to be on the same network and connectable to other systems. I boot with the below settings in /etc/network/interfaces
:
auto eth1
iface eth1 inet static
address 10.128.192.28
netmask 255.255.255.0
network 10.128.192.0
broadcast 10.128.192.255
auto eth2
iface eth2 inet static
address 10.128.192.19
netmask 255.255.255.0
network 10.128.192.0
broadcast 10.128.192.255
On bootup, the IPs are configured correctly. However, if I connect a laptop to eth1, I cannot ping the PC at all. If I connect to eth2, I can ping both 10.128.192.28 and 10.128.192.19.
If eth1 and eth2 are on different networks, both work without issue. However I need them to be on the same network.
How can I get eth1 and eth2 to operate independently on the same 10.128.192.x network?