Just read your mail. I will have to take some time, to look into what you
have
said, as I have not yet used the concepts that you spoke about.

Another solution would be to install a new network card into both computers
and assign static ip addresses to them, but I do not want to do that.

Daniel



On Fri, Sep 13, 2013 at 3:06 AM, Kurt Buff <kurt.b...@gmail.com> wrote:

> On Thu, Sep 12, 2013 at 11:51 AM, Adam Vande More <amvandem...@gmail.com>
> wrote:
> > On Thu, Sep 12, 2013 at 1:45 PM, Daniel Nang <daniel.nan...@gmail.com
> >wrote:
> >
> >> Hello,
> >>
> >> I have two computers, both running FreeBSD, accessing the
> >> web via DHCP from the router. The setup looks like this:
> >>
> >>
> >>                                        Internet
> >>                                             |
> >>                                             |
> >>                                             |
> >> machine1.example.com --- Router --- machine.2.example.com
> >>          - DHCP -                                            - DHCP -
> >>
> >>
> >> Both computers can access the internet with no problems.
> >> So far so good...
> >>
> >> My question is, if I can simultaneously have the computers access
> >> the net as in the given picture and also let them communicate with
> >> each other e.g. via ssh?
> >>
> >
> >
> > machine1# ssh `ip of machine2`
>
>
> There's the rub. How do you determine the IP address of the other machine?
>
> DHCP, unless configured with reservations, doesn't guarantee IP
> addresses to remain the with machines that request addresses.
>
> So, there are two ways to solve this problem:
>
> o- As I mention above, use reservations in DHCP to tie IP addresses to
> MAC addresses - this is a fairly manual process, and doesn't scale
> beyond a few machines..
>
> o- Use a DNS/DHCP solution whereby DNS is dynamically updated with an
> IP address by the DHCP server when a machine leases an IP address to a
> machine. This requires some work up front, but then takes care of
> itself, so scales fairly well.
>
> Kurt
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscr...@freebsd.org"
>
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to