Forum » Omrežja in internet » IPv6 on linux tunel bt exact
IPv6 on linux tunel bt exact
haha ::
Mene pa zanima če kdo zna skonfigurirati script za tunel broker bt exact za linux
script zgleda takole:
#!/bin/sh
if ! [ -f /proc/net/if_inet6 ]
then echo "IPv6 is not installed!" 1>&2; exit 1; fi
ifconfig sit0 up
&& ifconfig sit0 inet6 tunnel ::213.121.24.85
&& ifconfig sit1 inet6 add 2001:618:400::52c0:2d86/128
&& route -A inet6 add ::/0 gw fe80::d579:1855 dev sit1
&& route -A inet6 add 2000::/3 gw fe80::d579:1855 dev sit1
&& ifconfig eth1 up
&& ifconfig eth1 inet6 add 2001:618:400:69ae::/64
&& echo 1 > /proc/sys/net/ipv6/conf/all/forwarding
&& echo 'interface eth1
{
AdvSendAdvert on;
prefix 2001:618:400:69ae::/64
{
AdvOnLink on;
AdvAutonomous on;
};
};' > /etc/radvd.conf
&& /etc/init.d/radvd start
&& echo "IPv6 configuration completed" ||
{ echo "IPv6 configuration failed!" 1>&2; exit 1; }
script zgleda takole:
#!/bin/sh
if ! [ -f /proc/net/if_inet6 ]
then echo "IPv6 is not installed!" 1>&2; exit 1; fi
ifconfig sit0 up
&& ifconfig sit0 inet6 tunnel ::213.121.24.85
&& ifconfig sit1 inet6 add 2001:618:400::52c0:2d86/128
&& route -A inet6 add ::/0 gw fe80::d579:1855 dev sit1
&& route -A inet6 add 2000::/3 gw fe80::d579:1855 dev sit1
&& ifconfig eth1 up
&& ifconfig eth1 inet6 add 2001:618:400:69ae::/64
&& echo 1 > /proc/sys/net/ipv6/conf/all/forwarding
&& echo 'interface eth1
{
AdvSendAdvert on;
prefix 2001:618:400:69ae::/64
{
AdvOnLink on;
AdvAutonomous on;
};
};' > /etc/radvd.conf
&& /etc/init.d/radvd start
&& echo "IPv6 configuration completed" ||
{ echo "IPv6 configuration failed!" 1>&2; exit 1; }
- premaknil iz Pomoč in nasveti: Predator ()
samek ::
in kaj bi rad tuki konfigureral .. sj kokr js vem, je skripta prov skonfigurerana, ko jo že potegneš iz njihove strani ..
/dev/null
haha ::
ko hočem zagnati script mi ven vrže tole
root@darkstar:~# ./my66ipv6
eth1: unknown interface: No such device
IPv6 configuration failed!
pa ne vem kaj je narobe
root@darkstar:~# ./my66ipv6
eth1: unknown interface: No such device
IPv6 configuration failed!
pa ne vem kaj je narobe
PaJo ::
Ja, kaj imas sploh eth1 mrezno karto ali mas samo eth0? Pol samo spremeni eth1 v eth0 pa bi verjetno moralo delovati.
Ne se preveč sekirat, rajši uživat:)
Vredno ogleda ...
Tema | Ogledi | Zadnje sporočilo | |
---|---|---|---|
Tema | Ogledi | Zadnje sporočilo | |
» | IPv6 tunnelbrokerOddelek: Omrežja in internet | 1328 (1067) | boogie_xlr |
» | Nastavljanje ipv6 naslova na strežniku DebianOddelek: Omrežja in internet | 674 (632) | steev |
» | Ubuntu problem z mrežno 3com 3c509Oddelek: Operacijski sistemi | 2280 (2030) | krofko |
» | psybnc ipv6 linuxOddelek: Programska oprema | 1212 (1109) | haha |
» | IPv6 on Linux RH9Oddelek: Omrežja in internet | 2334 (1883) | Gandalfar |