While troubleshooting my MultiISP box, I suspect I might have found  
either a bug or an incompatibility with CentOS 5.2.

In prog.header (function detect_dynamic_gateway), Shorewall tries to look for:

/var/lib/dhcp/dhclient-${1}.lease

However (at least under CentOS 5 - unknown about other OSes), this should be:

/var/lib/dhclient/dhclient-${1}.leases

(different path, and "leases" should be plural.)


After manually correcting this in prog.header, I was now having the  
following error message:

Error: an inet prefix is expected rather than "10.0.0.1;".
ERROR: Command "ip -4 route replace 10.0.0.1; src 10.0.0.239 dev eth2
table 2" Failed

Could the issue be the trailing ";" that didn't get stripped?

Relevant software versions:
CentOS 5.2
dhclient-3.0.5-13.el5
shorewall-4.2.8-2
shorewall-perl-4.2.8-2
iproute-2.6.18-7.el5

dhclient is a default out-of-the-box configuration, hooked to a cablemodem.

Let me know if you'd like me to also provide you with a copy of the  
leases file generated by dhclient.

Regards,

---
Eric Sauvageau


------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Shorewall-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-devel

Reply via email to