Setting up LAN: no route to host
Nerius Landys
nlandys at gmail.com
Sun Aug 9 00:38:40 UTC 2009
I'm trying to set up a LAN that is isolated from the internet, and I
don't know what to put in /etc/rc.conf for certain variables. I'm
running FreeBSD 7.1 with the latest patches.
So far my /etc/rc.conf file has the following lines:
defaultrouter="192.168.0.1" # I would like to leave this blank, but I
put something here anyways.
hostname="speedy.i"
ifconfig_fxp0="inet 192.168.0.254 network 255.255.255.0"
ifconfig_fxp0="up"
My /etc/hosts includes this line:
192.168.0.254 speedy.i speedy
Now when I am logged in to this machine and I "ping 192.168.0.254", I get:
ping: sendto: No route to host
I'm just trying to set up a LAN between a few computers, and actually,
I don't know what to put in the "defaultrouter" field in /etc/rc.conf.
I've tried leaving it blank, but that didn't help.
By the way I will probably be having more questions about configuring
a home router, so please bear with me.
More information about the freebsd-questions
mailing list