ifconfig_em0="inet 192.168.5.100 netmask 255.0.0.0"
defaultrouter="192.168.5.1"
hostname="SOMETHING"
sshd_enable="yes"
mysql_enable="YES"
firewall_enable="YES"
firewall_type="/etc/rc.firewallt.rules"
firewall_quiet="YES"# -- sysinstall generated deltas -- # Sun May 29 00:56:13 2011
keymap="pt.iso"
This can't be correct. RFC-1918 says this range is only a /16 and most people use it as a /24.Ricky said:Here is my rc.conf:
Code:ifconfig_em0="inet 192.168.5.100 netmask 255.0.0.0"
bbzz said:Sure you can, mask is irrelevant.
bbzz said:What settings?
You mean with that private IP address?
bbzz said:then APRing for "local" IP adress on ethernet will surely fail.
SirDice said:NAT (or private IP ranges for that matter) has nothing to do with this. It's a simple routing issue and a rookie networking mistake.
DutchDaemon said:192.0.0.0-192.167.255.255 and 192.169.0.0-192.255.255.255 are all very public, non-private, non-RFC1918, IP addresses, all 16,711,680 of them. Having 192.0.0.0-192.255.255.255 on your LAN because of a 255.0.0.0 netmask will force all traffic to them back to the LAN, not through NAT to the Internet. I'll write that on a wall so SirDice can bang his head against it some more![]()