Re: ifconfig command for IPv6 tunnel

2014-08-20 Thread Charles Musser
On Aug 20, 2014, at 2:25 PM, Ed Hynan wrote: > > Although this is a little more complex on gif than e.g. an ethernet interface, > alias is at least similar. On a more straightforward type interface, alias > is used adding additional addresses (BTW, not OpenBSD specific, the alias > keyword is si

Re: ifconfig command for IPv6 tunnel

2014-08-20 Thread Jason Tubnor
Forgot to reply-all yesterday (only sent to Charles) to keep the thread in-sync with the rest of the conversation (don't nuke me for stating the obvious + added the rtadvd/route6d) On 20 August 2014 13:40, Charles Musser wrote: > ifconfig gif0 tunnel 50.1.94.112 72.52.104.74 > ifconfig gif0 inet

Re: ifconfig command for IPv6 tunnel

2014-08-20 Thread Ed Hynan
On Wed, 20 Aug 2014, Charles Musser wrote: On Aug 20, 2014, at 4:15 AM, Ed Hynan wrote: On Tue, 19 Aug 2014, Charles Musser wrote: - ::1 is the local address of the interface on the IPv6 network. No, *::2 is local. Ah, yes. Despite my best efforts at copyediting, I had the meanings of

Re: ifconfig command for IPv6 tunnel

2014-08-20 Thread Charles Musser
On Aug 20, 2014, at 4:15 AM, Ed Hynan wrote: > On Tue, 19 Aug 2014, Charles Musser wrote: > >> >> - ::1 is the local address of the interface on the IPv6 >> network. > > No, *::2 is local. Ah, yes. Despite my best efforts at copyediting, I had the meanings of *::1 and *::2 reversed. > >> -

Re: ifconfig command for IPv6 tunnel

2014-08-20 Thread Charles Musser
On Aug 20, 2014, at 7:43 AM, Adam Thompson wrote: > I know - I could tell by the addresses you provided :-). So much for *my* anonymity... ;-) > > Basically, yes. Although you have a "router" (does things with IP packets), > not a "bridge" (does things with Ethernet frames) - that's a huge dif

Re: ifconfig command for IPv6 tunnel

2014-08-20 Thread Adam Thompson
On 14-08-20 09:12 AM, Charles Musser wrote: Thanks for the info. As it happens, I am also using a tunnel provided by HE. I know - I could tell by the addresses you provided :-). My current thinking on how to do this is (in admittedly vague and incomplete terms) is: use a machine connected t

Re: ifconfig command for IPv6 tunnel

2014-08-20 Thread Charles Musser
On Aug 19, 2014, at 9:38 PM, Adam Thompson wrote: > > IIRC from my experimentation, you've got it exactly right. > Some tunnel brokers give you subnet masks that certain versions of OpenBSD > don't like - that turns out to not actually matter, just use whatever > ifconfig(8) want. Point in cas

Re: ifconfig command for IPv6 tunnel

2014-08-20 Thread Ed Hynan
On Tue, 19 Aug 2014, Charles Musser wrote: Hi, I'm experimenting with using IPv6 via a tunnel broker provided by an ISP. The tunnel works, but I want to confirm my understanding of the commands they gave me to set it up. These are the commands: ifconfig gif0 tunnel 50.1.94.112 72.52.104.74 ifc

Re: ifconfig command for IPv6 tunnel

2014-08-19 Thread Janne Johansson
Also, do note that this just means that this particular box has ipv6 connectivity. If you want to have clients at home behind this one, you should get another v6 network to use behind this gateway. And I agree with Adam, you got most of it correct. I would add the route command to hostname.gif0 wi

Re: ifconfig command for IPv6 tunnel

2014-08-19 Thread Adam Thompson
On 14-08-19 10:40 PM, Charles Musser wrote: I'm experimenting with using IPv6 via a tunnel broker provided by an ISP. The tunnel works, but I want to confirm my understanding of the commands they gave me to set it up. These are the commands: ifconfig gif0 tunnel 50.1.94.112 72.52.104.74 ifconfig

ifconfig command for IPv6 tunnel

2014-08-19 Thread Charles Musser
Hi, I'm experimenting with using IPv6 via a tunnel broker provided by an ISP. The tunnel works, but I want to confirm my understanding of the commands they gave me to set it up. These are the commands: ifconfig gif0 tunnel 50.1.94.112 72.52.104.74 ifconfig gif0 inet6 alias 2001:470:1f04:204::2 20