[Klug-general] newbie networking questions

David Halliday david.halliday at gmail.com
Fri Oct 8 11:37:53 UTC 2010


Most routers allow you to assign an IP to a MAC address.

So everything on the laptop/desktop level works the same (over DHCP) but you
tell the router which IP to give to each device.

Either that or you can set up your own internal DNS server.

On 8 October 2010 12:31, James Morris <jwm.art.net at gmail.com> wrote:

> Hi,
>
> I've just started to look into networking between a laptop connected
> wirelessly to a BT Home Hub, and a desktop PC connected wirelessly to
> the same hub.
>
> Both running Debian, and the desktop has NFS and SSH daemons running.
>
> The router assigns IP addresses via DHCP so I'm guessing that the IP
> addresses could change depending on the order the machines are
> switched on/connected to the internet (the laptop does not connect
> automatically).
>
> Does this mean I must turn DHCP IP address assigning off in the router
> and choose two permanent addresses?
> (so I can specify the address of the laptop int the desktops
> /etc/hosts.allow file)
>
> Basically, I want to make it easy for my partner to use NFS to access
> data on my desktop from her laptop. While I know how to get the IP
> addresses of both, she does not, so I want to write a bash script
> which will mount the NFS partitions, and then perhaps show her how to
> ssh to my PC as well using something like:
>
> ssh user at mydesktop.home
>
> I need a few pointers as to which information I should look into as
> it's a bit bewildering to begin with and I know you all are pretty
> good with networking ;-)
>
> Cheers,
> James.
>
> _______________________________________________
> Kent mailing list
> Kent at mailman.lug.org.uk
> https://mailman.lug.org.uk/mailman/listinfo/kent
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.lug.org.uk/pipermail/kent/attachments/20101008/b28b1fa5/attachment.htm>


More information about the Kent mailing list