Rod Upfold wrote:
> Let say...you have a home network system...linux..Win95 - going to a Linux
> server. Each network card has it's own IP address. So the internal network
> is up and running. A modem works in the server and you phone the
> provider...to get on the internet they give you an address. (geeeish...I
> hoped I explained that right....forgive nme if it isn't)
>
> My question: Does the IP addresses that you have on your home network
> interfere with the providers IP address that they have given you while
> going to the internet through them....if it does...is there a way around
> it?
>
> Thank you
>
> Rod
>
> **********************************************************
Your IP addresses will not interfere with the providers IP numbers at all. Of
course, you know that you just can't pick numbers out of the thin air and use
them. You are of course using the numbers from the block that were assigned
to you by either 1.) Your ISP, 2) the internic (nic.ddn.mil or internic.net),
or 3.) ARIN.
You will have to make sure that IP forwarding is enabled in your kernal
compile and that you set up the proper routing through that machine with the
commands "ifconfig" and "route". If everything is fine, then you need to add
those commands to some startup file like /etc//rc.d/rc.local.
Make sure that you do not set a default gatway on the machine connecting to
the ISP though, as the PPP or SLIP server will assign that as well as an IP
number to your ppp0 device upon connection and authentication. Remember, this
will be the default route only for that machine. The other machines will use
the one connected to the ISP as their default route and since you have
enabled IP forwarding on that machine, packets will flow from your network
to the Internet and vice versa seamlessly. Don't forget to set up a route to
your network behind the machine connected to the ISP though - again, this is
not a default route, but rather, a route to that specific network.
all is fine, reboot machines and you're a happy camper!
Bradley.