shorewall-users March 2012 archive
Main Archive Page > Month Archives  > shorewall-users archives
shorewall-users: [Shorewall-users] RTNETLINK answers: File exist

[Shorewall-users] RTNETLINK answers: File exists when adding providers

From: dtucker <dtucker_at_nospam>
Date: Wed Mar 07 2012 - 21:45:03 GMT
To: <shorewall-users@lists.sourceforge.net>

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/
_______________________________________________
Shorewall-users mailing list
Shorewall-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/shorewall-users