I am a bit of a newbie and may not be using the right terminology here, but trying to be complete in the query.
I am trying to setup SugarCRM+Apache on an Ubuntu box with two network interfaces. eth0 is connected to the LAN with a static IP reserved through a Windows DHCP server elsewhere eth1 is connected to a 4G internet device which has its own DHCP server which gives an IP in the same range and netmask as that which the Windows DHCP server uses.
Now when I use another computer on the LAN to connect to 192.168.0.31 (the Ubuntu box) - things work fine as long as eth1 is not connected but it fails when eth1 is activated. However sugarCRM needs to connect to the Internet to fetch email. The IP of the Windows DHCP server is 192.168.0.1 and that of the 4G Internet device is also 192.168.0.1. The 4G device interface does not allow changing any settings. Changing any entries in the DHCP server of the Windows network is not easily feasible.
What do I need to do to get things working. I have tried in vain to understand m0no0wall but it seems to be too complicated to install. I suspect that bridge-utils is what I need. Would love any suggestions?
ifconfig -a when both interfaces are up gives:
eth0 Link encap:Ethernet HWaddr xxx inet addr:192.168.0.31 Bcast:192.168.0.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:7065 errors:0 dropped:0 overruns:0 frame:0 TX packets:1120 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:713287 (713.2 KB) TX bytes:1047833 (1.0 MB) Interrupt:26 Base address:0x6000 eth1 Link encap:Ethernet HWaddr xxx inet addr:192.168.0.109 Bcast:192.168.0.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:34946 errors:0 dropped:0 overruns:0 frame:0 TX packets:32628 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:32711350 (32.7 MB) TX bytes:4222641 (4.2 MB) Interrupt:16 Base address:0xe800 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:3546 errors:0 dropped:0 overruns:0 frame:0 TX packets:3546 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:2636501 (2.6 MB) TX bytes:2636501 (2.6 MB)