Re: ipv6
Noel Butler <[email protected]>
| Newsgroups | gmane.linux.slackware |
|---|---|
| Message-ID | <1393650536.7093.55.camel@tardis> |
Hi, On Sat, 2014-03-01 at 03:12 +0100, Gil André wrote: > On the other hand, the company I work for still has *tons* of IPv4 blocks that are free. > > I believe there was a lot of hoarding done several years ago… When I ordered a (personal, not work) Slackware server a couple of months ago, it came with one IPv4 address and one IPv6, and I remember thinking (a) that it was pretty cool and (b) that I needed to brush up on my v6. > Yes, I agree, way too much hoarding by everyone, else we'd likely still have a tonne of IPs available > Even the non-profit ISP I volunteer for had no problem obtaining a nice little range of IPv4 two years agor (but since one of the founder has his own hosting company, that’s not too surprising…). > Two years ago APNIC tightened the screws, now its impossible, they have pretty much none to give out, I think they have reclaimed some, but will only issue a /22 no greater (or less) to new applicants, like if you started a new business, they issue none to existing, and in hosting, with SSL, it takes no time at all to use that, and since half of Microsoft's products in use today do not support SNI that can't really offer much relief (not until nobody uses XP, despites is next months EOL, 50% of M$ users, still use it.) > > I know I get sick of having to remember to modify rc.inet1 and have it call my 6 file as well, its only a simple script… > > Couple of points here: > > 1) I am interested in your scripts - care to send them to me? > see below > 2) Since a lot more people are probably interested in them, do post all the info on docs.slackware.com > > 3) Presonally, I would make a lackware package for all these scripts - installation time would be much faster! > I'll see about docs.slack... later, about to go out for the afternoon, not much point in creating a package though, since its only one file, and a modification to rc.inet1 to test for that files existence and if true, run it > > Hell, I even sent this (crappy and likely inefficient 2 minute written) patch to Pat a couple of years ago, its crude but it works, but seems he either did not get it, or CBF'd either :) > > Hmmm… CBF? > CBF = couldn't be f...... (... but I'd like to think it just got lost in all the mail he probably gets, like finding a signal in all the noise :) I'll BCC Pat again though in off chance he gets this one... rc.inet1.patch supplied is against 14.1, but same back to 13.1 ... like I said, its crude, and could be made far more efficient by a bash scripting guru I'm sure, but it does work, and that's what counts ;) _______________________________________________ slackware mailing list [email protected] https://mailman.lug.org.uk/mailman/listinfo/slackware
face-wink.png
(image/png, 876 B) - not displayed
face-smile.png
(image/png, 873 B) - not displayed
rc.inet1.patch
(text/x-patch, 800 B)
--- rc.inet1.new 2014-03-01 15:04:20.000000000 +1000 +++ rc.inet1 2014-03-01 15:04:34.000000000 +1000 @@ -3,6 +3,8 @@ # This script is used to bring up the various network interfaces. # # @(#)/etc/rc.d/rc.inet1 10.2 Sun Jul 24 12:45:56 PDT 2005 (pjv) +# Modified by [email protected] for IPv6 script call +# Report problems to Noel Butler ext 3195 ############################ # READ NETWORK CONFIG FILE # @@ -240,12 +242,18 @@ for i in ${IFNAME[@]} ; do if_up $i done + if [ -x /etc/rc.d/rc.ipv6 ]; then + /etc/rc.d/rc.ipv6 start + fi gateway_up } # Function to stop the network: stop() { gateway_down + if [ -x /etc/rc.d/rc.ipv6 ]; then + /etc/rc.d/rc.ipv6 stop + fi for i in ${IFNAME[@]} ; do if_down $i done
rc.ipv6.new
(application/x-shellscript, 1.5 KB) - not displayed
signature.asc
(application/pgp-signature, 490 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iQEcBAABAgAGBQJTEWtiAAoJECg/hgl/0DbHUwAH/084wGl5r6rM08sdYGaGOOOt SwWgCx2xHgUjoyv518ee5ogJR3zZygLQc5g2ZsrUYpMmwvRLjVp+NRqJC4mAAc4Y olJIPvJGzrTBoi/m69yfkUCwceW3iev3xW1EdPGZCFYpPmfcLl3RoM9/h2/siP7Q m0oDXWuK1QUTwC8wPfK9/vREfW3g31jiB9iP8M/CWlfRywXW+i/7egp92JTZiVV7 jQOdtOgpLz9iPsuuQINiMs8KWMyxCmwV859WpKW1Nl7AOMOKjyslsZU8vB7cCNxM 674HcyNH0Nn1pP9/eqXgTRyQl5rOyCoP7UtHsvO4BaCsRS+d4EjwTRNGfDQuOX8= =va42 -----END PGP SIGNATURE-----