Network configuration with IPv6 only

r5hej

New Member
Mar 10, 2016
1
1
3
30
Hi

I am having problems with connecting to my server from outside my network. I am on a university network setup, so I can only use Ipv6 addresses in range 100/120.

Ifconfig:
Code:
eth0      Link encap:Ethernet  HWaddr d0:50:99:91:f0:ac 
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:31705 errors:0 dropped:0 overruns:0 frame:0
          TX packets:22948 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:18045288 (17.2 MiB)  TX bytes:6297973 (6.0 MiB)

lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:21123 errors:0 dropped:0 overruns:0 frame:0
          TX packets:21123 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:2318597 (2.2 MiB)  TX bytes:2318597 (2.2 MiB)

vmbr0     Link encap:Ethernet  HWaddr d0:50:99:91:f0:ac 
          inet addr:192.168.1.6  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::d250:99ff:fe91:f0ac/64 Scope:Link
          inet6 addr: 2001:878:3b8:69:d250:99ff:fe91:f0ac/64 Scope:Global
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:28045 errors:0 dropped:0 overruns:0 frame:0
          TX packets:22948 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:17411122 (16.6 MiB)  TX bytes:6258073 (5.9 MiB)

Content in my etc/network/interface file:
Code:
auto lo
iface lo inet loopback

auto vmbr0
iface vmbr0 inet static
    address 192.168.1.6
    netmask 255.255.255.0
    gateway 192.168.1.1
    bridge_ports eth0
    bridge_stp off
    bridge_fd 0

auto vmbr0
iface vmbr0 inet6 static
    address 2001:878:3b8:69:d250:99ff:fe91:f0ac
    netmask 64
    gateway 2001:878:3b8:69:d250:99ff:fe91:f0ac

route -6:
Code:
Kernel IPv6 routing table
Destination                    Next Hop                   Flag Met Ref Use If
::1/128                        ::                         U    256 0     0 lo
2001:878:3b8:69::/64           ::                         U    256 0     0 vmbr0
fe80::/64                      ::                         U    256 0     0 vmbr0
::/0                           ::                         !n   -1  1    57 lo
::1/128                        ::                         Un   0   3     2 lo
2001:878:3b8:69::/128          ::                         Un   0   1     0 lo
2001:878:3b8:69:d250:99ff:fe91:f0ac/128 ::                         Un   0   1     0 lo
fe80::/128                     ::                         Un   0   1     0 lo
fe80::d250:99ff:fe91:f0ac/128  ::                         Un   0   1     0 lo
ff00::/8                       ::                         U    256 8   114 vmbr0
::/0                           ::                         !n   -1  1    57 lo

I appriciate any help I can get :)
 
  • Like
Reactions: Jesper Nielsen
Hi,

what exactly do you want to do?

Use a tunnel or do you have a IPv6 gateway?

Because in your config you have the same IPv6 for gateway and IP.