Re: [FUG-BR] Dois endereços na mesma rede e problema com NAT no FreeBSD

Ari Arantes ariarantes em gmail.com
Sex Nov 4 09:41:18 BRST 2005


> >
> Cola um "netstat-rn" do S2 e S3.
>

Seguem as rotas dos servidores:

S1:
route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
200.200.200.0    0.0.0.0         255.255.255.192 U     0      0        0 eth0
192.168.0.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
169.254.0.0     0.0.0.0         255.255.0.0     U     0      0        0 eth0
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
0.0.0.0         200.200.200.1    0.0.0.0         UG    0      0        0 eth0
0.0.0.0         200.200.200.1    0.0.0.0         UG    1      0        0 eth0


S2:
# netstat -rn
Routing tables

Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
default            200.200.200.1       UGSc        3  1996689   sis0
127.0.0.1          127.0.0.1          UH          0     4787    lo0
192.168.0          link#1             UC          2        0   sis0
192.168.0.2        00:0e:a6:4a:e6:18  UHLW        0  1613216   sis0    846
192.168.0.255      ff:ff:ff:ff:ff:ff  UHLWb       2     1813   sis0
200.200.200/26      link#1             UC         14        0   sis0
200.200.200.1       00:e0:7d:eb:b6:88  UHLW        3        0   sis0   1195
200.200.200.5       00:0c:6e:8d:30:cb  UHLW        0      528   sis0   1180
200.200.200.6       00:0e:a6:65:70:44  UHLW        1 27969078   sis0   1110
200.200.200.7       00:00:00:00:00:10  UHLW        1    26637   sis0    874
200.200.200.10      00:0c:6e:8d:30:72  UHLW        0        0   sis0   1190
200.200.200.22      00:0c:6e:8d:30:72  UHLW        0        8   sis0   1185
200.200.200.39      00:11:2f:c5:ca:56  UHLW        0        2   sis0    233
200.200.200.40      00:e0:7d:d5:41:db  UHLW        0      218   sis0    867
200.200.200.55      00:0a:e6:47:74:00  UHLW        0       26   sis0    986
200.200.200.56      00:e0:18:e3:c8:fc  UHLW        1      162   sis0   1199
200.200.200.57      00:0e:a6:4a:e6:18  UHLW        2    89120   sis0    997
200.200.200.58      00:e0:7d:a4:97:ec  UHLW        1     1876   sis0   1199
200.200.200.59      00:07:95:5e:e4:b1  UHLW        0       26   sis0    909
200.200.200.63      ff:ff:ff:ff:ff:ff  UHLWb       1     7857   sis0

Internet6:
Destination                       Gateway                       Flags
   Netif Expire
::1                               ::1                           UH          lo0
fe80::%sis0/64                    link#1                        UC         sis0
fe80::2e0:6ff:feff:d37b%sis0      00:e0:06:ff:d3:7b             UHL         lo0
fe80::%lo0/64                     fe80::1%lo0                   Uc          lo0
fe80::1%lo0                       link#4                        UHL         lo0
ff01::/32                         ::1                           U           lo0
ff02::%sis0/32                    link#1                        UC         sis0
ff02::%lo0/32                     ::1                           UC          lo0

S3:
# netstat -rn
Routing tables

Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
default            192.168.0.1        UGS         0    61289    vr0
127.0.0.1          127.0.0.1          UH          0       48    lo0
192.168.0          link#1             UC          0        0    vr0
192.168.0.1        00:0c:6e:8d:30:cb  UHLW        1       83    vr0   1170
192.168.0.254      00:e0:06:ff:d3:7b  UHLW        0        0    vr0   1170

Internet6:
Destination                       Gateway                       Flags
   Netif Expire
::1                               ::1                           UH          lo0
fe80::%vr0/64                     link#1                        UC          vr0
fe80::214:2aff:fe1e:da7f%vr0      00:14:2a:1e:da:7f             UHL         lo0
fe80::%lo0/64                     fe80::1%lo0                   U           lo0
fe80::1%lo0                       link#3                        UHL         lo0
ff01::/32                         ::1                           U           lo0
ff02::%vr0/32                     link#1                        UC          vr0
ff02::%lo0/32                     ::1                           UC          lo0


S4:
# netstat -rn
Routing tables

Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
default            192.168.0.254      UGS         0   142979    vr0
127.0.0.1          127.0.0.1          UH          0       48    lo0
192.168.0          link#1             UC          0        0    vr0
192.168.0.254      00:e0:06:ff:d3:7b  UHLW        1        0    vr0   1190

Internet6:
Destination                       Gateway                       Flags
   Netif Expire
::1                               ::1                           UH          lo0
fe80::%vr0/64                     link#1                        UC          vr0
fe80::214:2aff:fe2e:5346%vr0      00:14:2a:2e:53:46             UHL         lo0
fe80::%lo0/64                     fe80::1%lo0                   U           lo0
fe80::1%lo0                       link#3                        UHL         lo0
ff01::/32                         ::1                           U           lo0
ff02::%vr0/32                     link#1                        UC          vr0
ff02::%lo0/32                     ::1                           UC          lo0

[]s,

Ari

_______________________________________________
Freebsd mailing list
Freebsd em fug.com.br
http://mail.fug.com.br/mailman/listinfo/freebsd_fug.com.br




Mais detalhes sobre a lista de discussão freebsd