Date: Fri, 5 Apr 2002 18:11:28 +1000 From: "Merlin" <robert@quantum-radio.net.au> To: "freebsd-net" <freebsd-net@FreeBSD.ORG> Subject: Re: to JINMEI, Tatuya. Rephrased last question Message-ID: <021301c1dc79$7d236630$1a6001cb@chalmers.com.au> References: <01fe01c1dc6d$55248fd0$1a6001cb@chalmers.com.au> <y7vhemqpoxx.wl@ocean.jinmei.org>
next in thread | previous in thread | raw e-mail | index | archive | help
> > My host name is nanguo.chalmers.com.au, on IPv4 203.1.96.5
> > netstat -rn shows:
>
> > 203.1.96.5 0:10:b5:e4:43:86 UHLW 2 675 lo0
>
>
> > Which one of these IPv6 addresses is it's equivelant.
> > 2002:cb01:6005::1 link#4 UHL lo0
> > 2002:cb01:6005:1::1 link#4 UHL lo0
>
> That depends on your local configuration. Please show us the result
> of
> % ifconfig -a
> and the contents of /etc/rc.conf (if you don't mind).
My pleasure. I'd like to get this working if I can. (properly)
ifconfig -a:
$ ifconfig -a
rl0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
inet 203.1.96.5 netmask 0xffffff00 broadcast 203.1.96.255
inet6 fe80::210:b5ff:fee4:4386%rl0 prefixlen 64 scopeid 0x1
inet 203.1.96.155 netmask 0xffffffff broadcast 203.1.96.155
inet 203.1.96.200 netmask 0xffffffff broadcast 203.1.96.200
ether 00:10:b5:e4:43:86
media: Ethernet 10baseT/UTP
status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
inet 127.0.0.1 netmask 0xff000000
faith0: flags=8043<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::210:b5ff:fee4:4386%faith0 prefixlen 64 scopeid 0x3
stf0: flags=1<UP> mtu 1280
inet6 2002:cb01:6005:1::1 prefixlen 16
inet6 2002:cb01:6005::1 prefixlen 16
tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1500
inet6 fe80::210:b5ff:fee4:4386%tun0 prefixlen 64 scopeid 0x5
inet 203.1.96.5 --> 139.130.78.1 netmask 0xffffff00
Opened by PID 56
========================================
rc.conf (relative bits)
gateway_enable="YES"
hostname="nanguo.chalmers.com.au"
ifconfig_rl0="inet 203.1.96.5 netmask 255.255.255.0 media 10baseT/UTP"
ifconfig_stf0="inet6 2002:cb01:6005:0001::1 prefixlen 16 alias"
inetd_enable="YES" # NO if using xinetd
named_enable="YES"
ipv6_enable="YES"
ipv6_network_interfaces="auto"
ipv6_gateway_enable="YES"
ipv6_static_routes="default"
ipv6_route_default="default 2002:c058:6301::"
stf_interface_ipv4addr="203.1.96.5"
rtadvd_enable="YES"
rtadvd_interfaces="auto"
========================================
netstat -rn ( this needs copying to something like textpad to be readable)
Internet:
Destination Gateway Flags Refs Use Netif Expire
default 139.130.78.1 UGSc 41 4455 tun0
127.0.0.1 127.0.0.1 UH 1 8236 lo0
139.130.78.1 203.1.96.5 UH 41 0 tun0
203.1.96.0 ff:ff:ff:ff:ff:ff UHLWb 0 3 rl0 =>
203.1.96 link#1 UC 6 0 rl0
203.1.96.1 link#1 UHLW 1 2 rl0
203.1.96.5 0:10:b5:e4:43:86 UHLW 1 2937 lo0
203.1.96.6 0:40:5:4e:a9:82 UHLW 0 2895 rl0 423
203.1.96.26 52:54:5:e3:57:30 UHLW 9 278713 rl0 1124
203.1.96.155/32 link#1 UC 0 0 rl0
203.1.96.200/32 link#1 UC 0 0 rl0
203.1.96.255 ff:ff:ff:ff:ff:ff UHLWb 0 1 rl0
Internet6:
Destination Gateway Flags Netif Expire
::/96 ::1 UGRSc lo0 =>
default 2002:c058:6301:: UGSc stf0
::1 ::1 UH lo0
::ffff:0.0.0.0/96 ::1 UGRSc lo0
2002::/24 ::1 UGRSc lo0 =>
2002::/16 2002:cb01:6005:1::1 Uc stf0
2002:7f00::/24 ::1 UGRSc lo0
2002:cb01:6005::1 link#4 UHL lo0
2002:cb01:6005:1::1 link#4 UHL lo0
2002:e000::/20 ::1 UGRSc lo0
2002:ff00::/24 ::1 UGRSc lo0
fe80::/10 ::1 UGRSc lo0
fe80::%rl0/64 link#1 UC rl0
fe80::210:b5ff:fee4:4386%rl0 0:10:b5:e4:43:86 UHL lo0
fe80::%lo0/64 fe80::1%lo0 Uc lo0
fe80::1%lo0 link#2 UHL lo0
fe80::%faith0/64 fe80::210:b5ff:fee4:4386%faith0 Uc faith0
fe80::210:b5ff:fee4:4386%faith0 link#3 UHL lo0
fe80::%tun0/64 fe80::210:b5ff:fee4:4386%tun0 Uc tun0
fe80::210:b5ff:fee4:4386%tun0 link#5 UHL lo0
ff01::/32 ::1 U lo0
ff02::/16 ::1 UGRS lo0
ff02::%rl0/32 link#1 UC rl0
ff02::%lo0/32 ::1 UC lo0
ff02::%faith0/32 fe80::210:b5ff:fee4:4386%faith0 UC faith0
ff02::%tun0/32 fe80::210:b5ff:fee4:4386%tun0 UC tun0
$
I'm sorry if this is obvious to experts on this list, but IPv6 is new to me... and still a mystery.
Thanks
Robert
>
> JINMEI, Tatuya
> Communication Platform Lab.
> Corporate R&D Center, Toshiba Corp.
> jinmei@isl.rdc.toshiba.co.jp
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-net" in the body of the message
>
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?021301c1dc79$7d236630$1a6001cb>
