Is there a way to specify a variable for the gateway in /etc/shorewall/providers? I have in my scenario: eth0 dsl (static IP) eth1 cable (dhcp assigned IP) eth2 lan1 Is it possible to specify the gateway as a variable based on the current DHCP lease (like $eth0_gw)? I''m following the documentation at http://www.shorewall.net/Shorewall_and_Routing.html. -Scott
Scott wrote:> eth0 dsl (static IP) > eth1 cable (dhcp assigned IP) > eth2 lan1 > > Is it possible to specify the gateway as a variable based on the current > DHCP lease (like $eth0_gw)?Sorry, should read (like $eth1_gw). My question makes more sense that way. -Scott
> Is there a way to specify a variable for the gateway in > /etc/shorewall/providers? I have in my scenario: > > eth0 dsl (static IP) > eth1 cable (dhcp assigned IP) > eth2 lan1 > > Is it possible to specify the gateway as a variable based on the current > DHCP lease (like $eth0_gw)? I''m following the documentation at > http://www.shorewall.net/Shorewall_and_Routing.html. > > -Scottcopied and pasted from above: GATEWAY The IP address of the provider''s Gateway router. You can enter detect here and Shorewall will attempt to automatically determine the gateway IP address. I guess enter ''detect'', would be the answer Jerry
Jerry Vonau wrote:> GATEWAY > The IP address of the provider''s Gateway router. > You can enter detect here and Shorewall will attempt to automatically > determine the gateway IP address. > > I guess enter ''detect'', would be the answer<hangs head in shame>