Tabela de roteamento do bizzare do Mac Server

1

Geralmente, minha tabela de roteamento do mac é muito simples.

Eu sei que é baseado em bsd, mas o que está fazendo ou tentando fazer.

Minha tabela de roteamento é geralmente muito simples

no entanto, o segundo, o padrão foi apontar para link5?

Isso é normal, ou é essa loucura IPV6 no trabalho?

Alguém pode me ajudar a entender o que o OSX / BSD está fazendo?

    nternet:
Destination        Gateway            Flags        Refs      Use   Netif Expire
default            192.168.1.254      UGSc           22        0     en1
127                127.0.0.1          UCS             0        0     lo0
127.0.0.1          127.0.0.1          UH              4    44102     lo0
169.254            link#5             UCS             0        0     en1
192.168.1          link#5             UCS             6        0     en1
192.168.1.1        0:18:39:6d:89:c5   UHLWIi          0        0     en1    739
192.168.1.189      50:ea:d6:86:26:91  UHLWIi          0        0     en1    798
192.168.1.194      127.0.0.1          UHS             0        0     lo0
192.168.1.203      5c:95:ae:dd:34:8d  UHLWIi          0        0     en1    316
192.168.1.253      a:76:ff:b5:51:79   UHLWIi          0        0     en1    911
192.168.1.254      8:76:ff:b5:51:79   UHLWIi         32      204     en1   1117
192.168.1.255      ff:ff:ff:ff:ff:ff  UHLWbI          0        7     en1

Internet6:
Destination                             Gateway                         Flags         Netif Expire
::1                                     link#1                          UHL             lo0
fe80::%lo0/64                           fe80::1%lo0                     UcI             lo0
fe80::1%lo0                             link#1                          UHLI            lo0
fe80::%en1/64                           link#5                          UCI             en1
fe80::21b:63ff:fec7:c486%en1            0:1b:63:c7:c4:86                UHLI            lo0
fe80::223:12ff:fe01:d7fe%en1            0:23:12:1:d7:fe                 UHLWIi          en1
ff01::%lo0/32                           fe80::1%lo0                     UmCI            lo0
ff01::%en1/32                           link#5                          UmCI            en1
ff02::%lo0/32                           fe80::1%lo0                     UmCI            lo0
ff02::%en1/32                           link#5                          UmCI            en1


-----------------------------------

Bizzare routing table here


Internet:
Destination        Gateway            Flags        Refs      Use   Netif Expire
default            link#5             UCS           113        0     en1
17.72.255.12       0:50:7f:5e:92:e2   UHLWIi          2        7     en1   1156
64.4.23.141        0:50:7f:5e:92:e2   UHLWIi          0        3     en1   1181
64.4.23.143        0:50:7f:5e:92:e2   UHLWIi          0        1     en1   1189
64.4.23.147        0:50:7f:5e:92:e2   UHLWIi          0        1     en1   1183
64.4.23.149        link#5             UHLWIi          0        1     en1
64.4.23.150        0:50:7f:5e:92:e2   UHLWIi          0       24     en1   1175
64.4.23.151        link#5             UHLWIi          0        1     en1
64.4.23.153        link#5             UHLWIi          0        1     en1
64.4.23.155        link#5             UHLWIi          0        1     en1
64.4.23.157        0:50:7f:5e:92:e2   UHLWIi          0        3     en1   1181
64.4.23.165        link#5             UHLWIi          0        2     en1
64.4.23.166        link#5             UHLWIi          0        1     en1
65.55.223.15       0:50:7f:5e:92:e2   UHLWIi          3       21     en1   1189
65.55.223.16       0:50:7f:5e:92:e2   UHLWIi          0        1     en1   1181
65.55.223.17       0:50:7f:5e:92:e2   UHLWIi          0        2     en1   1199
65.55.223.20       link#5             UHLWIi          0        1     en1
65.55.223.23       0:50:7f:5e:92:e2   UHLWIi          0        1     en1   1199
65.55.223.31       link#5             UHLWIi          0        1     en1
65.55.223.32       link#5             UHLWIi          0        1     en1
65.55.223.37       0:50:7f:5e:92:e2   UHLWIi          3       21     en1   1189
65.55.223.38       link#5             UHLWIi          0        1     en1
69.163.252.33      0:50:7f:5e:92:e2   UHLWIi          1        9     en1   1181
77.67.32.254       0:50:7f:5e:92:e2   UHLWIi          0        1     en1   1164
111.221.74.13      0:50:7f:5e:92:e2   UHLWIi          0       24     en1   1183
111.221.74.15      link#5             UHLWIi          0        1     en1
111.221.74.16      0:50:7f:5e:92:e2   UHLWIi          0        1     en1   1183
111.221.74.17      0:50:7f:5e:92:e2   UHLWIi          3       23     en1   1172
111.221.74.21      0:50:7f:5e:92:e2   UHLWIi          0        1     en1   1181
111.221.74.23      0:50:7f:5e:92:e2   UHLWIi          0        2     en1   1172
111.221.74.24      0:50:7f:5e:92:e2   UHLWIi          0        2     en1   1181
111.221.74.26      0:50:7f:5e:92:e2   UHLWIi          0        1     en1   1199
111.221.74.29      0:50:7f:5e:92:e2   UHLWIi          0        2     en1   1181
111.221.74.31      link#5             UHLWIi          0        1     en1
111.221.74.37      0:50:7f:5e:92:e2   UHLWIi          0        1     en1   1190
111.221.74.38      0:50:7f:5e:92:e2   UHLWIi          0        1     en1   1199
111.221.77.141     0:50:7f:5e:92:e2   UHLWIi          0        3     en1   1199
111.221.77.144     link#5             UHLWIi          0        1     en1
111.221.77.145     0:50:7f:5e:92:e2   UHLWIi          0        1     en1   1190
111.221.77.149     0:50:7f:5e:92:e2   UHLWIi          0        1     en1   1183
111.221.77.154     0:50:7f:5e:92:e2   UHLWIi          0        1     en1   1181
111.221.77.156     0:50:7f:5e:92:e2   UHLWIi          0        1     en1   1190
111.221.77.157     0:50:7f:5e:92:e2   UHLWIi          0        1     en1   1183
111.221.77.162     link#5             UHLWIi          0        1     en1
111.221.77.165     link#5             UHLWIi          0        1     en1
127                127.0.0.1          UCS             0        0     lo0
127.0.0.1          127.0.0.1          UH              4    40073     lo0
157.55.56.140      0:50:7f:5e:92:e2   UHLWIi          0        1     en1   1199
157.55.56.141      0:50:7f:5e:92:e2   UHLWIi          0        1     en1   1181
157.55.56.143      link#5             UHLWIi          0        1     en1
157.55.56.147      0:50:7f:5e:92:e2   UHLWIi          0        1     en1   1183
157.55.56.148      0:50:7f:5e:92:e2   UHLWIi          0        1     en1   1183
157.55.56.149      0:50:7f:5e:92:e2   UHLWIi          0        1     en1   1189
157.55.56.150      link#5             UHLWIi          0        1     en1
157.55.56.157      0:50:7f:5e:92:e2   UHLWIi          0        1     en1   1172
157.55.56.158      0:50:7f:5e:92:e2   UHLWIi          0        1     en1   1175
157.55.130.143     link#5             UHLWIi          0        1     en1
157.55.130.144     link#5             UHLWIi          0        1     en1
157.55.130.145     0:50:7f:5e:92:e2   UHLWIi          0       24     en1   1181
157.55.130.152     0:50:7f:5e:92:e2   UHLWIi          0        2     en1   1199
157.55.130.153     0:50:7f:5e:92:e2   UHLWIi          0        1     en1   1172
157.55.130.155     0:50:7f:5e:92:e2   UHLWIi          0        2     en1   1189
157.55.130.156     0:50:7f:5e:92:e2   UHLWIi          0        1     en1   1186
157.55.130.157     0:50:7f:5e:92:e2   UHLWIi          0        1     en1   1189
157.55.130.158     0:50:7f:5e:92:e2   UHLWIi          0        3     en1   1172
157.55.130.160     0:50:7f:5e:92:e2   UHLWIi          0        1     en1   1189
157.55.130.162     0:50:7f:5e:92:e2   UHLWIi          3       21     en1   1193
157.55.130.166     link#5             UHLWIi          0        1     en1
157.55.235.141     0:50:7f:5e:92:e2   UHLWIi          0        1     en1   1193
157.55.235.142     link#5             UHLWIi          1        1     en1
157.55.235.144     0:50:7f:5e:92:e2   UHLWIi          0        2     en1   1172
157.55.235.145     0:50:7f:5e:92:e2   UHLWIi          0        2     en1   1172
157.55.235.149     0:50:7f:5e:92:e2   UHLWIi          0        1     en1   1181
157.55.235.151     link#5             UHRLWIi         0       36     en1
157.55.235.152     0:50:7f:5e:92:e2   UHLWIi          3       21     en1   1189
157.55.235.153     0:50:7f:5e:92:e2   UHLWIi          0        1     en1   1178
157.55.235.156     link#5             UHLWIi          0        2     en1
157.55.235.157     0:50:7f:5e:92:e2   UHLWIi          0        1     en1   1181
157.55.235.158     link#5             UHLWIi          0        1     en1
157.55.235.159     0:50:7f:5e:92:e2   UHLWIi          0        1     en1   1181
157.55.235.162     0:50:7f:5e:92:e2   UHLWIi          0        1     en1   1183
157.55.235.166     0:50:7f:5e:92:e2   UHLWIi          0       25     en1   1181
157.56.52.14       0:50:7f:5e:92:e2   UHLWIi          0        1     en1   1181
157.56.52.15       0:50:7f:5e:92:e2   UHLWIi          0        2     en1   1183
157.56.52.16       link#5             UHLWIi          0        1     en1
157.56.52.17       0:50:7f:5e:92:e2   UHLWIi          3       14     en1   1199
157.56.52.19       link#5             UHLWIi          0        1     en1
157.56.52.20       0:50:7f:5e:92:e2   UHLWIi          3       17     en1   1199
157.56.52.22       0:50:7f:5e:92:e2   UHLWIi          0       24     en1   1181
157.56.52.25       link#5             UHLWIi          0        1     en1
157.56.52.28       link#5             UHLWIi          0        1     en1
157.56.52.29       link#5             UHLWIi          0        1     en1
157.56.52.31       link#5             UHLWIi          0        1     en1
157.56.52.33       0:50:7f:5e:92:e2   UHLWIi          0        1     en1   1189
169.254            link#5             UC              1        0     en1
169.254.174.250    127.0.0.1          UHS             1        0     lo0
169.254.255.255    ff:ff:ff:ff:ff:ff  UHLWb           0        2     en1
193.88.6.19        link#5             UHLWIi          0        1     en1
194.165.188.82     0:50:7f:5e:92:e2   UHLWIi          0        1     en1   1166
195.46.253.211     link#5             UHLWIi          0        1     en1
204.9.163.143      0:50:7f:5e:92:e2   UHLWIi          0        1     en1   1178
213.199.179.141    0:50:7f:5e:92:e2   UHLWIi          0        2     en1   1172
213.199.179.142    0:50:7f:5e:92:e2   UHLWIi          0        1     en1   1165
213.199.179.143    0:50:7f:5e:92:e2   UHLWIi          0        1     en1   1166
213.199.179.146    0:50:7f:5e:92:e2   UHLWIi          0        1     en1   1172
213.199.179.147    0:50:7f:5e:92:e2   UHLWIi          0        2     en1   1164
213.199.179.148    0:50:7f:5e:92:e2   UHLWIi          0        1     en1   1165
213.199.179.149    0:50:7f:5e:92:e2   UHLWIi          0        1     en1   1172
213.199.179.150    0:50:7f:5e:92:e2   UHLWIi          0        1     en1   1165
213.199.179.151    0:50:7f:5e:92:e2   UHLWIi          0        1     en1   1164
213.199.179.153    0:50:7f:5e:92:e2   UHLWIi          0        1     en1   1166
213.199.179.157    0:50:7f:5e:92:e2   UHLWIi          0        2     en1   1167
213.199.179.160    0:50:7f:5e:92:e2   UHLWIi          0        1     en1   1165
213.199.179.161    0:50:7f:5e:92:e2   UHLWIi          0        1     en1   1172
213.199.179.162    0:50:7f:5e:92:e2   UHLWIi          0        2     en1   1163
213.199.179.165    0:50:7f:5e:92:e2   UHLWIi          0        1     en1   1164
213.199.179.166    0:50:7f:5e:92:e2   UHLWIi          0        3     en1   1164
224.0.0.251        1:0:5e:0:0:fc      UHmLWI          0        0     en1
255.255.255.255    ff:ff:ff:ff:ff:ff  UHLWbI          0        2     en1

Internet6:
Destination                             Gateway                         Flags         Netif Expire
::1                                     link#1                          UHL             lo0
fe80::%lo0/64                           fe80::1%lo0                     UcI             lo0
fe80::1%lo0                             link#1                          UHLI            lo0
fe80::%en1/64                           link#5                          UCI             en1
fe80::21b:63ff:fec7:c486%en1            0:1b:63:c7:c4:87                UHLI            lo0
fe80::223:12ff:fe01:d7fe%en1            0:23:12:1:d7:ff                 UHLWIi          en1
ff01::%lo0/32                           fe80::1%lo0                     UmCI            lo0
ff01::%en1/32                           link#5                          UmCI            en1
ff02::%lo0/32                           fe80::1%lo0                     UmCI            lo0
ff02::%en1/32                           link#5                          UmCI            en1
    
por The Unix Janitor 13.09.2012 / 15:34

1 resposta

6

Eu acho que você está procurando no lugar errado. Verifique as configurações básicas de rede no painel Preferências de rede, em Preferências do sistema, antes de consultar as tabelas de roteamento não processadas. Tenho certeza que o que você verá é que sua porta en1 tem um endereço IP auto-atribuído de 169.254.174.250, e nenhum endereço de roteador. A interface do usuário nem sempre indica explicitamente que está no modo auto-atribuído, mas o prefixo 169.254 no endereço é uma indicação inoperante. O que isto significa é que o DHCP falhou, o seu servidor não foi atribuído a um endereço IP correto, então ele fez um backup (auto-atribuído), e uma vez que não tem uma maneira de criar um endereço de roteador, ele está no link- modo local sem roteador e sem ideia de como sair da rede local.

A razão pela qual a tabela de roteamento parece tão estranha é que, como não tem roteador configurado, ela tenta acessar tudo na rede local (ou seja, envia solicitações ARP para cada endereço IP que ele tenta alcançar). Algo na rede local (algo com o endereço MAC 0: 50: 7f: 5e: 92: e2) está respondendo a essas solicitações ARP; é provavelmente um roteador fazendo uma variedade de proxies ARP. Como netstat -r no OS X exibe a tabela ARP como parte da tabela de roteamento, você está vendo entradas ARP para cada endereço IP que seu servidor tentou acessar.

Primeira solução: descubra o que há de errado com o DHCP e corrija-o.

Segunda solução: o que um servidor está fazendo no DHCP? Os servidores devem quase sempre ser configurados estaticamente, então atribua a ele um endereço estático (no painel de preferências de Rede, não com ifconfig).

    
por 14.09.2012 / 19:51