On 8/30/2013 3:24 PM, Thomas Harold wrote: > Questions at this point: > > http://shorewall.net/MultiISP.html > > #1 Where do variables like SW_ETH0_GATEWAY and SW_ETH0_ADDRESS get defined?
They get defined by the function 'detect_configuration' in the generated firewall script. > > #2 How does shorewall determine the gateway of a DHCP interface? On > CentOS 6 with the interface named 'wancbl', the lease information file > is /var/lib/dhclient/dhclient-wancbl.leases. It uses your findgw extension script, if you supplied one. Otherwise, it looks in some standard places. See the detect_dynamic_gateway function in the generated firewall script. > > #3 Do all providers get a routing table created, named after the > provider? If so, and since I have no routing table named 'cable', would > that be an issue with my /etc/shorewall/providers file? > > #4 It's possible that #2 and #3 are intertwined and I'm still seeing the > following in /var/log/messages on restart: Yes -- 2 and 3 are from the same cause. If the gateway can't be determined, then the interface is considered to be unusable and no routing table is created for that provider. -- 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 \________________________________________________
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________ Shorewall-users mailing list Shorewall-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/shorewall-users