Hey Folks!
I fear I might be a little green for most of the discussion here, but I was hoping that someone might be able to make some suggestions to help me with my networking configuration.
I can ping/ssh into my FreeBSD server/jails using their IP, but I cannot using their hostnames.
I think the issue might have something to do with how I configured a static IP using rc.conf instead of using DHCP. My default gateway just my regular consumer router, but I'm not allowing dynamic IPs to be assigned within a certain range which I keep for select computers on my home network (but I leave DHCP for visitors). Is there any way that I might be able to send hostnames to my router so that hostnames are resolvable from other computers?
I tried adding
to my dhclient.conf but I don't believe that I'm using dhclient() if I'm not using DHCP. I could be pretty wrong here though.
Alternatively, would it be a cleaner solution to try configuring a static IP with dhclient() to play nicer with my router? Or maybe have the router point to the BSD machine as a nameserver? It's pretty old (2.8ghz no hyperthreading 256mb ram). Right now I'm just using it as a git repo, and orchestrating a handful of cron() jobs for other computers.
Sorry if this question isn't very focused, I guess I'm looking for a good direction to work in. Thank you so much.
I fear I might be a little green for most of the discussion here, but I was hoping that someone might be able to make some suggestions to help me with my networking configuration.
I can ping/ssh into my FreeBSD server/jails using their IP, but I cannot using their hostnames.
I think the issue might have something to do with how I configured a static IP using rc.conf instead of using DHCP. My default gateway just my regular consumer router, but I'm not allowing dynamic IPs to be assigned within a certain range which I keep for select computers on my home network (but I leave DHCP for visitors). Is there any way that I might be able to send hostnames to my router so that hostnames are resolvable from other computers?
Code:
#/etc/rc.conf
#-----------------
hostname="leebo"
defaultrouter="192.168.1.1"
ifconfig_rl0="inet 192.168.1.201/24"
sshd_enable="YES"
I tried adding
Code:
send host-name "leebo";
Alternatively, would it be a cleaner solution to try configuring a static IP with dhclient() to play nicer with my router? Or maybe have the router point to the BSD machine as a nameserver? It's pretty old (2.8ghz no hyperthreading 256mb ram). Right now I'm just using it as a git repo, and orchestrating a handful of cron() jobs for other computers.
Sorry if this question isn't very focused, I guess I'm looking for a good direction to work in. Thank you so much.