I have two computers connected together directly with a patch cable.
ifconfig command reveals: "Computer A" INET=10.0.0.1 NETMASK=ffffff00 BROADCAST=10.0.0.255 and "Computer B" INET=10.0.0.2 NETMASK=0xffffff80 (<--not a typo) BROADCAST=10.0.0.127 (<--not a typo)
The subnet masks don't match, but I can still successfully ping one from the other. I'm confused about this. Is this a bug in FreeBSD?
The rc.conf on "Computer A": ifconfig_ue0="inet 10.0.0.1 netmask 255.255.255.0"
The rc.conf on "Computer B": ifconfig_ue0="inet 10.0.0.2 netmask 255.255.255.1"
I deliberately changed "Computer B" netmask to an "invalid" one to see what would happen. I didn't know something this strange would happen. Any ideas? Thanks!
ifconfig command reveals: "Computer A" INET=10.0.0.1 NETMASK=ffffff00 BROADCAST=10.0.0.255 and "Computer B" INET=10.0.0.2 NETMASK=0xffffff80 (<--not a typo) BROADCAST=10.0.0.127 (<--not a typo)
The subnet masks don't match, but I can still successfully ping one from the other. I'm confused about this. Is this a bug in FreeBSD?
The rc.conf on "Computer A": ifconfig_ue0="inet 10.0.0.1 netmask 255.255.255.0"
The rc.conf on "Computer B": ifconfig_ue0="inet 10.0.0.2 netmask 255.255.255.1"
I deliberately changed "Computer B" netmask to an "invalid" one to see what would happen. I didn't know something this strange would happen. Any ideas? Thanks!