Re: best place to specify ipv6 default route

2006-07-19 Thread Eric Pancer
On Wed, 2006-07-19 at 00:05:25 +0200, Paul de Weerd wrote... > You should a) use grep -C and b) check out 3.9 or -current ;) Yea I'm on 3.7-RELEASE still. ugh. > [1]: http://marc.theaimsgroup.com/?l=openbsd-cvs&m=112930507105045&w=2 Aw damn, that's nice! Thanks todd@ - Eric

Re: best place to specify ipv6 default route

2006-07-18 Thread Paul de Weerd
On Tue, Jul 18, 2006 at 04:33:36PM -0500, Eric Pancer wrote: | Send a patch if you really want the behavior, but I'm pretty sure that's | only intended for IPv4. The patch is already there .. check [1] | $ grep -A 2 -B 2 mygate /etc/netstart | done | | # /etc/mygate, if it exists, contains the na

Re: best place to specify ipv6 default route

2006-07-18 Thread Darrin Chandler
On Tue, Jul 18, 2006 at 04:33:36PM -0500, Eric Pancer wrote: > $ grep -A 2 -B 2 mygate /etc/netstart > done > > # /etc/mygate, if it exists, contains the name of my gateway host > # that name must be in /etc/hosts. > if [ -f /etc/mygate ]; then > route -qn delete default > /dev/null 2>&1 >

Re: best place to specify ipv6 default route

2006-07-18 Thread Darrin Chandler
On Tue, Jul 18, 2006 at 05:10:11PM -0400, Will H. Backman wrote: > It did have dhcp when I installed, but then I changed the > /etc/hostname.xl0 to contain only > inet IP NETMASK. There's a comment in /etc/netstart that says the gateway *must* exist in /etc/hosts. I just checked my machine using

Re: best place to specify ipv6 default route

2006-07-18 Thread Eric Pancer
On Tue, 2006-07-18 at 17:13:30 -0400, Will H. Backman wrote... > Yes, that does work, but I'm curious if /etc/mygate should work. I > usually use /etc/mygate for IPv4, so I'm inclined to use it for IPv6 also. Send a patch if you really want the behavior, but I'm pretty sure that's only intended

Re: best place to specify ipv6 default route

2006-07-18 Thread Will H. Backman
Eric Pancer wrote: On Tue, 2006-07-18 at 16:37:23 -0400, Will H. Backman wrote... The man page for mygate says that one can add an IPv6 gateway address to /etc/mygate, but it doesn't seem to add an entry to the routing table upon reboot. I'm not using rtsol anywhere. Most of my searching o

Re: best place to specify ipv6 default route

2006-07-18 Thread Will H. Backman
Darrin Chandler wrote: On Tue, Jul 18, 2006 at 04:37:23PM -0400, Will H. Backman wrote: > The man page for mygate says that one can add an IPv6 gateway address to > /etc/mygate, but it doesn't seem to add an entry to the routing table > upon reboot. I'm not using rtsol anywhere. > Most of my se

Re: best place to specify ipv6 default route

2006-07-18 Thread Eric Pancer
On Tue, 2006-07-18 at 16:37:23 -0400, Will H. Backman wrote... > The man page for mygate says that one can add an IPv6 gateway address to > /etc/mygate, but it doesn't seem to add an entry to the routing table > upon reboot. I'm not using rtsol anywhere. > Most of my searching on the internet s

Re: best place to specify ipv6 default route

2006-07-18 Thread Darrin Chandler
On Tue, Jul 18, 2006 at 04:37:23PM -0400, Will H. Backman wrote: > The man page for mygate says that one can add an IPv6 gateway address to > /etc/mygate, but it doesn't seem to add an entry to the routing table > upon reboot. I'm not using rtsol anywhere. > Most of my searching on the internet

best place to specify ipv6 default route

2006-07-18 Thread Will H. Backman
The man page for mygate says that one can add an IPv6 gateway address to /etc/mygate, but it doesn't seem to add an entry to the routing table upon reboot. I'm not using rtsol anywhere. Most of my searching on the internet shows people adding a line to the /etc/hostname.gif0 file, i.e: !route