Adrian Chapela
2009-Aug-19 08:47 UTC
ERROR: Unable to determine the MAC address of 10.1.2.25 through interface "eth1"
Hello, I am trying to solve this error. I have 4 providers on the same interface, eth1 and one of them is down (the router have a hardware problem now). When I tried to start the shorewall firewall it couldn''t start because it couldn''t determine the MAC address of 10.1.2.25 gateway because it is down. How could ignore this error ? I prefer to have the shorewall up even the gateway is down. Do you know hot to solve this error ? Looking for bugs in the release notes, I have found in 4.2.9 the next solved problem: " 3) When Shorewall could not determine the MAC address of of a gateway router where multiple providers are configured through the same interface, invalid iptables-restore input was generated. This resulted in an error message similar to the following: iptables-restore v1.3.5: Bad mac address `-j'' " I thought in the possibility of relation of my problem with that bug but it seems that is not real relation. I am using the 4.2.10 shorewall version. Thank you. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what''s new with Crystal Reports now. http://p.sf.net/sfu/bobj-july
Tom Eastep
2009-Aug-19 13:00 UTC
Re: ERROR: Unable to determine the MAC address of 10.1.2.25 through interface "eth1"
Adrian Chapela wrote:> Hello, > > I am trying to solve this error. I have 4 providers on the same > interface, eth1 and one of them is down (the router have a hardware > problem now). When I tried to start the shorewall firewall it couldn''t > start because it couldn''t determine the MAC address of 10.1.2.25 gateway > because it is down. How could ignore this error ? I prefer to have the > shorewall up even the gateway is down. > > Do you know hot to solve this error ?Define the interface as ''optional''. -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 http://shorewall.net \________________________________________________ ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what''s new with Crystal Reports now. http://p.sf.net/sfu/bobj-july
Adrian Chapela
2009-Aug-19 14:09 UTC
Re: ERROR: Unable to determine the MAC address of 10.1.2.25 through interface "eth1"
Tom Eastep escribió:> Adrian Chapela wrote: > >> Hello, >> >> I am trying to solve this error. I have 4 providers on the same >> interface, eth1 and one of them is down (the router have a hardware >> problem now). When I tried to start the shorewall firewall it couldn''t >> start because it couldn''t determine the MAC address of 10.1.2.25 gateway >> because it is down. How could ignore this error ? I prefer to have the >> shorewall up even the gateway is down. >> >> Do you know hot to solve this error ? >> > > Define the interface as ''optional''. >In interfaces file ? I have define the interface as optional and I have a new error: Adding Providers... WARNING: Interface auna is not usable -- Provider web2 (4) not Added Setting up Traffic Control... Preparing iptables-restore input... Running /sbin/iptables-restore... iptables-restore v1.3.6: Bad mac address `-j'' Error occurred at line: 66 Try `iptables-restore -h'' or ''iptables-restore --help'' for more information. ERROR: iptables-restore Failed. Input is in /var/lib/shorewall/.iptables-restore-input Restoring Shorewall... I have another way to do a workaround adding the mac address to the table as permanent. (arp -s IP MAC) One question, If I define one interface as optional and one of the providers is down, the entire interface is down ?> -Tom > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what''s new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > ------------------------------------------------------------------------ > > _______________________________________________ > Shorewall-users mailing list > Shorewall-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/shorewall-users >------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what''s new with Crystal Reports now. http://p.sf.net/sfu/bobj-july
Tom Eastep
2009-Aug-19 14:54 UTC
Re: ERROR: Unable to determine the MAC address of 10.1.2.25 through interface "eth1"
Adrian Chapela wrote:> Tom Eastep escribió: >> Adrian Chapela wrote: >> >>> Hello, >>> >>> I am trying to solve this error. I have 4 providers on the same >>> interface, eth1 and one of them is down (the router have a hardware >>> problem now). When I tried to start the shorewall firewall it couldn''t >>> start because it couldn''t determine the MAC address of 10.1.2.25 gateway >>> because it is down. How could ignore this error ? I prefer to have the >>> shorewall up even the gateway is down. >>> >>> Do you know hot to solve this error ? >>> >> Define the interface as ''optional''. >> > In interfaces file ? I have define the interface as optional and I have > a new error: > > Adding Providers... > WARNING: Interface auna is not usable -- Provider web2 (4) not Added > Setting up Traffic Control... > Preparing iptables-restore input... > Running /sbin/iptables-restore... > iptables-restore v1.3.6: Bad mac address `-j'' > Error occurred at line: 66 > Try `iptables-restore -h'' or ''iptables-restore --help'' for more information. > ERROR: iptables-restore Failed. Input is in > /var/lib/shorewall/.iptables-restore-input > Restoring Shorewall...Did you say that you are using 4.2.10? That problem should have been fixed in 4.2.9. Please send me /var/lib/shorewall/.restore (you can send it to be personally so as not to spam the list).> > I have another way to do a workaround adding the mac address to the > table as permanent. (arp -s IP MAC) > > One question, If I define one interface as optional and one of the > providers is down, the entire interface is down ?No. -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 http://shorewall.net \________________________________________________ ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what''s new with Crystal Reports now. http://p.sf.net/sfu/bobj-july
Tom Eastep
2009-Aug-19 15:39 UTC
Re: ERROR: Unable to determine the MAC address of 10.1.2.25 through interface "eth1"
Please try this patch: patch /usr/share/shorewall/Shorewall/Providers.pm < mac-source.diff -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 http://shorewall.net \________________________________________________ ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what''s new with Crystal Reports now. http://p.sf.net/sfu/bobj-july
Adrian Chapela
2009-Aug-20 08:35 UTC
Re: ERROR: Unable to determine the MAC address of 10.1.2.25 through interface "eth1"
Tom Eastep escribió:> Please try this patch: > > patch /usr/share/shorewall/Shorewall/Providers.pm < mac-source.diff >OK, I have tested the patch and it is working well but I need to apply in /usr/share/shorewall-perl/Shorewall/Providers.pm. My problem now is the different behaviour of backup server and production server. Messages in backup server when I run a "shorewall try .": Adding Providers... WARNING: Interface auna is not usable -- Provider web2 (4) not Added In production server I didn''t get this message but it seems to working in the same way as backup server. It detects that web2 provider is down but it is not showing any warning. The installations are the same (could be a little difference that I don''t know...), could you give a clue ? Thank you for all!> -Tom >------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what''s new with Crystal Reports now. http://p.sf.net/sfu/bobj-july
Adrian Chapela
2009-Aug-20 08:50 UTC
Re: ERROR: Unable to determine the MAC address of 10.1.2.25 through interface "eth1"
Adrian Chapela escribió:> Tom Eastep escribió: >> Please try this patch: >> >> patch /usr/share/shorewall/Shorewall/Providers.pm < mac-source.diff >> > OK, I have tested the patch and it is working well but I need to apply > in /usr/share/shorewall-perl/Shorewall/Providers.pm. My problem now is > the different behaviour of backup server and production server. > > Messages in backup server when I run a "shorewall try .": > Adding Providers... > WARNING: Interface auna is not usable -- Provider web2 (4) not Added > > In production server I didn''t get this message but it seems to working > in the same way as backup server. It detects that web2 provider is > down but it is not showing any warning. The installations are the same > (could be a little difference that I don''t know...), could you give a > clue ?I have found the "clue". I have deactivated the provider web2 on config file... Forget the mail...> > Thank you for all! >> -Tom >> > >------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what''s new with Crystal Reports now. http://p.sf.net/sfu/bobj-july