On 30 Jan 2013, at 21:54, Brian Hechinger <wonko at 4amlunch.net> wrote:
On 1/30/2013 9:54 PM, Cory Smelosky wrote:
On 30 Jan 2013, at 21:52, Brian Hechinger <wonko at 4amlunch.net> wrote:
On 1/30/2013 9:46 PM, Cory Smelosky wrote:
I thought IOS supported CRON and scripting?
Right, did you ever get that working though?
Haven't gotten around to trying yet, still getting all my VMs up and running.
Ok, keep us posted. I'll poke at it myself as well.
Will do. Gotta figure out why I have high packet loss to it first.
-brian
--
Cory Smelosky
http://gewt.net/ Personal stuff!
http://gimme-sympathy.org/ My permanently-a-work-in-progress pet project.
On 1/30/2013 9:54 PM, Cory Smelosky wrote:
On 30 Jan 2013, at 21:52, Brian Hechinger <wonko at 4amlunch.net> wrote:
On 1/30/2013 9:46 PM, Cory Smelosky wrote:
I thought IOS supported CRON and scripting?
Right, did you ever get that working though?
Haven't gotten around to trying yet, still getting all my VMs up and running.
Ok, keep us posted. I'll poke at it myself as well.
-brian
On 30 Jan 2013, at 21:52, Brian Hechinger <wonko at 4amlunch.net> wrote:
On 1/30/2013 9:46 PM, Cory Smelosky wrote:
I thought IOS supported CRON and scripting?
Right, did you ever get that working though?
Haven't gotten around to trying yet, still getting all my VMs up and running.
--
Cory Smelosky
http://gewt.net/ Personal stuff!
http://gimme-sympathy.org/ My permanently-a-work-in-progress pet project.
On 30 Jan 2013, at 21:43, Brian Hechinger <wonko at 4amlunch.net> wrote:
On 1/30/2013 9:37 PM, Cory Smelosky wrote:
Now, dynamic IP handling: I was thinking a script that would:
1). Periodically ping the hostname
2). If it stops responding to ping, update the destination hostname for the tunnel (as the tunnel resolves hostnames right then and there, correct?) (perhaps a simple database of the current IP for the tunnel would be better?)
I think we need to get this working natively in IOS somehow. I don't want to generate a new config if someone's IP changes, although I *could* if I needed to.
I thought IOS supported CRON and scripting?
Assuming it doesn't happen all the time I guess that's not so bad, really.
-brian
--
Cory Smelosky
http://gewt.net/ Personal stuff!
http://gimme-sympathy.org/ My permanently-a-work-in-progress pet project.
On 1/30/2013 9:37 PM, Cory Smelosky wrote:
Now, dynamic IP handling: I was thinking a script that would:
1). Periodically ping the hostname
2). If it stops responding to ping, update the destination hostname for the tunnel (as the tunnel resolves hostnames right then and there, correct?) (perhaps a simple database of the current IP for the tunnel would be better?)
I think we need to get this working natively in IOS somehow. I don't want to generate a new config if someone's IP changes, although I *could* if I needed to.
Assuming it doesn't happen all the time I guess that's not so bad, really.
-brian
On 1/30/2013 9:33 PM, Ian McLaughlin wrote:
Full mesh is great by me.
Ok, cool.
Am I understanding this correctly that you will keep a database of all the Cisco devices, and when a new member signs up you will generate a new config for everyone ?
Exactly!
Anytime anyone new sends me the required info i'll generate a new config set and email it out to everyone (well, the script will)
-brian
On 30 Jan 2013, at 21:33, Ian McLaughlin <ian at platinum.net> wrote:
Full mesh is great by me. Am I understanding this correctly that you will keep a database of all the Cisco devices, and when a new member signs up you will generate a new config for everyone ?
I support full-mesh as well.
Now, dynamic IP handling: I was thinking a script that would:
1). Periodically ping the hostname
2). If it stops responding to ping, update the destination hostname for the tunnel (as the tunnel resolves hostnames right then and there, correct?) (perhaps a simple database of the current IP for the tunnel would be better?)
Ian
Sent from my iPhone
On 2013-01-30, at 6:21 PM, Brian Hechinger <wonko at 4amlunch.net> wrote:
Ok, I'm motivated. Let's get this automated.
I've got a small bit of python I wrote to generate cisco configs for the tunnels.
If you are interested in getting auto-generated tunnel configs please send me the following information:
1) The email address you want new configs sent to
2) Your routers public IP address(es)
3) The source interface(s) for your tunnels in full interface text. re: FastEthernet0/1
4) The cost you want your tunnels to be if you don't want them to be 10.
Once you've gotten your first config text from me delete all your current HECnet tunnels and then apply the config text you'll have been emailed.
Unless anyone objects, I'm starting tunnel indexes at 50.
Steve D. -- if you want a router let me know. I'm going to eventually get off my ass and migrate to this 2851 which will free up the 1841. I'm more than happy to loan it to you as long as I have no need for it. (Which I doubt I ever will)
The one question I have for everyone is.... Do we do a full mesh or do we choose 1-3 "hubs" to connect everyone to? If 20 people have cisco's and we do a mesh that's 20 tunnels, FYI. I'm ok with that, but I want to get an idea of what everyone else thinks.
-brian
---
Filter service subscribers can train this email as spam or not-spam here: http://my.email-as.net/spamham/cgi-bin/learn.pl?messageid=F33139E26B4C11E2A…
--
Cory Smelosky
http://gewt.net/ Personal stuff!
http://gimme-sympathy.org/ My permanently-a-work-in-progress pet project.
Full mesh is great by me. Am I understanding this correctly that you will keep a database of all the Cisco devices, and when a new member signs up you will generate a new config for everyone ?
Ian
Sent from my iPhone
On 2013-01-30, at 6:21 PM, Brian Hechinger <wonko at 4amlunch.net> wrote:
Ok, I'm motivated. Let's get this automated.
I've got a small bit of python I wrote to generate cisco configs for the tunnels.
If you are interested in getting auto-generated tunnel configs please send me the following information:
1) The email address you want new configs sent to
2) Your routers public IP address(es)
3) The source interface(s) for your tunnels in full interface text. re: FastEthernet0/1
4) The cost you want your tunnels to be if you don't want them to be 10.
Once you've gotten your first config text from me delete all your current HECnet tunnels and then apply the config text you'll have been emailed.
Unless anyone objects, I'm starting tunnel indexes at 50.
Steve D. -- if you want a router let me know. I'm going to eventually get off my ass and migrate to this 2851 which will free up the 1841. I'm more than happy to loan it to you as long as I have no need for it. (Which I doubt I ever will)
The one question I have for everyone is.... Do we do a full mesh or do we choose 1-3 "hubs" to connect everyone to? If 20 people have cisco's and we do a mesh that's 20 tunnels, FYI. I'm ok with that, but I want to get an idea of what everyone else thinks.
-brian
---
Filter service subscribers can train this email as spam or not-spam here: http://my.email-as.net/spamham/cgi-bin/learn.pl?messageid=F33139E26B4C11E2A…
Ok, I'm motivated. Let's get this automated.
I've got a small bit of python I wrote to generate cisco configs for the tunnels.
If you are interested in getting auto-generated tunnel configs please send me the following information:
1) The email address you want new configs sent to
2) Your routers public IP address(es)
3) The source interface(s) for your tunnels in full interface text. re: FastEthernet0/1
4) The cost you want your tunnels to be if you don't want them to be 10.
Once you've gotten your first config text from me delete all your current HECnet tunnels and then apply the config text you'll have been emailed.
Unless anyone objects, I'm starting tunnel indexes at 50.
Steve D. -- if you want a router let me know. I'm going to eventually get off my ass and migrate to this 2851 which will free up the 1841. I'm more than happy to loan it to you as long as I have no need for it. (Which I doubt I ever will)
The one question I have for everyone is.... Do we do a full mesh or do we choose 1-3 "hubs" to connect everyone to? If 20 people have cisco's and we do a mesh that's 20 tunnels, FYI. I'm ok with that, but I want to get an idea of what everyone else thinks.
-brian