//
FreeBSD 13.0-RELEASE-p6
host A
-inet 192.168.8.2 re0 ethernet
-inet 192.168.8.3 re0.1 vlan 1
default Gateway 192.168.8.1
host B
-inet 192.168.8.1 re0 ethernet
default Gateway 192.168.1.1
netstat host A
$ netstat -rn
Routing tables
Internet:
Destination Gateway Flags Netif Expire
default 192.168.8.1 UGS re0
127.0.0.1 link#2 UH lo0
192.168.8.0/24 link#1 U re0
192.168.8.2 link#1 UHS lo0
192.168.8.3 link#3 UHS lo0
$ ifconfig
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=8209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE>
ether 1c:83:41:27:f5:b8
inet 192.168.8.2 netmask 0xffffff00 broadcast 192.168.8.255
media: Ethernet autoselect (1000baseT <full-duplex,master>)
status: active
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
inet 127.0.0.1 netmask 0xff000000
groups: lo
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
re0.1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=80003<RXCSUM,TXCSUM,LINKSTATE>
ether 1c:83:41:27:f5:b8
inet 192.168.8.3 netmask 0xffffff00 broadcast 192.168.8.255
groups: vlan
vlan: 1 vlanproto: 802.1q vlanpcp: 0 parent interface: re0
media: Ethernet autoselect (1000baseT <full-duplex,master>)
status: active
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
$ sudo sysctl net | grep fibs
net.fibs: 1
net.add_addr_allfibs: 0
Ping Local
$ ping 192.168.8.3
PING 192.168.8.3 (192.168.8.3): 56 data bytes
64 bytes from 192.168.8.3: icmp_seq=0 ttl=64 time=0.069 ms
64 bytes from 192.168.8.3: icmp_seq=1 ttl=64 time=0.272 ms
64 bytes from 192.168.8.3: icmp_seq=2 ttl=64 time=0.287 ms
netstat host B
]$ netstat -rn
Routing tables
Internet:
Destination Gateway Flags Netif Expire
default 192.168.1.1 UGS wlan0
127.0.0.1 link#2 UH lo0
192.168.8.0/24 link#1 U re0
192.168.8.1 link#1 UHS lo0
$ ifconfig
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=8209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE>
ether 00:01:2e:38:2d:50
inet 192.168.8.1 netmask 0xffffff00 broadcast 192.168.8.255
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
inet 127.0.0.1 netmask 0xff000000
groups: lo
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
$ sudo sysctl net | grep fibs
net.fibs: 1
net.add_addr_allfibs: 0
Ping host B to host A
$ ping 192.168.8.2
PING 192.168.8.2 (192.168.8.2): 56 data bytes
64 bytes from 192.168.8.2: icmp_seq=0 ttl=64 time=0.316 ms
64 bytes from 192.168.8.2: icmp_seq=1 ttl=64 time=0.518 ms
64 bytes from 192.168.8.2: icmp_seq=2 ttl=64 time=0.429 ms
Ping host B to host A
$ ping 192.168.8.3
PING 192.168.8.3 (192.168.8.3): 56 data bytes
ping: sendto: Host is down
ping: sendto: Host is down
ping: sendto: Host is down
ping: sendto: Host is down
ping: sendto: Host is down
Bonjour
Je ne comprends pas pourquoi je n'arrive pas à fire un ping sur l'adresse 192.168.8.3 du host B vers le host A
Si je fais un ping à l'adresse 192.168.8.3 sur le host A le ping fonctionne mais pas depuis le host B
Pouvez-vous me donner une solution à ma difficulté Merci Didier
Hello
I don't understand why I can't ping the address 192.168.8.3 from host B to host A
If I ping 192.168.8.3 on host A the ping works but not from host B
Can you give me a solution to my difficulty Thank you Didier
FreeBSD 13.0-RELEASE-p6
host A
-inet 192.168.8.2 re0 ethernet
-inet 192.168.8.3 re0.1 vlan 1
default Gateway 192.168.8.1
host B
-inet 192.168.8.1 re0 ethernet
default Gateway 192.168.1.1
netstat host A
$ netstat -rn
Routing tables
Internet:
Destination Gateway Flags Netif Expire
default 192.168.8.1 UGS re0
127.0.0.1 link#2 UH lo0
192.168.8.0/24 link#1 U re0
192.168.8.2 link#1 UHS lo0
192.168.8.3 link#3 UHS lo0
$ ifconfig
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=8209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE>
ether 1c:83:41:27:f5:b8
inet 192.168.8.2 netmask 0xffffff00 broadcast 192.168.8.255
media: Ethernet autoselect (1000baseT <full-duplex,master>)
status: active
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
inet 127.0.0.1 netmask 0xff000000
groups: lo
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
re0.1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=80003<RXCSUM,TXCSUM,LINKSTATE>
ether 1c:83:41:27:f5:b8
inet 192.168.8.3 netmask 0xffffff00 broadcast 192.168.8.255
groups: vlan
vlan: 1 vlanproto: 802.1q vlanpcp: 0 parent interface: re0
media: Ethernet autoselect (1000baseT <full-duplex,master>)
status: active
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
$ sudo sysctl net | grep fibs
net.fibs: 1
net.add_addr_allfibs: 0
Ping Local
$ ping 192.168.8.3
PING 192.168.8.3 (192.168.8.3): 56 data bytes
64 bytes from 192.168.8.3: icmp_seq=0 ttl=64 time=0.069 ms
64 bytes from 192.168.8.3: icmp_seq=1 ttl=64 time=0.272 ms
64 bytes from 192.168.8.3: icmp_seq=2 ttl=64 time=0.287 ms
netstat host B
]$ netstat -rn
Routing tables
Internet:
Destination Gateway Flags Netif Expire
default 192.168.1.1 UGS wlan0
127.0.0.1 link#2 UH lo0
192.168.8.0/24 link#1 U re0
192.168.8.1 link#1 UHS lo0
$ ifconfig
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=8209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE>
ether 00:01:2e:38:2d:50
inet 192.168.8.1 netmask 0xffffff00 broadcast 192.168.8.255
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
inet 127.0.0.1 netmask 0xff000000
groups: lo
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
$ sudo sysctl net | grep fibs
net.fibs: 1
net.add_addr_allfibs: 0
Ping host B to host A
$ ping 192.168.8.2
PING 192.168.8.2 (192.168.8.2): 56 data bytes
64 bytes from 192.168.8.2: icmp_seq=0 ttl=64 time=0.316 ms
64 bytes from 192.168.8.2: icmp_seq=1 ttl=64 time=0.518 ms
64 bytes from 192.168.8.2: icmp_seq=2 ttl=64 time=0.429 ms
Ping host B to host A
$ ping 192.168.8.3
PING 192.168.8.3 (192.168.8.3): 56 data bytes
ping: sendto: Host is down
ping: sendto: Host is down
ping: sendto: Host is down
ping: sendto: Host is down
ping: sendto: Host is down
Bonjour
Je ne comprends pas pourquoi je n'arrive pas à fire un ping sur l'adresse 192.168.8.3 du host B vers le host A
Si je fais un ping à l'adresse 192.168.8.3 sur le host A le ping fonctionne mais pas depuis le host B
Pouvez-vous me donner une solution à ma difficulté Merci Didier
Hello
I don't understand why I can't ping the address 192.168.8.3 from host B to host A
If I ping 192.168.8.3 on host A the ping works but not from host B
Can you give me a solution to my difficulty Thank you Didier