When I attempt to start shorewall (version 4.0.15) I get an RTNETLINK error (see below). /var/log/shorewall-init.log [...] 21:02:18 Creating Interface Chains... 21:02:19 Adding Providers... RTNETLINK answers: File exists ERROR: Command "ip route add table 1 129.116.XXX.0/24 dev eth2 proto kernel s cope link src 129.116.XXX.30" Failed 21:02:25 Shorewall-generated routing tables and routing rules removed Terminated Googling to try to understand this error hasn''t been helpful. I am guessing that the route already exists in another routing table, since when I run "ip route" it shows up there. ip route: 192.168.128.0/24 dev eth3 proto kernel scope link src 192.168.128.101 129.116.XXX.0/24 dev eth2 proto kernel scope link src 129.116.XXX.30 192.168.1.0/24 dev eth1 proto kernel scope link src 192.168.1.1 192.168.0.0/24 dev eth0 proto kernel scope link src 192.168.0.1 default via 129.116.XXX.254 dev eth2 Do I need to manually delete the routes that were added by running /etc/init.d/networking restart before starting shorewall? I tried just deleting the default route, but that didn''t change things. /etc/shorewall/providers: #NAME NUMBER MARK DUPLICATE INTERFACE GATEWAY OPTIONS COPY lan 1 201 main eth2 129.116.XXX.254 track,loose eth0 cell 2 202 main ppp0 - track,loose eth0 bgan 3 203 main eth3 192.168.128.100 track,loose eth0 I''m running Debian Lenny, kernel version 2.6.21, with iproute2-ss080725. Any help in understanding why I am getting this error would be appreciated. Thank you, Don ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/
On 3/7/12 1:45 PM, "dtucker" <dtucker@arlut.utexas.edu> wrote:>When I attempt to start shorewall (version 4.0.15) I get an RTNETLINK >error >(see below). > >/var/log/shorewall-init.log >[...] >21:02:18 Creating Interface Chains... >21:02:19 Adding Providers... >RTNETLINK answers: File exists > ERROR: Command "ip route add table 1 129.116.XXX.0/24 dev eth2 proto >kernel >sAs the 4.0/4.2 Multi-ISP documentation (http://www.shorewall.net/4.2/MultiISP.html) states, we don''t recommend trying to use this feature on any Shorewall-shell release or on any Shorewall-perl prior to 4.2. There are just too many bugs in the earlier versions. Sorry, -Tom -- Tom Eastep \ When I die, I want to go like my Grandfather who Shoreline, \ died peacefully in his sleep. Not screaming like Washington, USA \ all of the passengers in his car www.shorewall.net \________________________________________________ ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/
On 3/7/2012 6:37 PM, Tom Eastep wrote:> On 3/7/12 1:45 PM, "dtucker"<dtucker@arlut.utexas.edu> wrote: > >> When I attempt to start shorewall (version 4.0.15) I get an RTNETLINK >> error >> (see below). >> >> /var/log/shorewall-init.log >> [...] >> 21:02:18 Creating Interface Chains... >> 21:02:19 Adding Providers... >> RTNETLINK answers: File exists >> ERROR: Command "ip route add table 1 129.116.XXX.0/24 dev eth2 proto >> kernel >> s > As the 4.0/4.2 Multi-ISP documentation > (http://www.shorewall.net/4.2/MultiISP.html) states, we don''t recommend > trying to use this feature on any Shorewall-shell release or on any > Shorewall-perl prior to 4.2. There are just too many bugs in the earlier > versions. > > Sorry, > -TomThanks, Tom. I upgraded to v4.4 and that resolved the error. Don ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2