User land notification uppon pppoe(4) changes

2013-11-24 Thread David Keller
Hello, *** * My setup Say I have a router using pppoe to connect to internet. It gets a different ip address from the ISP every day. >From this router I want to create a gif tunnel to a static-ip host. *** * My problem How can I ensure the src outer address of the gif i

Re: User land notification uppon pppoe(4) changes

2013-11-24 Thread Brad Smith
On 24/11/13 2:40 PM, David Keller wrote: Hello, *** * My setup Say I have a router using pppoe to connect to internet. It gets a different ip address from the ISP every day. From this router I want to create a gif tunnel to a static-ip host. *** * My problem How can

Re: User land notification uppon pppoe(4) changes

2013-11-24 Thread Christopher Zimmermann
On Sun, 24 Nov 2013 20:40:21 +0100 David Keller wrote: > Hello, > > *** > * My setup > > Say I have a router using pppoe to connect to internet. > It gets a different ip address from the ISP every day. > > From this router I want to create a gif tunnel to a static-ip host. > > ***

Re: User land notification uppon pppoe(4) changes

2013-11-24 Thread David Keller
Brad, Christopher, Thank you for your advices. In a first time I give a try with ifstated which is better (i.e. more generic) than what I would have coded. * /etc/ifstated.conf * is_tunnel_up = "pppoe0.link.up" is_tunnel_down = "!pppoe0.link.up" state auto { if $is_tunn