LINUX.ORG.RU

Настройка сети мостом

 ,


0

1

Настраивал интернет>>роутер>>>кубиборд(точка доступа по wifi)>>ноутбук всё настроил всё работает , решил убрать роутер

поменял настройки eth0

iface eth0 inet static
address 178.210.208.39
netmask 255.255.255.128
gateway 178.210.208.1
dns-nameservers 178.210.192.2
dns-search foobar

вставляю интернет кабель и даже шлюз не пингует , mac адрес клонировал старый , такой же на роутере , где я ошибся ?


Ответ на: комментарий от ziemin
Основной шлюз
 1  izacCubian.local (178.210.208.39)  2991.704 ms !H  2991.562 ms !H  2991.521 ms !H


первичный Днс
root@izacCubian:/home/cubie# traceroute 178.210.192.2
traceroute to 178.210.192.2 (178.210.192.2), 30 hops max, 60 byte packets
 1  * * *
 2  * * *
 3  * * *
 4  * * *
 5  * * *
 6  * * *
 7  * * *
 8  * * *
 9  * * *
10  * * *
11  * * *
12  * * *
13  * * *
14  * * *
15  * * *
16  * * *
17  * * *
18  * * *
19  * * *
20  * * *
21  * * *
22  * * *
23  * * *
24  * * *
25  * * *
26  * * *
27  * * *
28  * * *
29  * * *
30  * * *

izac
() автор топика

Глупый вопрос

У тебя что ли статический адрес в интернет?
Зачем ты устанавливаешь address 178.210.208.39?

justAmoment ★★★★★
()
Ответ на: По сути от justAmoment

да , такие настройки и в роутере и в контракте на подключение к сети

izac
() автор топика
Ответ на: комментарий от Alsvartr

Chain INPUT (policy ACCEPT 616 packets, 65116 bytes)
 pkts bytes target     prot opt in     out     source               destination 

Chain FORWARD (policy ACCEPT 583 packets, 63789 bytes)
 pkts bytes target     prot opt in     out     source               destination 

Chain OUTPUT (policy ACCEPT 663 packets, 73184 bytes)
 pkts bytes target     prot opt in     out     source               destination


root@izacCubian:/home/cubie# tcpdump host 178.210.208.39
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 65535 bytes
19:38:23.523240 ARP, Request who-has izacCubian.local tell 178.210.208.1, length 46
19:38:24.282493 ARP, Request who-has 178.210.208.1 tell izacCubian.local, length 28
19:38:24.283680 IP 187.163.64.154.62601 > izacCubian.local.33228: Flags [S], seq 2369445508, win 32768, options [mss 1432,nop,wscale 2,nop,nop,sackOK], length 0
19:38:24.283870 IP izacCubian.local.33228 > 187.163.64.154.62601: Flags [R.], seq 0, ack 2369445509, win 0, length 0
19:38:24.284812 ARP, Reply 178.210.208.1 is-at 00:21:91:c7:d5:d8 (oui Unknown), length 46
19:38:25.272884 ARP, Request who-has 178.210.208.1 tell izacCubian.local, length 28
19:38:25.273830 ARP, Reply 178.210.208.1 is-at 00:21:91:c7:d5:d8 (oui Unknown), length 46
19:38:25.675515 IP 61.231.105.110.1122 > izacCubian.local.56187: UDP, length 101
19:38:25.675695 IP izacCubian.local > 61.231.105.110: ICMP izacCubian.local udp port 56187 unreachable, length 137
19:38:25.928240 IP 176.45.39.2.24727 > izacCubian.local.56187: UDP, length 103
19:38:25.928418 IP izacCubian.local > 176.45.39.2: ICMP izacCubian.local udp port 56187 unreachable, length 139
19:38:26.272958 ARP, Request who-has 178.210.208.1 tell izacCubian.local, length 28
19:38:26.273875 ARP, Reply 178.210.208.1 is-at 00:21:91:c7:d5:d8 (oui Unknown), length 46
19:38:27.303100 ARP, Request who-has 178.210.208.1 tell izacCubian.local, length 28
19:38:27.304048 ARP, Reply 178.210.208.1 is-at 00:21:91:c7:d5:d8 (oui Unknown), length 46
19:38:27.314187 IP 90.18.202.22.47981 > izacCubian.local.56187: UDP, length 103
19:38:27.314360 IP izacCubian.local > 90.18.202.22: ICMP izacCubian.local udp port 56187 unreachable, length 139
19:38:27.590221 IP 95.20.77.219.43787 > izacCubian.local.56187: UDP, length 117
19:38:27.590378 IP izacCubian.local > 95.20.77.219: ICMP izacCubian.local udp port 56187 unreachable, length 153
19:38:28.303110 ARP, Request who-has 178.210.208.1 tell izacCubian.local, length 28
19:38:28.304442 ARP, Reply 178.210.208.1 is-at 00:21:91:c7:d5:d8 (oui Unknown), length 46
19:38:28.399978 IP 187.163.64.154.62601 > izacCubian.local.33228: Flags [S], seq 2369445508, win 32768, options [mss 1432,nop,nop,sackOK], length 0
19:38:28.400109 IP izacCubian.local.33228 > 187.163.64.154.62601: Flags [R.], seq 0, ack 1, win 0, length 0
19:38:28.710913 IP 124.24.202.76.54536 > izacCubian.local.56187: UDP, length 101
19:38:28.711113 IP izacCubian.local > 124.24.202.76: ICMP izacCubian.local udp port 56187 unreachable, length 137
19:38:28.746848 IP 86.121.88.79.26396 > izacCubian.local.35228: Flags [S], seq 2190604539, win 8192, options [mss 1452,nop,wscale 2,nop,nop,sackOK], length 0
19:38:28.746968 IP izacCubian.local.35228 > 86.121.88.79.26396: Flags [R.], seq 0, ack 2190604540, win 0, length 0
19:38:28.746858 IP 86.121.88.79.26314 > izacCubian.local.35228: UDP, length 30
19:38:28.747058 IP izacCubian.local > 86.121.88.79: ICMP izacCubian.local udp port 35228 unreachable, length 66
19:38:29.034315 IP 171.100.222.63.14628 > izacCubian.local.56187: UDP, length 98
19:38:29.034476 IP izacCubian.local > 171.100.222.63: ICMP izacCubian.local udp port 56187 unreachable, length 134
^C19:38:50.183444 IP 93.81.208.76.1024 > izacCubian.local.56187: UDP, length 97

32 packets captured
1123 packets received by filter
1061 packets dropped by kernel

izac
() автор топика
Ответ на: комментарий от izac

Добился такой штуки но пинги не проходят

tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 65535 bytes
01:11:07.851111 IP 173.194.70.84.https > izacCubian.local.55325: Flags [P.], seq 1102999339:1102999404, ack 3244090655, win 661, length 65
01:11:07.857668 IP izacCubian.local.40639 > 8.8.8.8.domain: 32462+ PTR? 84.70.194.173.in-addr.arpa. (44)
01:11:07.932383 IP 61.171.105.233.16001 > izacCubian.local.56187: UDP, length 101
01:11:08.009591 IP 87.230.55.32.https > izacCubian.local.54716: Flags [F.], seq 4147006888, ack 1949474261, win 252, length 0
01:11:08.010984 IP 173.194.39.75.https > izacCubian.local.55328: Flags [P.], seq 2440939339:2440939404, ack 3501127302, win 661, length 65
01:11:08.380126 IP 116.68.65.195.51413 > izacCubian.local.56187: UDP, length 101
01:11:08.551124 IP 119.97.183.186.20106 > izacCubian.local.56187: UDP, length 101
01:11:08.685105 IP 105.202.41.14.21898 > izacCubian.local.56187: UDP, length 103
01:11:08.885820 IP 128.72.190.158.34826 > izacCubian.local.56187: UDP, length 103
01:11:08.915144 IP 128.69.101.249.36334 > izacCubian.local.56187: UDP, length 101
01:11:09.082221 IP 195.182.194.138.20700 > izacCubian.local.56187: UDP, length 106
01:11:09.607173 IP 173.194.70.84.https > izacCubian.local.55325: Flags [P.], seq 0:65, ack 1, win 661, length 65
01:11:09.696053 IP 173.194.39.75.https > izacCubian.local.55328: Flags [P.], seq 0:65, ack 1, win 661, length 65
01:11:10.436742 IP 5.0.192.48.53220 > izacCubian.local.57086: UDP, length 52
01:11:10.448216 IP izacCubian.local.56913 > 8.8.8.8.domain: 38721+ A? 0.debian.pool.ntp.org.foobr. (45)
01:11:10.448273 IP izacCubian.local.56913 > 8.8.8.8.domain: 698+ AAAA? 0.debian.pool.ntp.org.foobr. (45)
01:11:10.527682 IP 94.245.121.251.3544 > izacCubian.local.57086: UDP, length 56
01:11:10.707068 IP 119.188.50.145.20906 > izacCubian.local.56187: UDP, length 101
01:11:10.938252 IP izacCubian.local.46759 > 8.8.8.8.domain: 38896+ A? 3.asia.pool.ntp.org.foobr. (43)
01:11:10.938311 IP izacCubian.local.46759 > 8.8.8.8.domain: 12783+ AAAA? 3.asia.pool.ntp.org.foobr. (43)
01:11:11.000950 IP 65.55.223.42.40010 > izacCubian.local.54988: Flags [P.], seq 3489576690:3489576693, ack 371440346, win 83, length 3
01:11:11.041331 IP 75.87.132.192.44010 > izacCubian.local.57187: UDP, length 103
01:11:11.230845 IP 74.125.143.147.https > izacCubian.local.55265: Flags [P.], seq 596390425:596390490, ack 1598219611, win 661, length 65
01:11:11.709711 IP 128.69.240.221.13401 > izacCubian.local.56187: UDP, length 98
01:11:12.167634 IP 94.245.121.251.3544 > izacCubian.local.57086: UDP, length 56
01:11:12.868290 IP izacCubian.local.40639 > 8.8.8.8.domain: 32462+ PTR? 84.70.194.173.in-addr.arpa. (44)
01:11:13.064945 IP 173.194.39.75.https > izacCubian.local.55328: Flags [P.], seq 0:65, ack 1, win 661, length 65
01:11:13.119178 IP 173.194.70.84.https > izacCubian.local.55325: Flags [P.], seq 0:65, ack 1, win 661, length 65
01:11:13.792152 IP 108.160.163.109.http > izacCubian.local.55427: Flags [F.], seq 3937596195, ack 1704226874, win 15544, length 0
01:11:14.049145 IP 46.118.109.226.12062 > izacCubian.local.56187: UDP, length 103
01:11:14.159203 IP 94.245.121.251.3544 > izacCubian.local.57086: UDP, length 56
01:11:32.911206 IP izacCubian.local.39267 > 8.8.8.8.domain: 42010+ PTR? 8.8.8.8.in-addr.arpa. (38)
01:11:47.951703 IP izacCubian.local.36231 > 8.8.8.8.domain: 45168+ PTR? 233.105.171.61.in-addr.arpa. (45)
01:12:03.002768 IP izacCubian.local.52655 > 8.8.8.8.domain: 64857+ PTR? 32.55.230.87.in-addr.arpa. (43)
01:12:18.063943 IP izacCubian.local.53109 > 8.8.8.8.domain: 14949+ PTR? 75.39.194.173.in-addr.arpa. (44)
01:12:33.125055 IP izacCubian.local.60865 > 8.8.8.8.domain: 12364+ PTR? 195.65.68.116.in-addr.arpa. (44)
01:12:48.176121 IP izacCubian.local.55187 > 8.8.8.8.domain: 41227+ PTR? 186.183.97.119.in-addr.arpa. (45)
01:13:03.207264 IP izacCubian.local.58757 > 8.8.8.8.domain: 46913+ PTR? 14.41.202.105.in-addr.arpa. (44)
01:13:18.238374 IP izacCubian.local.59508 > 8.8.8.8.domain: 20430+ PTR? 158.190.72.128.in-addr.arpa. (45)
01:13:33.269492 IP izacCubian.local.35429 > 8.8.8.8.domain: 32495+ PTR? 249.101.69.128.in-addr.arpa. (45)
01:13:48.300636 IP izacCubian.local.48946 > 8.8.8.8.domain: 19913+ PTR? 138.194.182.195.in-addr.arpa. (46)
01:14:03.351819 IP izacCubian.local.44824 > 8.8.8.8.domain: 4304+ PTR? 48.192.0.5.in-addr.arpa. (41)
01:14:03.504094 IP 175.136.106.137.16002 > izacCubian.local.56187: UDP, length 101
01:14:03.508805 IP 217.20.152.228.xmpp-client > izacCubian.local.56230: Flags [P.], seq 2986041587:2986041800, ack 1816776636, win 52, length 213
01:14:18.402964 IP izacCubian.local.52192 > 8.8.8.8.domain: 37663+ PTR? 251.121.245.94.in-addr.arpa. (45)
01:14:18.938978 IP 151.46.13.124.10255 > izacCubian.local.56187: UDP, length 103
01:14:18.972190 IP 175.136.106.137.16002 > izacCubian.local.56187: UDP, length 101
01:14:33.464146 IP izacCubian.local.54415 > 8.8.8.8.domain: 9101+ PTR? 145.50.188.119.in-addr.arpa. (45)
01:14:48.525180 IP izacCubian.local.60738 > 8.8.8.8.domain: 4632+ PTR? 42.223.55.65.in-addr.arpa. (43)

izac
() автор топика
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.