K
K
Kir Burov2019-02-04 15:11:11
ubuntu
Kir Burov, 2019-02-04 15:11:11

How to set up miredo with two network cards?

There is a server with two network cards (one to the local network, the second through a router to the Internet)
IP provider issues gray.
Installed miredo to access the server via ssh from the internet, but ipv6.google.com does not ping. Although on the laptop connected to the same router, pings go.
server ifconfig

eth2      Link encap:Ethernet  HWaddr 00:0e:0c:a4:6a:3b  
          inet addr:172.18.16.25  Bcast:172.18.16.255  Mask:255.255.255.0
          inet6 addr: fe80::20e:cff:fea4:6a3b/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:42912483 errors:0 dropped:3953 overruns:0 frame:0
          TX packets:42195762 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:146328568 (146.3 MB)  TX bytes:22684852 (22.6 MB)

eth3      Link encap:Ethernet  HWaddr 00:0e:0c:a4:6a:3a  
          inet addr:192.168.0.119  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::20e:cff:fea4:6a3a/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:87661 errors:0 dropped:0 overruns:0 frame:0
          TX packets:61401 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:126740181 (126.7 MB)  TX bytes:5283485 (5.2 MB)
          Interrupt:16 

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:188321 errors:0 dropped:0 overruns:0 frame:0
          TX packets:188321 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1 
          RX bytes:13406266 (13.4 MB)  TX bytes:13406266 (13.4 MB)

teredo    Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
          inet6 addr: 2001:0:53aa:64c:28be:5a1e:4d53:43ef/32 Scope:Global
          inet6 addr: fe80::ffff:ffff:ffff/64 Scope:Link
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1280  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:500 
          RX bytes:0 (0.0 B)  TX bytes:144 (144.0 B)

ifconfig laptop
enp2s0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether 54:48:10:d0:5b:ee  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Локальная петля (Loopback))
        RX packets 2236  bytes 198617 (198.6 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 2236  bytes 198617 (198.6 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

teredo: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST>  mtu 1280
        inet6 2001:0:53aa:64c:287a:1662:4d53:43ef  prefixlen 32  scopeid 0x0<global>
        inet6 fe80::2c31:fae8:7a7a:dd0e  prefixlen 64  scopeid 0x20<link>
        inet6 fe80::ffff:ffff:ffff  prefixlen 64  scopeid 0x20<link>
        unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  txqueuelen 500  (UNSPEC)
        RX packets 14  bytes 1456 (1.4 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 101  bytes 7036 (7.0 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlp1s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.0.109  netmask 255.255.255.0  broadcast 192.168.0.255
        inet6 fe80::983e:2418:49d1:fb81  prefixlen 64  scopeid 0x20<link>
        ether d8:9c:67:17:2d:f9  txqueuelen 1000  (Ethernet)
        RX packets 93150  bytes 120925144 (120.9 MB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 46622  bytes 7961716 (7.9 MB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
vreitech, 2019-02-04
@fzfx

what they say:

ping 2001:470:6d:40c:280a:9d75:515c:b8bb
cat /etc/resolv.conf

you may be having DNS issues.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question