+---+ eth0| S | +----------+ internet ======| | | |------PC1 | / | | switch |------PC2 | |========| |------PC3 | R |eth1 +----------+ +---+
S/R: Server as Router
eth0: connection from the internet/other network eth1: internal network PC1,PC2,PC3: Ubuntu OS
*addition PC4 connected to switch which is on windows OS.
I set PC1, PC2 and PC4 to auto DHCP to have an access with the network and internet but
PC3 is on static. PC3 has an IP address same of a router(dhcp:interface=eth1). e.g. PC3:(fake) address 192.168.1.2 network 192.168.1.0 netmask 255.255.255.0 gateway 192.168.1.2
The PC4 can access to the network/internet while
PC1 and PC2 cannot.
Window OS automatically can detect real gateway(router) while
Ubuntu OS cannot. :(
How can we fix this if someone configured a static ip add same with the gateway(router)?