Astaro User Bulletin Board
Go Back   Astaro User Bulletin Board > Astaro Gateway Products > Management, Networking, Logging and Reporting

Welcome to the Astaro User Bulletin Board.
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-04-2009, 02:00 PM
Junior Member
 
Join Date: Nov 2009
Posts: 3
Question [7.501] no default route present after reboot

Hello

For a while now I have had an issue with a lack of a default route to the internet after a reboot. This happened after I applied 7.404 and 7.500 at the same time (both were ready to install and I pressed the "Update to latest version now" button). I was hoping that 7.501 would fix this but it hasn't.

As I know my way round Linux, I was able to add the default route manually to keep things working. Anyway this is now a pain so I am wondering if anybody knows how to fix this.

I have eth1 configured as "Cable Modem (DHCP)" and Default Gateway. It gets its IP address ok but the default route is not added.
While hunting around to try to find out how the default route gets set, I found the following in /tmp/mdwdebug.log:
Code:
CALLING SYSTEM: /sbin/ip -o route show  proto kernel
CALLING SYSTEM: /sbin/ip -o route show  table 253 match 0.0.0.0
INSTALLING DEFAULT ROUTE: a.b.c.d dev eth1
CALLING SYSTEM: /sbin/ip route add 0.0.0.0/0 proto kernel via a.b.c.d dev eth1 onlink table 253
RTNETLINK answers: Invalid argument
where a.b.c.d is my external ip address

The invalid argument appears to be 'onlink', but I do not think that there is anyway for me to fix this by changing a configuration file. The version of ip that I have is iproute2-ss060110.

Does anybody else have this issue or know how to fix it?

Thanks, Gavin.
Reply With Quote
  #2 (permalink)  
Old 11-04-2009, 11:37 PM
Moderator
 
Join Date: Jul 2001
Location: southern California
Posts: 5,119
Default

Hi, does disabling the EXT interface and re-enabling it make the route re-appear?

Barry
__________________
http://DealBert.net
Home & business end-user since v1.x
  • ASL 6.3x, HP DL145 Dual Opteron, 1GB RAM, 6 gigE NICs, 50-IP Platinum License
  • ASL 7.3x, Dell PE1550 Dual PIII 1GHz, 1GB RAM, 2 NICs, 50-IP Platinum License
  • ASL 7.5x, 17-watt fanless mini-ITX system: MSI IM-945GSE-A Atom n270, 2GB RAM, Morex T3310 case. 2 Intel GigE, 3 VLANs. 80G 5200rpm 2.5" HD
    Netgear GS108T gigE VLAN switch & Linksys WRT54G WAP
    Total network infrastructure: 27 watts. 100-IP Home User. FiOS 10mb/2mb
Reply With Quote
  #3 (permalink)  
Old 11-05-2009, 12:09 AM
Junior Member
 
Join Date: Nov 2009
Posts: 3
Default

Hi

Unfortunately, it does not. All I see is the same error message in the log file.

Gavin
Reply With Quote
  #4 (permalink)  
Old 11-05-2009, 05:23 PM
Junior Member
 
Join Date: Nov 2001
Location: Switzerland
Posts: 5
Default

Same problem here! Fresh install off 7.500 and updated to 7.501.

Disabling and reenabeling the if dont help, sometime it helps to click the renew button...

Stefan
Reply With Quote
  #5 (permalink)  
Old 11-05-2009, 05:54 PM
Junior Member
 
Join Date: Nov 2001
Location: Switzerland
Posts: 5
Default

Update/Workaround: The problem does not exist when IDS is disabled!
Reply With Quote
  #6 (permalink)  
Old 11-05-2009, 08:00 PM
BAlfson's Avatar
Moderator
 
Join Date: Mar 2007
Location: Oklahoma City
Posts: 5,314
Default

When you look in the IPS log, if you see a line where something was blocked, note the "sid" and go to the 'Advanced' tab to disable it.

Cheers - Bob
__________________
ACE V7 - Astaro Preferred Partner since V3
Addicted to my iPhone!
Reply With Quote
  #7 (permalink)  
Old 11-05-2009, 10:09 PM
Junior Member
 
Join Date: Nov 2001
Location: Switzerland
Posts: 5
Default

Searched the log, but nothing...
Reply With Quote
  #8 (permalink)  
Old 11-06-2009, 12:54 AM
Junior Member
 
Join Date: Nov 2009
Posts: 3
Default

Disabling IPS has no effect in my case. I have disabled it and then down-up the interface and then I tried a reboot. Neither put the default route in automatically.

What I did discover was that the "Default GW" option on the Edit Interface form is being honored. If I disable the option then there are no messages in mdwdebug.log and if I enable it there are.

I also found that there is a log entry created in /var/log/mdw.log which indicates where in the code the failure occurs:

Code:
middleware[2980]: E Failed: /sbin/ip route add 0.0.0.0/0 proto kernel via a.b.c.d dev eth1 onlink table 253
middleware[2980]:
middleware[2980]:  1. utils::IPRoute::ip_route_cmd:757() /PerlApp/utils/IPRoute.pm
middleware[2980]:  2. utils::IPRoute::ip_route_add:715() /PerlApp/utils/IPRoute.pm
middleware[2980]:  3. modules::Interface::Ethernet::setGateway:100() /PerlApp/modules/Interface/Ethernet.pm
middleware[2980]:  4. modules::Interface::EthPrimary::Finalize:105() /PerlApp/modules/Interface/EthPrimary.pm
middleware[2980]:  5. modules::interfaces::_doChanges:320() /PerlApp/modules/interfaces.pm
middleware[2980]:  6. modules::interfaces::setAll:290() /PerlApp/modules/interfaces.pm
middleware[2980]:  7. core::Config::load:282() /PerlApp/core/Config.pm
middleware[2980]:  8. main::top-level:178() mdw_deamon.pl
I have deleted the date/time and hostname for clarity and replaced my external ip address.
Reply With Quote
  #9 (permalink)  
Old 12-15-2009, 04:28 PM
Junior Member
 
Join Date: Nov 2001
Location: Switzerland
Posts: 5
Default 7.502 No change :-(

After every reboot I have to disable the externel NIC and enable it again then it is running... IDS is disabled
Reply With Quote
  #10 (permalink)  
Old 02-09-2010, 01:46 PM
Junior Member
 
Join Date: Nov 2001
Location: Switzerland
Posts: 5
Default

The problem is still existing... :-(
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 08:54 AM.

 

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.


These pages are specifically maintained for the discussion of firewall issues within the Open Source community, and might already reflect new alpha/beta releases under development. Please refer to our product specifications for the functionality of the actual release. Discussions of new/enhanced functionality does not constitute a commitment of Astaro, to integrate this functionality into future releases. issues within the Open Source community, and might already reflect new alpha/beta releases under development. Please refer to our product specifications for the functionality of the actual release. Discussions of new/enhanced functionality does not constitute a commitment of Astaro, to integrate this functionality into future releases.