> <
>said:
>
> > echo 24.113.25.85 | sed -e s/"\."/" "/g | awk '{$5 = $1*256 + $2; $6 = $3*256 +
>$4; printf "2002:%x:%x:\n", $5, $6}'
>
> Or, without only one extra process:
>
> myaddr=24.113.25.85
> OIFS="$IFS"
> IFS=".$IFS"
> set $myaddr
> IFS="$OIFS"
> printf "2002:%x:%x:\n" $(($1 * 256
> > echo 24.113.25.85 | sed -e s/"\."/" "/g | awk '{$5 = $1*256 + $2; $6 = $3*256 +
>$4; printf "2002:%x:%x:\n", $5, $6}'
>
> Or, without only one extra process:
>
> myaddr=24.113.25.85
> OIFS="$IFS"
> IFS=".$IFS"
> set $myaddr
> IFS="$OIFS"
> printf "2002:%x:%x:\n" $(($1 * 256 + $2)) $(($3 *
< said:
> echo 24.113.25.85 | sed -e s/"\."/" "/g | awk '{$5 = $1*256 + $2; $6 = $3*256 +
>$4; printf "2002:%x:%x:\n", $5, $6}'
Or, without only one extra process:
myaddr=24.113.25.85
OIFS="$IFS"
IFS=".$IFS"
set $myaddr
IFS="$OIFS"
printf "2002:%x:%x:\n" $(($1 * 256 + $2)) $(($3 * 256 + $4))
> > echo 24.113.25.85 | sed -e s/"\."/" "/g | awk '{$5 = $1*256 + $2; $6 = $3*256 +
>$4; printf "2002:%x:%x:\n", $5, $6}'
> >
> >Then it will print out first 6byte for your 6to4 prefix.
>
> just checking. from code inspection on cvsweb,
> - rc.network6 is called before performing n
>And if you want to check 6to4 prefix for some IPv4 addr
>without doing 6to4 interface configuration, please try
>following command.
>
> echo 24.113.25.85 | sed -e s/"\."/" "/g | awk '{$5 = $1*256 + $2; $6 = $3*256 + $4;
>printf "2002:%x:%x:\n", $5, $6}'
>
>Then it will print out first 6byte for
> > (Now I am comfirming a new rc.conf entry which automate above
> > IPv6 prefix calucuration, and etc, for 6to4 interface configuration.)
As I also said in my previous mail with this subject, this is
committed.
If anyone intersted, please try it.
If you have IPv4 1.2.3.4 for your 6to4 interfac
> OK,
> What is the correct one??
>
> How do I calulate the IP from IPv6, what is the formula?
> oh The IPv4 I want to use is 24.113.25.85 and 24.113.130.83
Are you tring to do multihoming? Then things might be more
complicated.
Let's forget the 2nd IPv4 addr for simplicity, now.
If your addr
oh The IPv4 I want to use is 24.113.25.85 and 24.113.130.83
Thanks..
On Mon, 13 Mar 2000, Daniel C. Sobral wrote:
> Yoshinobu Inoue wrote:
> >
> > > Shouldn't this be 2002:e071:8253: instead?
> >
> > Ah, if real IPv4 addr is 240:113:130:083, then I think it will be,
> >
> > 2002:f071:8253:
OK,
What is the correct one??
How do I calulate the IP from IPv6, what is the formula?
Shaun
On Mon, 13 Mar 2000, Daniel C. Sobral wrote:
> Yoshinobu Inoue wrote:
> >
> > > Shouldn't this be 2002:e071:8253: instead?
> >
> > Ah, if real IPv4 addr is 240:113:130:083, then I think it will be,
>
Yoshinobu Inoue wrote:
>
> > Shouldn't this be 2002:e071:8253: instead?
>
> Ah, if real IPv4 addr is 240:113:130:083, then I think it will be,
>
> 2002:f071:8253:
Err, f0, of course... :-)
> (Now I am comfirming a new rc.conf entry which automate above
> IPv6 prefix calucuration, and etc, f
> > > So my IPv4 address is 24.113.130.83 that in IPv6 would be
> > > 2002:240:113:130:083 ??
> >
> > No, no, because IPv6 address is printed in hex format each
> > 2bytes separated by collon, so the 1st 6bytes will be,
> >
> > 2002:1871:8253:
>
> Shouldn't this be 2002:e071:8253: instead?
A
Yoshinobu Inoue wrote:
>
> > So my IPv4 address is 24.113.130.83 that in IPv6 would be
> > 2002:240:113:130:083 ??
>
> No, no, because IPv6 address is printed in hex format each
> 2bytes separated by collon, so the 1st 6bytes will be,
>
> 2002:1871:8253:
Shouldn't this be 2002:e071:8253: ins
Hi,
> So my IPv4 address is 24.113.130.83 that in IPv6 would be
> 2002:240:113:130:083 ??
No, no, because IPv6 address is printed in hex format each
2bytes separated by collon, so the 1st 6bytes will be,
2002:1871:8253:
and if printed in full 16bytes,
2002:1871:8253:-:::00
So my IPv4 address is 24.113.130.83 that in IPv6 would be
2002:240:113:130:083 ??
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message
> I believe I'm looking for a public IPv6 address to use for testing
> purposes. So where/what addresses can I use is my question.
> then how I intergrate that into my setup.
>
> Hope that makes the question more clearer.
> Thanks
OK, then I think you should try 6to4 addr.
The format is like b
I believe I'm looking for a public IPv6 address to use for testing
purposes. So where/what addresses can I use is my question.
then how I intergrate that into my setup.
Hope that makes the question more clearer.
Thanks
On Sat, 11 Mar 2000, Shaun (UNIX) wrote:
> Ok, now I would like to get some
Ok, now I would like to get some good info on IPv6 and how it is
structured. Mainly looking for how it works in regards to setting up IP's
and how the IP formatting works. Eg. IPv4 has special blocks of IPs that
are only used for internal networks with there own subnet masks etc.
That kind of i
> How/Where is the setup for the IPv6?
>
> Shaun
If you have recent tree or Freebsd4.0 RC3, then there will be
IPv6 specific configuration examples in /etc/defaults/rc.conf.
The lines which start from "ipv6_..." are them.
At least you need to set ipv6_enable to YES.
You need to add the follwing
How/Where is the setup for the IPv6?
Shaun
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message
19 matches
Mail list logo