add working network

This commit is contained in:
Nico Schottelius 2020-01-10 23:55:21 +01:00
parent ebcb1680d7
commit b9c9a5e0ec
6 changed files with 23 additions and 2 deletions

3
uncloud/hack/hackcloud/.gitignore vendored Normal file
View file

@ -0,0 +1,3 @@
*.iso
radvdpid
foo

View file

@ -1,2 +0,0 @@
tap0
tap0

View file

@ -6,3 +6,4 @@ dev=$1; shift
# bridge is setup from outside
ip link set dev "$dev" master ${bridge}
ip link set dev "$dev" up

View file

@ -5,6 +5,7 @@ dev=wlp2s0
dev=wlp0s20f3
dev=wlan0
ip=2a0a:e5c1:111:888::42/64
vxlandev=vxlan${netid}
bridgedev=br${netid}
@ -19,3 +20,5 @@ ip link set ${vxlandev} up
ip link add ${bridgedev} type bridge
ip link set ${bridgedev} up
ip addr add ${ip} dev ${bridgedev}

View file

@ -0,0 +1,13 @@
interface br100
{
AdvSendAdvert on;
MinRtrAdvInterval 3;
MaxRtrAdvInterval 5;
AdvDefaultLifetime 3600;
prefix 2a0a:e5c1:111:888::/64 {
};
RDNSS 2a0a:e5c0::3 2a0a:e5c0::4 { AdvRDNSSLifetime 6000; };
DNSSL place7.ungleich.ch { AdvDNSSLLifetime 6000; } ;
};

View file

@ -0,0 +1,3 @@
#!/bin/sh
radvd -C ./radvd.conf -n -p ./radvdpid