VoyForums
[ Show ]
Support VoyForums
[ Shrink ]
VoyForums Announcement: Programming and providing support for this service has been a labor of love since 1997. We are one of the few services online who values our users' privacy, and have never sold your information. We have even fought hard to defend your privacy in legal cases; however, we've done it with almost no financial support -- paying out of pocket to continue providing the service. Due to the issues imposed on us by advertisers, we also stopped hosting most ads on the forums many years ago. We hope you appreciate our efforts.

Show your support by donating any amount. (Note: We are still technically a for-profit company, so your contribution is not tax-deductible.) PayPal Acct: Feedback:

Donate to VoyForums (PayPal):

Login ] [ Contact Forum Admin ] [ Main index ] [ Post a new message ] [ Search | Check update time | Archives: [1] ]
Subject: Re: BSD


Author:
System Administrator
[ Next Thread | Previous Thread | Next Message | Previous Message ]
Date Posted: 13:27:55 12/19/01 Wed
In reply to: Kostas 's message, "Re: BSD" on 13:26:24 12/19/01 Wed

>>>Erwthseis/Apanthseis Sxetika me leitourgika *BSD.
>
>pedes pos sindeome sto IPv6 tou freebsd mou?

Αρχικά πρέπει να έχουμε υποστήριξη του IPv6 στον πυρήνα μας. Για να το κάνουμε αυτό πρέπει να προσθέσουμε τα εξής στο config file μας:


options INET6
options IPV6FIREWALL
options IPV6FIREWALL_VERBOSE
options IPV6FIREWALL_VERBOSE_LIMIT=100
options IPV6FIREWALL_DEFAULT_TO_ACCEPT

(για παραπάνω πληροφορίες σχετικά με την δημιουργία πυρήνα συμβουλεφτείτε το FreeBSD HandBook.)

Μέχρι στιγμής το ΙΡν6 στηρίζεται σε IPv4 tunnels. Άρα για να συνδεθούμε και εμείς στο IPv6 πρέπει να ενεργοποιήσουμε ενα tunnel. Ενα site που δίνει δωρεάν tunnels για να συνδεθείτε ειναι το www.freenet6.net.
Εστω λοιπόν οτι γνωρίζουμε τα εξης:

H δικία μας IpV4 Address 195.130.65.45
Η απέναντι IpV4 Address 194.177.210.38
Η δικία μας IpV6 Address 3FFE:2D00:1::1C/127
Η απέναντι IpV6 Address 3FFE:2D00:1::1D/127
Οι εντολές που δίνουμε είναι οι παρακάτω:
--------------------------------------------------------------------------------


# gifconfig gif0 195.130.65.45 195.177.210.38
# ifconfig fxp0 inet6 3ffe:2d00:1::1c prefixlen 127
# ifconfig gif0 inet6 3ffe:2d00:1::1c 3ffe:2d00:1::1d
# route add -inet6 default 3ffe:2d00:1::1d
--------------------------------------------------------------------------------
Σε πρώτη φάση δοκιμάστε να κάνετε ping την απέναντι άκρη του tunnel.
(ping6 3ffe:2d00:1::1d)
Αν αυτό δουλέψει τότε δοκιμάστε να κάνετε ping κάποιο άλλο site πχ http://www.ipv6.org ή το http://www.jp.freebsd.org. (ping6 www.ipv6.net)
ΥΓ:Αν θέλετε ο υπολογιστής σας να λειτουργεί σαν gateway του LAN σας για το IPv6 τότε δώστε την παρακάτω εντολή # sysctl -w net.inet6.ip6.forwarding=1 και απο τους άλλους υπολογιστές απλώς τον δηλώνετε σαν gateway.

[ Next Thread | Previous Thread | Next Message | Previous Message ]


[ Contact Forum Admin ]


Forum timezone: GMT-8
VF Version: 3.00b, ConfDB:
Before posting please read our privacy policy.
VoyForums(tm) is a Free Service from Voyager Info-Systems.
Copyright © 1998-2019 Voyager Info-Systems. All Rights Reserved.