On 04/01/2010 02:24 PM, Network Messenger wrote:

"Gateway 192.168.2.1 must be reachable by a static interface. Currently it is reachable by eth1 which is not static"
I get that error because the interface I want, gets its IP with DHCP from the WAN.

Even if your router is giving you DHCP service, you can set up your IP address manually since ebox is the only computer connecting to it.

Back to the gateway though. It is implemented in that there is a record in Network -> Gateways
Enabled      Name           IP address      Interface      Weight      Default      Action 
yes         dhcp-gw-eth1      192.168.2.1      eth1               1             yes      

Looks fine, but there's a mismatch:

But its not being reflected in a query of the live routing table with route -n
# route -n
 Kernel IP routing table
 Destination        Gateway    Genmask          Flags    Metric   Ref   Use Iface
 192.168.4.0        0.0.0.0      255.255.255.0     U           1          0           0 eth1
 169.168.2.0        0.0.0.0      255.255.255.0     U           1          0           0 eth0 


Your eth1 is on 192.168.4 subnet, while your gateway (192.168.2.1) is set up for the route that goes trough eth0.
Try reversing that; your gateway should be connected to eth that has the same subnet (it seems that you have set up that subnet on your eth0 device, while telling default route to use eth1).

_______________________________________________
ebox-user mailing list
[email protected]
http://lists.ebox-platform.com/cgi-bin/mailman/listinfo/ebox-user

Reply via email to