Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* Couple of IPv6 Questions.
@ 2003-05-27 15:23 David Malone
  2003-05-27 20:57 ` Brian Haley
  0 siblings, 1 reply; 5+ messages in thread
From: David Malone @ 2003-05-27 15:23 UTC (permalink / raw)


I've been fiddling around with IPv6 on Tru64 and there's a couple
of things I haven't been able to figure out. First, I haven't been
able to find a command that displays the neighbour cache - something
like ndp on KAME stacks.

Second, I've been trying to set up a configured tunnel to a FreeBSD
host. I've tried both manually and with ip6_setup, the manual config
goes like this:

	iptunnel create -I ipt0 _v4_dest_addr_ _v4_source_addr_
	ifconfig ipt0 ipv6
	ifconfig ipt0 inet6 _v6_source_addr_
	ifconfig ipt0 up

I find that if I ping the all-nodes multicast address from the
FreeBSD host, then I get a reply from the Tru64 machine. If I try
pinging the _v6_source_addr_ I don't get a reply at all (I can see
the incomming packet count going up in netstat -in, but the box
doesn't seem to generate any replies, or if it does they don't make
it on to the wire). This is on:

	OSF1 tru64 V5.1 2650 alpha

I'm sure I'm just missing some obvious step.

	David.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Couple of IPv6 Questions.
  2003-05-27 15:23 Couple of IPv6 Questions David Malone
@ 2003-05-27 20:57 ` Brian Haley
  2003-05-28  8:41   ` David Malone
  0 siblings, 1 reply; 5+ messages in thread
From: Brian Haley @ 2003-05-27 20:57 UTC (permalink / raw)


David Malone wrote:
> I've been fiddling around with IPv6 on Tru64 and there's a couple
> of things I haven't been able to figure out. First, I haven't been
> able to find a command that displays the neighbour cache - something
> like ndp on KAME stacks.

# netstat -N

I'll add that to my list of documentation that needs updating.

> Second, I've been trying to set up a configured tunnel to a FreeBSD
> host. I've tried both manually and with ip6_setup, the manual config
> goes like this:
> 
> 	iptunnel create -I ipt0 _v4_dest_addr_ _v4_source_addr_
> 	ifconfig ipt0 ipv6
> 	ifconfig ipt0 inet6 _v6_source_addr_
> 	ifconfig ipt0 up
> 
> I find that if I ping the all-nodes multicast address from the
> FreeBSD host, then I get a reply from the Tru64 machine. If I try
> pinging the _v6_source_addr_ I don't get a reply at all (I can see
> the incomming packet count going up in netstat -in, but the box
> doesn't seem to generate any replies, or if it does they don't make
> it on to the wire).

The problem is that neither machine has a route to the v6 "network"
associated with the addresses you added (check netstat -rnf inet6).
The IPv6 output errors are probably going up on each system:

# netstat -p ipv6
...
	21 packets not transmitted due to error
...

Here's an example that will work:

Host 1:

# iptunnel create -I ipt0 host2 host1
# ifconfig ipt0 ipv6 up
# ifconfig ipt0 inet6 2000:7::1
# route add -net -inet6 2000:7::/64 2000:7::1 -interface -dev ipt0

Host 2:

# iptunnel create -I ipt0 host1 host2
# ifconfig ipt0 ipv6 up
# ifconfig ipt0 inet6 2000:7::2
# route add -net -inet6 2000:7::/64 2000:7::2 -interface -dev ipt0

Netstat -rnf inet6 will have a route to the 2000:7::/64 network through
the ipt0 interface now:

2000:7::/64      2000:7::1          US          0        7  ipt0
2000:7::1        2000:7::1          UHL         1        4  ipt0

And you won't have to use "-I ipt0" with ping or traceroute.

We assumed that most users will configure tunnels on routers, which
will automatically configure all of this for you, as well as advertise
and receive routing updates through the tunnel.

-Brian Haley, Tru64 Unix Networking



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Couple of IPv6 Questions.
  2003-05-27 20:57 ` Brian Haley
@ 2003-05-28  8:41   ` David Malone
  2003-05-28 15:13     ` Brian Haley
  0 siblings, 1 reply; 5+ messages in thread
From: David Malone @ 2003-05-28  8:41 UTC (permalink / raw)


Brian Haley <Brian.Haley@nospam_hp.com> writes:

># netstat -N

>I'll add that to my list of documentation that needs updating.

That's it.

>The problem is that neither machine has a route to the v6 "network"
>associated with the addresses you added (check netstat -rnf inet6).

Ahhh - right - I'm used to KAME where you have to give a prefix
length when configuring an interface or give the address of the
other end of a point-to-point link, so you always end up with a
route automagically. The route command you gave fixed my problem.

>The IPv6 output errors are probably going up on each system:

># netstat -p ipv6
>...
>	21 packets not transmitted due to error
>...

Curiously, netstat -p doesn't show this statistic on the version
of Tru64 I'm using (I had checked for some statistic like this).
Sample output included below.

	David.

# netstat -p ipv6
ipv6:
        17761 packets received
           0 on idle interface
           0 with size smaller than minimum
           0 with data size < payload length
           0 with bad version
           1427 with non-optimal alignment
           17750 packets with local destination
           9459 packets with multicast destination
           6 packets which require forwarding
           5 packets with tentative destination (dropped)
           0 to an unknown protocol
        17750 packets successfully delivered
        0 packets discarded due to error
        0 packets caused an ICMPv6 error to be sent
        Transmitted:
           4746 packets locally sourced
           0 packets due to forwarding
           0 packets needing fragmentation
           29 multicasts (21 looped back)
        0 exceeded interface output quota
        Fragmentation:
           8 packets fragmented
           22 fragments sent
        Reassembly:
           20 fragments received
           7 packets reassembled
        Forwarding:
           0 packets forwarded



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Couple of IPv6 Questions.
  2003-05-28  8:41   ` David Malone
@ 2003-05-28 15:13     ` Brian Haley
  2003-05-31  7:07       ` David Malone
  0 siblings, 1 reply; 5+ messages in thread
From: Brian Haley @ 2003-05-28 15:13 UTC (permalink / raw)


David Malone wrote:

>>The IPv6 output errors are probably going up on each system:
> 
>># netstat -p ipv6
>>...
>>	21 packets not transmitted due to error
>>...
> 
> 
> Curiously, netstat -p doesn't show this statistic on the version
> of Tru64 I'm using (I had checked for some statistic like this).
> Sample output included below.

It will only print it if it's non-zero, maybe you've rebooted since then?

-Brian



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Couple of IPv6 Questions.
  2003-05-28 15:13     ` Brian Haley
@ 2003-05-31  7:07       ` David Malone
  0 siblings, 0 replies; 5+ messages in thread
From: David Malone @ 2003-05-31  7:07 UTC (permalink / raw)


Brian Haley <Brian.Haley@nospam_hp.com> writes:

>> Curiously, netstat -p doesn't show this statistic on the version
>> of Tru64 I'm using (I had checked for some statistic like this).
>> Sample output included below.

>It will only print it if it's non-zero, maybe you've rebooted since then?

Nope - been up the whole time. I can investigate further if you like.

	David.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-05-31  7:07 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-27 15:23 Couple of IPv6 Questions David Malone
2003-05-27 20:57 ` Brian Haley
2003-05-28  8:41   ` David Malone
2003-05-28 15:13     ` Brian Haley
2003-05-31  7:07       ` David Malone

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox