[sllug-members]: Temporary Move

Doran L. Barton fozz at xmission.com
Fri Jul 13 11:44:19 MDT 2007


Hi Eric!

(Eric and I were roommates in college for a time.)

Not long ago, Eric Huber proclaimed...
> I'm hoping this has a pretty straight forward solution, but since I
> haven't done it before, I'm looking for some direction and appreciate any
> advice.
> 
> Background: I currently run a home network with a FC3 server with two NICs
> - one to my DSL modem (static IP with Xmission - IP Subnet: 4) and the
> other to my internal network (10.0.0.1).  I am selling my home (closing
> next week) and temporarily moving in with my parents until my new home has
> finished construction.  They are on Comcast for everything (Phone, TV,
> Internet) and my plan was to connect to their network while we are there. 
> They do NOT get a static IP from Comcast.
> 
> How to make it happen: I would like to still have access to everything on
> my internal network (access to internal interface - 10.0.0.1) while I'm
> there - I run a DNS server and have various tools that I use on a daily
> basis.  I don't need server services from the outside world (although it
> would be nice), but would like to still access the internet through the
> external interface (through my parents cable router).  What changes in
> config are required to make this happen?

Well, first of all, upgrade your box from FC3. :)

Next, you should be fine doing DHCP on your external interface. If your
parents have a router that is doing network address translation and DHCP,
you can put your box behind that. This will put you behind two NATs which
may cause some problems, but probably won't affect web surfing, e-mail,
etc. 

If they don't have a router or if they're willing to forego their router,
you can connect your Linux box directly to the cable modem and let your
parents connect to the LAN behind your Linux box. 

Either way, you're going to want to configure your Linux box to get its IP
information for the external interface via DHCP. If the external interface
is eth1, edit /etc/sysconfig/network-scripts/ifcfg-eth1 and make it look
like this:

    DEVICE=eth1
    BOOTPROTO=dhcp
    ONBOOT=yes
    TYPE=Ethernet

Comcast does offer static IPs if you're willing to pay another $5/mo or so
for it, apparently. That being said, if you have a device connected to
their cable modem all the time (i.e. the MAC doesn't change), you're likely
to keep the IP they assign to your device for a good long time. To be safe,
however, there are several good HOWTOs on setting up dynamic DNS provider
services with Linux so that your Linux box automagically updates your DNS
record if and when there's a change.

Good luck and congrats on the new house.

-- 
Doran L. Barton <fozz at xmission.com> - Linux, Perl, Web, good fun, and more!
 "Do not iron clothes on body."
    -- Seen on packaging for a clothes iron
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://sllug.org/pipermail/sllug-members/attachments/20070713/95da3e0c/attachment.pgp


More information about the sllug-members mailing list