Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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)
share|improve this question
    
It seems like this could be done with a virtualbox –  user130737 Aug 2 '12 at 15:37
add comment

1 Answer 1

Change one of the networks, they are both currently using the same network addressing (but obviously, they should be sep. networks).

Or... you could add another router infront of it on 4g side and adding a diff network on that device, more hassle - 4g should allow some cfg.

share|improve this answer
    
Added the constraint. –  CRM user Aug 1 '12 at 14:22
    
Thanks, the router addition worked like a charm. –  CRM user Aug 14 '12 at 14:16
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.