Astaro User Bulletin Board
Go Back   Astaro User Bulletin Board > Closed Forums (read only) > ASG V7.500 BETA (closed)

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.

 
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-15-2009, 06:05 PM
Member
 
Join Date: May 2009
Posts: 51
Default [7.450] BUG: Static routes not working?

I know very little about routing, but it seems to me that what I am trying to do should be legal.

I have 2 interfaces, one WAN (external), one LAN (internal). On the LAN side, one of the machines is running a Cisco router in emulation (dynamips) which sits between the LAN and a lab network.

Ex: LAN 192.168.1.0/24, LAB 10.8.5.0/26, Router LAN IP 192.168.1.29

On a windows machine on the LAN I can access the LAB subnet by creating a static route: route add 10.8.5.0 mask 255.255.255.192 192.168.1.29, but I would much rather have ASG (which is my default GW for the LAN) to the routing to the LAB router.

I configure a static route in ASG:
Route Type: Gateway Route
Network: 10.8.5.0/26
Gateway: 192.168.1.29 (bound to internal)

Now when I try tracert from LAN to LAB, hop 1 is the ASG (192.168.1.1) but hop 2 and beyond go out the WAN rather than going to 192.168.1.29.
  #2 (permalink)  
Old 06-15-2009, 07:34 PM
BAlfson's Avatar
Moderator
 
Join Date: Mar 2007
Location: Oklahoma City
Posts: 4,953
Default

It's clear to me how to do this with the LAB connected to a different interface on the Astaro, but not the way you have it connected. I'm not one of the routing wizards though.

Maybe you could SNAT 'Internal (Network) -> Any -> LAB' traffic from 'Internal (Address)'. I'd be curious to know if that works...

Cheers - Bob
__________________
ACE V7 - Astaro Preferred Partner since V3
Addicted to my iPhone!
  #3 (permalink)  
Old 06-15-2009, 08:40 PM
Senior Member
 
Join Date: Nov 2008
Posts: 246
Default

Hello, I'll try to help you.

I assume your setup looks like this:

WAN (Red) -- [ASG] -- LAN INT-- [Cisco] -- LAN LAB

Your Routing setup (LAN LAB via Cisco) on ASG looks nearly correct but you should remove the "bound to internal" from the Gateway Network Definition. Also please check the packetfilter settings on the ASG (ICMP traffic is limited per default - which is needed for traceroute).

Be aware that response-traffic for LAN INT coming from LAN LAB will be directly delivered to the Clients in LAN INT by the Cisco.

Your setup will also trigger ICMP redirect messages because there is a better route for LAN LAB (directly through the cisco).

This is not a secure setup if you really want to securely limit communication between LAN INT and LAN LAB.
__________________
"Datenautobahn: Einrichtung zur schnellen Übertragung großer Datenmengen (z.B. über das Telefonnetz)" (DUDEN, 21. Auflage)

Mario Schmidt
QA Engineer
Astaro AG
  #4 (permalink)  
Old 06-15-2009, 09:11 PM
Member
 
Join Date: May 2009
Posts: 51
Default

VERY much appreciated! I will give this a try.
  #5 (permalink)  
Old 06-16-2009, 07:09 PM
Member
 
Join Date: May 2009
Posts: 51
Default

I removed the bound to internal part of the Lab Network definition, and checked all of the ICMP/PING/tracert options, but I am still unable to get the ASG to route from the LAN to the LAB.

from 192.168.1.112 I can ping, telnet, whatever to 10.8.5.30 only if I put in a local route:

route add 10.8.5.0 mask 255.255.255.192 192.168.1.29

Without the local route, the GW on the 192.168.1.112 host is 192.168.1.1 (the ASG) so it seems clear to me that the ASG is not then sending the traffic on the 192.168.1.29. Nothing shows in the packed filter log. Tracert shows 192.168.1.112->192.168.1.1->WAN ISP ips.
  #6 (permalink)  
Old 06-16-2009, 10:34 PM
BAlfson's Avatar
Moderator
 
Join Date: Mar 2007
Location: Oklahoma City
Posts: 4,953
Default

Like I said, the SNAT might work (you still need the correction recommended by Mario). The real answer is to have the lab on a different Astaro interface instead of in the LAN.

Cheers - Bob
__________________
ACE V7 - Astaro Preferred Partner since V3
Addicted to my iPhone!
  #7 (permalink)  
Old 06-17-2009, 01:39 AM
Member
 
Join Date: May 2009
Posts: 51
Default

Ahh, but then all the lab IPs would eat into the 10 user license.

Still, looking at the tracert vs the static route, it seems the route is never triggering when it should be.
  #8 (permalink)  
Old 06-17-2009, 01:45 AM
Member
 
Join Date: May 2009
Posts: 51
Default

I put in the SNAT you suggested. It stops the tracert at the ASG, but then they go nowhere. I do have a packet fileter rule that says Lab Network (Any) -> Any
  #9 (permalink)  
Old 06-24-2009, 07:03 PM
 
Join Date: Jun 2009
Posts: 0
Default

Code:
Astaro Beta Report
--------------------------------
Version: 7.450
Type: QUESTION
State: OPEN
Reporter: chow11
Contributor: 
MantisID: 
--------------------------------

Last edited by Gert Hansen; 06-25-2009 at 04:26 PM.
 

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 11:11 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.